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

Error opening file


  • Subject: Error opening file
  • From: Christopher Coulon <email@hidden>
  • Date: Mon, 13 May 2002 12:22:47 -0700

I am having trouble discovering why I can't get this to work. When I
attempt to following script:

set macroName to "*rodentHeart.obj.2.04a"
set macroPath to "/GAIA/*Test Macros"
tell application "Finder"
select item macroName of macroPath
open selection
end tell

I get the following error at the 'select item macroName of macroPath' line:

Execution Error
Can't make "*rodentHeart.obj.2.04a" into a integer.

The macroName and macroPath refer to valid names and paths, so why the
error?

Thanks in advance,

Chris

***************************************
The GAIA Group
Global Automated Image Analysis

We welcome image analysis problems in all fields.
www.theGAIAgroup.org
Christopher Coulon, Ph.D., Founder
email@hidden
***************************************
_______________________________________________
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.

  • Follow-Ups:
    • Re: Error opening file
      • From: Christopher Nebel <email@hidden>
    • Re: Error opening file
      • From: Matthew Stuckwisch <email@hidden>
  • Prev by Date: Is your droplet stationery aware?
  • Next by Date: Re: Error opening file
  • Previous by thread: Is your droplet stationery aware?
  • Next by thread: Re: Error opening file
  • Index(es):
    • Date
    • Thread