From newsgroups.mail2@stefanbaur.de Wed Sep 26 20:07:42 2012 Received: (at submit) by bugs.x2go.org; 26 Sep 2012 18:07:42 +0000 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by ymir (Postfix) with ESMTP id 872305DA6B for ; Wed, 26 Sep 2012 20:07:42 +0200 (CEST) Received: from [192.168.3.3] (HSI-KBW-134-3-205-207.hsi14.kabel-badenwuerttemberg.de [134.3.205.207]) 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 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 Subject: x2goclient lacks AppleScript scripting support on Mac OS X Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:dW1PwTg1t22KPCBWv4JgjTyVsDdri4qqwN744TXllLt wQvA4okkgAaz2mSSVsj8uVSxl8KVgJH+iRiTVUujhKccGeJXyI QSFFIJDZ+Vx0GkOApM8m6rByN/ApW5FZ7DSBAqfE+Uy2+5rs7J muUi3Ao6OB0SIe2pjQc18vTkBlIpnMnlEiwZ+QOQdQC9t1yjES Zufpj7Jwfq619jASeVnQvZIkqcFKl5zdwF7bPjzjEMP26Jf414 9x7o8/xQNGpJOtNlA1Tdx8SbF7gYWTi1MG4PaCfCi5u3wF2YdH eWyVUgLWac7JjScp7C5S9HFObdieTdeHD5BtbIidIzuW0hIfi0 BRPl7KfRFwS+vMjg02M3/6IZfoKux1KxfOueV6Mpg 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 From mike.gabriel@das-netzwerkteam.de Fri Feb 28 12:58:40 2014 Received: (at control) by bugs.x2go.org; 28 Feb 2014 11:58:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,MISSING_SUBJECT, URIBL_BLOCKED autolearn=no version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id F410E5DB16 for ; Fri, 28 Feb 2014 12:58:39 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B378A1EC65 for ; Fri, 28 Feb 2014 12:58:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 9BC323BD70 for ; Fri, 28 Feb 2014 12:58:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V4bfrPd40TkO for ; Fri, 28 Feb 2014 12:58:39 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 6B0903BA7D for ; Fri, 28 Feb 2014 12:58:39 +0100 (CET) Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Fri, 28 Feb 2014 11:58:39 +0000 Date: Fri, 28 Feb 2014 11:58:39 +0000 Message-ID: <20140228115839.Horde.o16c5I463ASZS1JZvVRDPw1@mail.das-netzwerkteam.de> From: Mike Gabriel To: control@bugs.x2go.org User-Agent: Internet Messaging Program (IMP) H5 (6.1.4) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 134.245.254.47 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0 Content-Type: multipart/signed; boundary="=_1x5B1GxWpSdfQegT9SRLAw1"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_1x5B1GxWpSdfQegT9SRLAw1 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes Content-Disposition: inline reassign #342 x2goclient reassign #343 x2goclient tag #138 patch tag #440 patch tag #157 build-macosx tag #208 build-macosx tag #252 build-macosx tag #317 build-win32 tag #389 patch tag #395 build-macosx tag #413 patch merge #413 #389 tag #421 build-win32 tag #422 build-win32 tag #425 build-win32 tag #195 build-win32 tag #39 build-macosx tag #234 build-macosx tag #236 build-macosx tag #297 build-win32 tag #387 build-macosx thanks -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb --=_1x5B1GxWpSdfQegT9SRLAw1 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJTEHnvAAoJEJr0azAldxsxhkYP/RmxFlj1v4R7n4HoBg/NprvM 51MdPkGeee/jbP/cL3vsyGP1oYWsUAjfpBxaM8AipFSjFNtmf06KJ0o9qO82UknC zSuz5NGYwLCW05uTXOHGqA/XX/F/jR5c86T28oPfZPumePY2TuQX9Y4VhXAjESX8 WjXT3rMmAh4iDZ8Rfm1mLzWZbMTijLrBhA9mUGCNkgQ9so2Z+ZzYe2NIlsR5gi0i ONa0bbtMDLmmUV5ig3aevmXwbb542+b/spf2cRnr+mj7eW6EuXw022VRwoxlSgml 0YD4f7fNhiU7vIXhHPZ2xVnYR3EykMOY2o9rORtWqkaAsTdQDDDdTHanO5Kiym1y vBBrE2SJsQTkTgXoLenmnNpROwLDkzFbcnIxzNwbC2XiN3a9J+U9nL7yLY4X/XPi fuZlAUNIHl1HhlEmrhxtHoAlM6OYD1PzV6o5OGnB1Rcp6AqrDLUbzXHDNUREs7vx cACvCafvUiolghBnBhzDHmvv37ULjvKBhU0knxk9FaK7p8xHghhBdsI684Zxc20y /gzWS+XvwGQ8Sim32kdf/U0CcPte2sUQOWb3agD7lWSZunFtm03P8IE9QIbVfIut 5YLkINTQJR30fpWuyBN9MHfqcF+C722QkBd3KbkgMWl+SMM0+fx0SghETlAg0Fba rCFSqbkqZbpxZpD1dJ1f =+3Ji -----END PGP SIGNATURE----- --=_1x5B1GxWpSdfQegT9SRLAw1--