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

Full log

🔗 View this message in rfc822 format

X-Loop: git-admin@x2go.org
Subject: Bug#39: x2goclient lacks AppleScript scripting support on Mac OS X
Reply-To: Stefan Baur <newsgroups.mail2@stefanbaur.de>, 39@bugs.x2go.org
Resent-From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Wed, 26 Sep 2012 18:18:02 +0000
Resent-Message-ID: <handler.39.B.13486828628033@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: report 39
X-X2Go-PR-Package: x2goclient
Received: via spool by submit@bugs.x2go.org id=B.13486828628033
          (code B); Wed, 26 Sep 2012 18:18:02 +0000
Received: (at submit) by bugs.x2go.org; 26 Sep 2012 18:07:42 +0000
Received: from moutng.kundenserver.de (moutng.kundenserver.de [])
	by ymir (Postfix) with ESMTP id 872305DA6B
	for <submit@bugs.x2go.org>; Wed, 26 Sep 2012 20:07:42 +0200 (CEST)
Received: from [] (HSI-KBW-134-3-205-207.hsi14.kabel-badenwuerttemberg.de [])
	by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis)
	id 0Lkioe-1TrMle17xc-00aZk2; Wed, 26 Sep 2012 20:07:42 +0200
Message-ID: <5063445D.5050501@stefanbaur.de>
Date: Wed, 26 Sep 2012 20:07:25 +0200
From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:dW1PwTg1t22KPCBWv4JgjTyVsDdri4qqwN744TXllLt
Package: x2goclient
Severity: minor

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


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

fails, while

tell application "x2goclient"
        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: 
(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.


Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon Jun 24 13:32:11 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.