• 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: applescript-users digest, Vol 2 #1450 - 13 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: applescript-users digest, Vol 2 #1450 - 13 msgs


  • Subject: RE: applescript-users digest, Vol 2 #1450 - 13 msgs
  • From: Olof Hellman <email@hidden>
  • Date: Wed, 2 Jan 2002 13:52:00 -0800

> I'm getting an error "Finder got an error: Can't continue
> Truncate" when
> trying to call a procedure from within another procedure.
> I've tried placing
> the command within Finder, Script Editor, and other application tell
> statements and the same error keeps coming up. Any ideas?


you want to use the keyword 'my' to indicate that the command is to be
directed to the script itself, not an application:

to truncate()
.....
end truncate

tell app "Finder"
....
my truncate()
....
end tell

- Olof


  • Prev by Date: Re: AppleScript and Email clients
  • Next by Date: Re: AppleScript and Email clients
  • Previous by thread: Kernel Panic running script that launches Classic
  • Next by thread: New files in a loop
  • Index(es):
    • Date
    • Thread