|
|||
|
Oops, didn't see the link to the file in that other thread.... will try it out now....
G. For example, I wish to create a shortcut to a SWFKit exe: // Create new shortcut shortcut = new Shortcut(TESTDIRECTORY + "\\TEST.lnk"); // Path to shortcut including command line parameters shortcut.targetPath = "TEST.exe + PARAMETERS"; // Other stuff.... shortcut.description = "TEST"; shortcut.windowStyle = 9; shortcut.save(); Then when they double-click the shortcut, have the exe read the PARAMETERS and act accordingly? I read: http://www.swfkit.com/forum/index.ph...=msg173#msg173 Could I possibly get the cmdline object? Cheers, G. |
|
|||
|
We've developed a command line ActiveX object. And in SWFKit 2, you can get the command line like this
Application.cmdLine (Don't try it in SWFKit 1.1, it will cause error in preview mode, it doesn't work with the UI of SWFKit 1) |
|
|||
|
Sweet.
Thanks nionio, I can see what I'm passing to the application now ;D After parsing the command line string and looking for the parameters, I can make my application behave differently. Cheers, G. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|