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

Re: Newbie needs help...


  • Subject: Re: Newbie needs help...
  • From: Steve Savery <email@hidden>
  • Date: Fri, 29 Nov 2002 14:05:58 +0000

Darren

Is the PDF file located directly inside the disk 'NeATTC'? If not, you'll need to be more specific with your selection (e.g. select file "abc.pdf" of folder "My Stuff" of disk "My Disk"). Also, why not just open file blah rather than selecting it first then opening the selection?

Steve

On Thursday, November 28, 2002, at 01:36 pm, Darren Shrager wrote:

I'm getting the following error when running a compiled script (saved as an application):

Could not run the script "AppleRunScript RUN" because of a program error. -1344

The script is as follows:

tell application "Finder"
activate
select file "ChangeBook-spanish.pdf" of disk "NeATTC"
open selection
end tell

Can anyone tell me what is wrong?

TIA!
Darren
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Newbie needs help... (From: Darren Shrager <email@hidden>)

  • Prev by Date: Re: Setting STR# resource entries via AS
  • Next by Date: Re: Detecting if text is styled
  • Previous by thread: Newbie needs help...
  • Next by thread: Re: Set creator code of a package don't work - yes it does
  • Index(es):
    • Date
    • Thread