Jump to content
Malaya

Changing the run option of a .ink file

Recommended Posts

Malaya

I want to change the run option from maximized to normal Windows of a short cut (.ink) file.

Please help.

 

Share this post


Link to post
Share on other sites
Subz

Just to expand on Bilgus post:

Local $sFilePath = "<Path to Shortcut.lnk>"
Local $aDetails = FileGetShortcut($sFilePath)
FileCreateShortcut($aDetails[0], $sFilePath, $aDetails[1], $aDetails[2], $aDetails[3], $aDetails[4], "", $aDetails[5], @SW_SHOWMAXIMIZED)

 

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

×