PDA

View Full Version : mel error


octophon
02-09-2009, 01:55 PM
hi folks
i`m totally new to mel & i`m trying to run through some tutorials, my problem is,
i am trying to execute photoshop from the script editor so i can make a button on my custom shelf, i have followed the intructions & played around with the code but no joy so far can any one explain why i am getting this error & what is the solution ?.

system {"start C:/Program Files/Adobe/Adobe Photoshop CS3/photoshop.exe"};

the error i get is:

system {"start C:/Program Files/Adobe/Adobe Photoshop CS3/photoshop.exe"};
// Error: Invalid call to "system". Check number and types of arguments expected by the procedure. //

thanks.

bazuka
02-09-2009, 02:45 PM
try like this :)

system("start C:/Program Files/Adobe/Adobe Photoshop CS3/photoshop.exe");

octophon
02-09-2009, 04:59 PM
try like this :)

system("start C:/Program Files/Adobe/Adobe Photoshop CS3/photoshop.exe");

thanks, worked a treat :)

CGTalk Moderation
02-09-2009, 04:59 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.