Jump to content

Can shortcut arguments be passed to a script?

Recommended Posts


Does anybody know if it is possible to pass arguments (set in a shortcut) to a script which can work with it?

I've searched all related functions and the forum but could not find any solution for it.

Here an example. I have two shortcuts, created with another script:

   FileCreateShortcut("Script.au3", "Shortcut One", "", 1, "", "")
   FileCreateShortcut("Script.au3", "Shortcut Two", "", 2, "", "")

Both will open the same script, Script.au3, but the argument is different.

The Script has to 'read' this argument for further processing.

Thanks guys,




Edited by Audrey

Share this post

Link to post
Share on other sites

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