Jump to content
Sign in to follow this  

More Shortcut Properties

Recommended Posts


I'm trying to be able to get Shortcut properties into my script.

I've tried several things.

FileGetShortcut, which returns a lot but not all the items you would see by right clicking on a shortcut and selecting 'properties'

ShellExecute, with the 'properties' verb. Which I could not even get to work. Bug? Documentation?

and also just simply creating the object and using the ".InvokeVerb("P&roperties")", then using controlgettext to get the text. But with that I don't want to actually see the dialog, so I've used WinSetTrans, but even with this there's a second when you see the dialog flash up on the screen (I've also tried lowering the winwaitdelay)...

Attached is a screen capture which I have circled the information I'm talking about.

I want to be able to get this information no matter if they are regular shortcuts or advertised shortcuts.

Anyone know of a way to do this so that I don't have to actually open any dialogs??




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
Sign in to follow this