Page 1 of 1

Auto load of downloaded source

Posted: Wed May 21, 2003 5:48 pm
by doc6502
Hi All

Perhaps this has been covered in a previous post, but I can't find anything in the archives.

I have a Perl script that creates an FTP script that transfers source from a server (in this case, an AS/400) to my PC.

What I'd like to do is to configure TextPad so:

1. While TP is running, run a macro that will allow me to pass parameters to my Perl script of the location of the file I want to transfer.

2. The script runs, and the file is transferred to the PC.

3. Textpad automatically loads the transferred source.

I can get 1 and 2, but I can't figure out how to do 3. Would I have to record some sort of keystroke macro to do a File-> Open? If so, how do I get the name of the text file into the Open File dialog?

Any help would be greatly appreciated.

Thanks!

-Doc

Posted: Fri May 23, 2003 2:25 pm
by helios
Unfortunately, number three on your list is not possible with TextPad at the moment, but you can always add a request for this to be implemented, on the Forum Enhancements section.

Helios Software Solutions.

Posted: Fri May 23, 2003 4:03 pm
by MudGuard
3. Your perl script can run textpad with the downloaded file after it has run the ftp script.

If you set "Allow multiple instances" to false, you get the file in your original Textpad...