LC #42 Pipers Alley

View Full Version : excute file automately when button pressed

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

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

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

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

CGTalk Moderation
03-21-2009, 03: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.