• 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
Handlers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handlers


  • Subject: Handlers
  • From: Robert Poland <email@hidden>
  • Date: Sat, 28 Apr 2001 07:17:25 -0400

As usual when the big Handler discussion was going on I didn't have a
use for it - now I have a problem. When the handler is called it acts
as if it isn't, it just goes on by. I have looked in "The TAO of
ASpplescript", "Applescript Handbook" and on the web. I think I'm
doing as the examples seem to show.

Example, in part;

tell application "Finder"
if not (folder "name of disk" of disk "Ram Disk" exists) then
My creatIt --or just creatIt
end if

on creatIt ()
beep 4
-- create file
end createIt

TIA,
--
-
Bob Poland
email@hidden
Check out my garage sale http://www.ibrb.org/


  • Follow-Ups:
    • Re: Handlers
      • From: Paul Berkowitz <email@hidden>
    • Re: Handlers
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Getting a string on the clipboard in OE
  • Next by Date: Re: Handlers
  • Previous by thread: Re: Getting a string on the clipboard in OE
  • Next by thread: Re: Handlers
  • Index(es):
    • Date
    • Thread