• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[AS & AW] class of selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [AS & AW] class of selection
      • From: cheshirekat <email@hidden>
  • Prev by Date: weirdness with sorted datasource & call method editColumn on nstableview
  • Next by Date: Do shell script to dial a number (again) Missing enter input....
  • Previous by thread: weirdness with sorted datasource & call method editColumn on nstableview
  • Next by thread: Re: [AS & AW] class of selection
  • Index(es):
    • Date
    • Thread