truevis
2009-05-27, 04:55 PM
It is actually easier (for the most part *) to automate with AHK scripts in 2010 because now more commands are accessible through the keyboard.
E.g., what once was the “Show” button, is now “Highlight in Model” which can be accessed through the keyboard instead of only being clicked on. In 2009, I had to do tricks with AHK finding the button via an image then mouse-clicking on it, now it's just done with Send commands:
Send, {ALTDOWN}
Sleep, 400
Send, PT
Sleep, 300
Send, HM{ALTUP}
* In Revit 2010, Orient to a Plane... has been moved to under Wheelie so that would be a challenge to automate -- before, it was simply in the menus.
E.g., what once was the “Show” button, is now “Highlight in Model” which can be accessed through the keyboard instead of only being clicked on. In 2009, I had to do tricks with AHK finding the button via an image then mouse-clicking on it, now it's just done with Send commands:
Send, {ALTDOWN}
Sleep, 400
Send, PT
Sleep, 300
Send, HM{ALTUP}
* In Revit 2010, Orient to a Plane... has been moved to under Wheelie so that would be a challenge to automate -- before, it was simply in the menus.