Malaya Posted March 23, 2018 Share Posted March 23, 2018 I want to change the run option from maximized to normal Windows of a short cut (.ink) file. Please help. Link to comment Share on other sites More sharing options...
Bilgus Posted March 23, 2018 Share Posted March 23, 2018 https://www.autoitscript.com/autoit3/docs/functions/FileCreateShortcut.htm I took the example from the helpfile and added this FileCreateShortcut($aDetails[0], $sFilePath, $aDetails[1], $aDetails[2], $aDetails[3], $aDetails[4], "", $aDetails[5], @SW_SHOWMAXIMIZED) Link to comment Share on other sites More sharing options...
Subz Posted March 23, 2018 Share Posted March 23, 2018 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now