Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command: [Alt] + F in macro area?

3 REPLIES 3
Reply
Message 1 of 4
scot-65
1285 Views, 3 Replies

Command: [Alt] + F in macro area?

Our copy of R2013 does not support the Screen Menu.   😞

There are no other dockable windows that will display text-only (sans

command line), and provide access to sub-menus and toggles (menucmd)

similar to the hidden POP menu (menubar). What is not visible cannot

be seen, therefore one does not know it exists. Is this the software's

attempt to discourage custom user friendly functionality of the editor?

What part of "everyone to be on the same page" do they not understand?

 

Q: Is there a way to expand a specific POP menu by way of a command?

For example, press the windows key (between the Ctrl and Alt keys) or

while in the editor, push the following sequence: [Alt] F.

 

1) Create a command in the CUI.

2) Add something in the macro area to expand a specific &POP.

3) Drag and drop into the Shortcut Keys area.

4) Assign the key "F1" to this command.

 

Can anyone help with step #2 above?

 

I am researching the possibilities of converting our screen menu, which

consists of 20 main pages with at least 70 sub-menus, into something else.

Don't even think of replying tool palettes or design center (re-read first paragraph).

 

Scot-65

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


3 REPLIES 3
Message 2 of 4
pbejse
in reply to: scot-65

Dont know if this would help

 

http://forums.autodesk.com/t5/AutoCAD-2012/Screen-Menu-in-2012/td-p/2966492/page/3

 

still using 2009 and havent use screen menu for a long time that i cant verify if the link is appropriate or not .

 

HTH

 

 

Message 3 of 4
scot-65
in reply to: pbejse

pbejse,

 

Thank you very much for the heads-up. This helped.

I do not venture far from the editors I have worked - your referenced thread is in R2012.

 

I did manage to turn on the Screen Menu for R2013:

command: REDEFINE SCREENMENU

command: SCREENMENU 1

(setvar "MENUCTL" 0)

 

Then, open CUI, highlight the workspace you wish to use, and you will see a setting to

have the screen menu On, in the lower-right pane. From there the screen menu stayed

on when reopening AutoCAD. Woo-hoo... (the screen menu line was not there before

the redefine).

 

Next issue - diesel expressions are no longer working in the screen menu.

I may have a naming conflict with one of AutoCAD's screen menu names, not sure.

I have used "MyMenu" as an enterprise with no problems before.

 

Code now has to be "hard-pathed" to the enterprise menu.

$S=PLAN does work in a POP, but not in the screen menu.

A solution to this problem would be to transfer the enterprise items into the main,

which defeats the purpose of having a partial menu in the first place (who wudda thunk).

 

$S=MyMenu.PLAN now works. This lends itself to problems when renaming menus.

 

(menucmd "S=PLAN") did not work on the command line. It could be due to the conflict.

 

Next issue - Only the first 26 screen menu lines are "Hot". Anything beyond line 26 is dead.

SCREENBOXES is a Dunsel item. Need to look into registry to see if a new key has been

added that is causing this issue. If not there, look inside the CUI using a XML editor. I sure

hope this switch is visible, but buried inside somewhere in the file/registry system.

 

Need to investigate if the screen menu grows by 2 (pixels) every time the editor is closed.

I discovered this problem back in R14 and I know R2009 still has this very same problem.

 

I will edit this message when I get more information.

 

Scot-65


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Message 4 of 4
scot-65
in reply to: scot-65

It looks like I cannot edit the message.

 

In all places except the POP area, the menucmd statement has to be "hard pathed" to the enterprise.

 

>>(menucmd "S=PLAN") did not work on the command line.

 

(menucmd "S=MyMenu.PLAN") does work in both the screen area and on command line.

 

If I am going to transfer the enterprise into the main, there are two options to get this back to working:

 - Strip out all the prefixes. "S=MyMenu.PLAN" will now become "S=PLAN".

 - Rename the main's menu group name. "ACAD" will now be named "MyMenu".

Note that if there are more than one enterprise to merge, and you want to use menucmd,

the first option is the only option available.

 

 

I did find an answer to the original post:

(menucmd "Pn=*") where "n" is the POP number assigned at runtime.

But this does not work since the number of POP's varies from station to

station, and I do not know which POP is assigned to which Alias at runtime:

(menucmd "MyMenu.PLAN=*") does not work, neither does (menucmd "PLAN=*").

 

Scot-65

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost