Re: Name of Active Process
Re: Name of Active Process
- Subject: Re: Name of Active Process
- From: Michelle Steiner <email@hidden>
- Date: Thu, 17 Jun 2004 13:51:49 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jun 17, 2004, at 12:49 PM, John Baltutis wrote:
>
or errors with when any alpha number greater than tenth is used in the
>
second example below: both running in script editor;
>
>
tell application "System Events" to get name of first process whose
>
frontmost is true
>
(where the event log shows it converted to: get name of process 1 whose
>
frontmost = true)
>
>
tell application "System Events" to get name of eleventh process whose
>
frontmost is true
>
->"Syntax Error-A class name can't go after this
>
identifier-highlighting
>
eleventh process" ?
Because applescript defines only "first" through "tenth." "eleventh"
is treated as a variable.
- -- Michelle
- --
Help, I've caught a cult, and can't get out!
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1
Comment: To you from me, courtesy of PGP
iQA/AwUBQNIEZUX3pGKCIlLEEQKzowCg5PsFZWVlUOPIK6ZlucBtmvrKm/UAni5n
ccXGdZzzdQllfsBqCzvM+dqs
=x/DK
-----END PGP SIGNATURE-----
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.