External Tools - Run on webserver?

General questions about using TextPad

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

Post Reply
joakim
Posts: 2
Joined: Fri Jan 17, 2014 11:26 am

External Tools - Run on webserver?

Post by joakim »

Hi,

Is it possible to make an external tool that sends the correct folder as argument?

Example- My web server root is C:\xampp\htdocs\ -- i want to run a PHP file that lies in

Code: Select all

C:\xampp\htdocs\test\test.php
Maybe two minutes later i want to run

Code: Select all

C:\xampp\htdocs\project\index.php
With my current setup i have to put all php files in C:\xampp\htdocs\
This is my current setup:
Image
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

I'm not sure what you mean by "correct folder".

From Help, go to Contents tab, Reference Information, Tool Parameter Macros

That will give you every available Macro you can pass to a tool.

If you need to do something more involved, then it sounds as though you need to write a script. I tend to work with .CMD files, pass in parameters, and send that to an AutoIt script where I can do whatever. However, you should be able to do it with JavaScript, VBScript, PowerShell, or any other scripting language you're familiar with.
(2[Bb]|[^2].|.[^Bb])

That is the question.
joakim
Posts: 2
Joined: Fri Jan 17, 2014 11:26 am

Post by joakim »

Thanks, i will see if i can write a script that i can use with External Tools that will open Firefox with the proper url.
Post Reply