X2Go Bug report logs - #39
x2goclient lacks AppleScript scripting support on Mac OS X

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Stefan Baur <newsgroups.mail2@stefanbaur.de>

Date: Wed, 26 Sep 2012 18:18:02 UTC

Severity: minor

Tags: build-macosx

Found in version 3.99.2.2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#39; Package x2goclient. (Wed, 26 Sep 2012 18:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 26 Sep 2012 18:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.x2go.org (full text, mbox):

From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
To: submit@bugs.x2go.org
Subject: x2goclient lacks AppleScript scripting support on Mac OS X
Date: Wed, 26 Sep 2012 20:07:25 +0200
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

Added tag(s) build-macosx. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Fri, 28 Feb 2014 12:00:01 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Dec 13 20:33:45 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.