RE: script will error when nothing in a watched folder
RE: script will error when nothing in a watched folder
- Subject: RE: script will error when nothing in a watched folder
- From: "Goodman, Steve" <email@hidden>
- Date: Wed, 7 Mar 2001 11:55:33 -0600
>
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.
You can try this:
If "your list var" does not equal {} then
tell application "Acrobat 4.0"
activate
open theFile as alias
end tell
end if
Steve Goodman
Vertis - THE LTC GROUP
......."Duct tape is like the force, it has a light side and a dark side and
it holds the universe together."------Unknown