From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 17:57:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57DB7106564A for ; Wed, 10 Nov 2010 17:57:22 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1A48FC0A for ; Wed, 10 Nov 2010 17:57:22 +0000 (UTC) Received: from 174-21-101-204.tukw.qwest.net ([174.21.101.204] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PGElv-00052H-Lr for freebsd-questions@freebsd.org; Wed, 10 Nov 2010 09:47:49 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 10 Nov 2010 09:57:17 -0800 Date: Wed, 10 Nov 2010 09:57:17 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20101110175717.GB23184@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <201011100009.oAA09mfG024502@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Tips for installing windows and freeBSD both.. anyone?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 17:57:22 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Michael Ross on Wednesday, 10 November 2010: > Am 10.11.2010, 01:09 Uhr, schrieb Robert Bonomi : >=20 > >With a GUI there is no way to describe the series of mouse =20 > >'motions'/'clicks'/ > >'double-clicks'/'drags' and keypresses required to perform an operation. > >'screen coordinates' are meaningless when a window, or icon, or button, = =20 > >may be > >'repositioned' at will. > > > >An _individual_ application may allow scripting via an internal command = =20 > >language, > >but since it is internal to the app, and *not* part of the GUI, it =20 > >doesn't > >'generalize' (no guarantee that similar capability is present in any =20 > >other app) > >*AND* is utterly worthless for 'automating' annything that involves more= =20 > >than > >the single app. >=20 > For Windows OSes there is actually a rather nice tool out there, >=20 > http://www.autoitscript.com/autoit3/ >=20 > which allows you to script the GUI cross-app. >=20 > Regards, >=20 > Michael >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" Yes, there are a number of tools that allow one to script a GUI, many of which do not require knowledge of exactly where Gui element is located. However, for automating repeated tasks (as distinguished from running automated tests of the GUI itself), scripting a GUI is the wrong way to do it. It's layering on an entirely unnecessary layer of abstraction (the UI), and then working around it. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJM2tz7AAoJEIpckszW26+RrHgH/iZ/FieSfWwB36XDTxSxFW4M gFMv+W3wnXDrCyfXIdTyLzEufflv1PTKSOiOpAigkkI58+H8hvYxQDUopmU5tfme DLgaAiqeb4aCLZ0bq7fFl9wxrQEa2d6UTkUBrc+n7VRLfjMbIS/cJ879ckfj2eYv QQi6ne/7vemcuisGB6mAPENfFxerOOnDbHpJ67DJ9ReuGWJXPWT7rq//FhmVLVU8 r09pMC/O3LcRTM0Yd7/HVUbRAizojhBBk+nbXrEF31JY5/DPYuqTD8lxSy7a44EQ +urEtJEtZcfber47FURD6hxjeAyzKB5lLrD5Ey3fJQxwsDYV0tq9sEWAocI7gZc= =CJ2H -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv--