Page 1 of 1

External Tools - Run on webserver?

Posted: Wed Jan 22, 2014 8:28 pm
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

Posted: Thu Jan 23, 2014 12:35 am
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.

Posted: Thu Jan 23, 2014 9:29 am
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.