Package: x2goclient
Version: 3.99.2.2
Severity: minor

It is currently impossible to control x2goclient on Mac OS X using AppleScript, except for blindly sending keypress commands.

So,

tell application "x2goclient"
    activate
end tell
tell application "x2goclient"
    set miniaturized of window 1 to true
end tell

fails, while

tell application "x2goclient"
        activate
        tell app "system events"
                keystroke "h" using command down
        end tell
end tell

works *unless* x2goclient is currently busy (e.g. performing a login sequence), in which case the command is ignored.

A well-behaved app can be controlled like explained here: http://laclefyoshi.blogspot.de/2010/10/google-chrome-ver.html (drag and drop app icon on AppleScript editor icon; list of available properties shows up)

Trying this with x2goclient returns an error message that x2goclient is not scriptable.

-Stefan
_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to