Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 09:57:17 -0800
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Tips for installing windows and freeBSD both.. anyone??
Message-ID:  <20101110175717.GB23184@libertas.local.camdensoftware.com>
In-Reply-To: <op.vlxpejtrhalquq@n200>
References:  <201011100009.oAA09mfG024502@mail.r-bonomi.com> <op.vlxpejtrhalquq@n200>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bonomi@mail.r-bonomi.com=
>:
>=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101110175717.GB23184>