SRL Archive - News and General

Execute Application


sm0k3

2011-03-31 14:35:04

Can Simba load an exe if so can i include it in my SMARTchat plugin ..
when the plugin loads so does the app . i know a way to raise to admin rights via vbscript and Cscript.exe .. < you cant run ggzz's SMARTchat.exe on Vista / WIN7 without admin rights ..
well you can but i need admin rights for sps / simba .. and the button dosent appear in SMART unless SMARTchat.exe is admin rights aswell….. : )

Smartzkid

2011-03-31 15:00:04

OpenWebPage('Filename');

OpenWebPage is just a wrapper for ShellExecute.

If you need parameters, write a batch file and run it.

Brandon

2011-03-31 16:18:38

Hmm thats odd. When I compile it, I can run it on windows vista and 7 without admin rights :S

P.S. I got the find window to work.. It finds whatever script your running.. You enter the name of the script, and it attaches itself to smart and sendkeys to the script.

Dgby714

2011-03-31 17:09:16

From: Smartzkid
OpenWebPage('Filename');

OpenWebPage is just a wrapper for ShellExecute.

If you need parameters, write a batch file and run it.


Hmm looks like it is… wow ShellExecute only works on Windows (Win32 specifically) in Lazarus!

Ill write us up a new one if Wizzup wants.