PDA

View Full Version : excute file automately when button pressed


flyingaway
03-21-2009, 03:13 AM
uh, I want that when a button pressed , then excute a script file without open it
can any method do it?

ZeBoxx2
03-21-2009, 04:12 AM
rollout roll_test "test" (
button btn_test "test"
on btn_test pressed do ( fileIn "c:\somefolder\somefile.ms" )
)
createDialog roll_test

?
the main part (fileIn) would be similar for macroscripts (button on a toolbar/in menu/etc.)

flyingaway
03-21-2009, 04:13 PM
thanks very much ,ZeBoxx2
that's qiute what I need

CGTalk Moderation
03-21-2009, 04:13 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.