Auto load of downloaded source

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
doc6502
Posts: 5
Joined: Wed May 21, 2003 5:42 pm

Auto load of downloaded source

Post 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
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post 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.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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...
Post Reply