Jump to content

Name and Path of a shortcut


sstouk
 Share

Recommended Posts

I am currently building a small system that would use Windows shortcuts with parameters to start AutoIt compiled executable.

Is there a way from within the AutoIt to automatically get the path and the name of a shortcut, that started the compiled AutoIt script?

Any ideas how I could do it?

Thank You.

Link to comment
Share on other sites

I am currently building a small system that would use Windows shortcuts with parameters to start AutoIt compiled executable.

Is there a way from within the AutoIt to automatically get the path and the name of a shortcut, that started the compiled AutoIt script?

Any ideas how I could do it?

Thank You.

You could try looking at the @ScriptFullPath macro in the help file.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

You could try looking at the @ScriptFullPath macro in the help file.

actually i think that he's talking about how to send the name of the shortcut calling the executable. using shortcuts i'm not sure how you would do it, but you can make your own shortcuts with autoit that just use Run() to call the executable, passing @ScriptFullPath as a command line parameter...
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...