×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro not working

Macro not working

Macro not working

(OP)
I don't like having to right click on the top level item in the feature manager and click "collapse items."  I wrote a macro to do that and then assigned a hotkey to it.  When I run the macro, it doesn't do anything.  Anybody have any ideas why that wouldn't work?

RE: Macro not working

Have you opened the macro to see if the actions were actually recorded?  Macro recording doesn't capture everything.  This may need to be hand-coded.

Due to illness, the part of The Tick will be played by... The Tick.
http://www.EsoxRepublic.com

RE: Macro not working

THeTick is correct.  If you view the code for the macro you will see that your function was not captured.  Check out the API help files, I am sure there is a feature in there.  Also, keep in mind that if the macro did work the first time, chances are it wouldn't work again since the recorded macro would be specific to the particular part you had open at the time of recording the macro (check out the code and you will see what I mean).  Therefore, the long answer to your short question is it needs to be hand-coded.

RE: Macro not working

You don't have to click on the top level item ... a RMB click on any clear space in the FM will bring up the Collapse items option ... but make sure nothing is highlighted or selected in the FM.

from (the City of) Barrie, Ontario.

Support bacteria - they're the only culture some people have

RE: Macro not working

CorBlimeyLimey,
  That is way cool. I never knew that.
Thanks

Bradley

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources