Hi, is it possible to have a button in my app, which when pressed, will set the focus to a completely different app, then run a shortcut for that app?
Been years since I last used Xojo, and am completely rusty
Thanks in advance.
Hi, is it possible to have a button in my app, which when pressed, will set the focus to a completely different app, then run a shortcut for that app?
Been years since I last used Xojo, and am completely rusty
Thanks in advance.
Mac? Windows? Linux?
Such a feature is not built in.
Except maybe using folderitem.open which may bring the app to the front if it is running already on macOS.
Otherwise there is AppleScript, Declares and Plugins to help.
Latest macOS. The app in question will already be open, my app will be on a second monitor and used to run key shortcuts for the other app.
Thanks.
Check how to run AppleScript in the Xojo help.
You may just do something like
tell application "x" to activate
Thanks.