0

I'm using this script to check for incoming change on a specific app (in this exemple, an incoming case)

try
    tell application "System Events"
        tell process "My Internal App 01"
            set checkForCaseOpen to button 1 of scroll area 1 of group 1 of group 1 of group 1 of group 2 of splitter group 1 of window "My Internal App" of application process "My Internal App 01" of application "System Events"

        end tell
    end tell
on error
    --
end try

PS : I know I don't have to specify the windows and process twice but it work just fine and I don't have time to clear all the script for now)

Everything work fine as long that I'm on the same desktop, however if I run a another app in full screen then I have no result.

is there a way to have this working even if the main desktop/space is not focused? perhaps there is a way to specify which desktop/space within AppleScript?

You must log in to answer this question.

Browse other questions tagged .