[AS & AW] class of selection
[AS & AW] class of selection
- Subject: [AS & AW] class of selection
- From: yvan-koenig <email@hidden>
- Date: Wed, 29 Dec 2004 18:09:07 +0100
Hello all of you
Here is my first post in this list (certainly not the last one).
Trying to help a friend, I wrote these instructions:
tell application "AppleWorks 6"
activate
(*
try
name of document 1
on error
error msg2 number 8002
end try
*)
-- …
set verif to ""
try
set verif to (class of selection) as text
end try
-- …
end tell -- to AppleWorks
If the running OS is higher than Mac OS 9.1, it works well, setting
verif as an empty string if the selected object is a frame which has
never been moved (or named).
If the running OS is 9.1, verif is ALWAYS the empty string.
Is it normal or am'I making something wrong?
Thanks
Yvan KOENIG (from FRANCE 29 décembre 2004 18:06:32)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden