• 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
script will error when nothing in a watched folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

script will error when nothing in a watched folder


  • Subject: script will error when nothing in a watched folder
  • From: Keith Bailey <email@hidden>
  • Date: Wed, 7 Mar 2001 10:14:47 -0600

the script I have written will...
take a PDF from a watched IN folder
open in Acrobat 4.0
print out a copy ( or copies )
and save to an OUT folder
it works fine until there is no file is in the IN folder.

it errors at:

tell application "Acrobat 4.0"
activate
open theFile as alias <----alias is the error highlighted
end tell

the error reads:

Can't make {} into a alias.

what should I do??
any help will be appreciated.

p.s.
Thanks for all the help in the past


  • Prev by Date: AppleScripter Salary?
  • Next by Date: Re: script will error when nothing in a watched folder
  • Previous by thread: Re: AppleScripter Salary?
  • Next by thread: Re: script will error when nothing in a watched folder
  • Index(es):
    • Date
    • Thread