Jump to content

Recommended Posts

Posted

Would it be possible to run an autoit program through command prompt and pass a variable to it?

For example (a youtube downloader):

-----------

c:\youtubedownloader.exe 380_BEA4nzE

-----------

...And it would set a certain variable to "380_BEA4nzE" (a Youtube video ID)? Then it would know to go and download that video to a pre-specified folder.

...I'm trying to make a web based Personal Youtube filter bypasser, and It would just be oh so much easier if I could have PHP return the Youtube Page's ID in a variable, then run shell_exec("YoutubeDownloader.au3 <video ID here>") and have the autoit script find the download link off of that page and download it automatically.

Sorry if this question sucks and/or I am an idiot.

Posted

Hi,

$cmdline[0]

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...