I have an external app that sends a XojoScript to the IDE to run through IDECommunicator. Once I’ve sent the script, and there are no reported errors, I want to bring the IDE to the front.
On the Mac, I did it this way:
#if TargetMacOS then
dim sh as new Shell
sh.Execute "osascript -e 'tell app id ""com.xojo.xojo"" to activate'"
#endif
Easy peasy. How do I do the same in Windows and Linux?
(This is an open-source project meant for developers, so practically anything goes.)
[quote=197651:@Kem Tekinay]I have an external app that sends a XojoScript to the IDE to run through IDECommunicator. Once I’ve sent the script, and there are no reported errors, I want to bring the IDE to the front.
On the Mac, I did it this way:
#if TargetMacOS then
dim sh as new Shell
sh.Execute "osascript -e 'tell app id ""com.xojo.xojo"" to activate'"
#endif
Easy peasy. How do I do the same in Windows and Linux?
(This is an open-source project meant for developers, so practically anything goes.)[/quote]