Jump to content

Recommended Posts

Posted

sorry about the long wait for reply... thanks i think that might work except how can i search the target path for -w like if it has that anywhere in it...

and thanks! about my theif heh... tooke me a while to make mainly cuz i had to cut it out(i didnt draw the arms and feet)

Posted

You can use StringInStr() for that.

Something like this should do it:

Local $Shortcut = FileGetShortcut('C:\Game.lnk')
If @Error Then
    MsgBox(0x10, '', 'Could not access shortcut file. Correct filename?')
Else
    If StringInStr($Shortcut[2], '-w') Then
        MsgBox(0x40, '', 'Shortcut invokes windowed mode.')
    Else
        MsgBox(0x40, '', 'Shortcut invokes fullscreen mode.')
    EndIf
EndIf

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