• 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
Re: Newbie FaceSpan/Applescript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie FaceSpan/Applescript question


  • Subject: Re: Newbie FaceSpan/Applescript question
  • From: "Arthur J Knapp" <email@hidden>
  • Date: Wed, 13 Dec 2000 16:27:55 -0500

> Date: Wed, 13 Dec 2000 14:36:49 -0500
> From: Chad Gray <email@hidden>
> Subject: Re: Newbie FaceSpan/Applescript question

> Im trying to make a button in Face Span that will run the Trim
> Characters from File Names script i download from apple.com.

> ... Can i nest On statements?
> that is the only thing i can think of...

No. Copy the "on set_file_name(... end set_file_name" part out
of the "on hilighted... end hilighted" part, then paste it to the
very top or the very bottom of the script window.

Handlers, ("on statements"), are all typed at "the same level" as
each other. You then "call" on the handlers where needed:

on doThis()
-- do stuff
end doThis

on doThat()
-- do stuff
end doThat

on doAll()
my doThis()
my doThat()
end doAll


--
{
Arthur J Knapp, of STELLARViSIONs ;

http://www.STELLARViSIONs.com ;

mailto:email@hidden ;

how many?
zero.
are you sure?
i counted twice.
}


  • Follow-Ups:
    • Re: Newbie FaceSpan/Applescript question
      • From: Ted Wood <email@hidden>
  • Prev by Date: Re: problem using Applescript with Excel
  • Next by Date: RE: Mount Volume
  • Previous by thread: Re: problem using Applescript with Excel
  • Next by thread: Re: Newbie FaceSpan/Applescript question
  • Index(es):
    • Date
    • Thread