sepulchre13 Posted December 4, 2013 Share Posted December 4, 2013 Can someone -please- help me with this, I've been trying to do it for hours with no joy. I want to find a way to automatically press "OK" in a dialog pop-up, but can't figure out how to script this. Basically I'm trying to batch export DWGs from separate VWX files. I'm constructing an automator workflow to point to the files, and then in vectorscript I can get it to "Export DXF/DWG" but then the dialog box pops up, which would require me to press enter every time. So I basically want a script that tells the dialog box that enter / OK has been pressed. I tried ItemSel / Command etc. but no luck. My current script (which opens up the dialog box) is: PROCEDURE menu_Expdwg; BEGIN DoMenuTextByName('Export DXFDWG' , 0 ); { HOW DO I PRESS OK HERE?;} END; Run(menu_Expdwg); I would then need to press enter again to confirm the save location, but guessing this would be the same script. Anyone that can please help me? Thanks. Quote Link to comment
Vectorworks, Inc Employee klinzey Posted December 4, 2013 Vectorworks, Inc Employee Share Posted December 4, 2013 There is not way to automatically press the OK button using Vectorscript. Also the new Publish command will allow you to batch export DXF/DWG. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.