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.
Calling external programs
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Calling external programs
Simply use the "Run code" action event and enter something like:
This allows you to bypass the PROGDIR: limitation of Designer!
Code: Select all
Execute("C:wget .....")
Re: Calling external programs
Thanks, works a treat!