Calling external programs
Posted: Mon May 23, 2011 9:38 pm
Hi all,
I've created some buttons in my project which I use to call several external programs, all are command line programs which I am passing arguments to e.g. wget. Problem is I want the programs to be called from C: rather than PRODIR:Programs/ so that the project can use the commands from the user's C: directory. Is it possible to stop Designer's default behaviour of copying the program to be used in the Programs drawer?
I can edit the script in CodeBench after working in Designer but wondering if there's a better solution I've missed?
Runing Designer 3.0 with Hollywood 4.8 on OS4.1
Thanks.
I've created some buttons in my project which I use to call several external programs, all are command line programs which I am passing arguments to e.g. wget. Problem is I want the programs to be called from C: rather than PRODIR:Programs/ so that the project can use the commands from the user's C: directory. Is it possible to stop Designer's default behaviour of copying the program to be used in the Programs drawer?
I can edit the script in CodeBench after working in Designer but wondering if there's a better solution I've missed?
Runing Designer 3.0 with Hollywood 4.8 on OS4.1
Thanks.