• 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: load file statement not finding files with Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load file statement not finding files with Snow Leopard


  • Subject: Re: load file statement not finding files with Snow Leopard
  • From: Green Man <email@hidden>
  • Date: Wed, 2 Sep 2009 18:37:43 -0700

On Sep 2, 2009, at 5:55 PM, Tim Mansour wrote:

2009/9/3 Green Man <email@hidden>:
set safariHelper to (load script file ¬
"Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd")

Given the error message you're getting, have you tried this:

set safariHelper to load script
"Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd"

I suggest this because FileMaker has posted a note re. scripting on
Snow Leopard which says that previous scripts using

open file "blah:blah.fp7"

now need to be rewritten as

open "blah:blah.fp7"

--
Tim Mansour <email@hidden>
Mobile 0405 500 846

That doesn't seem to solve the problem, if I understand the suggestion correctly.  With this statement in the script:

set safariHelper to load script ¬
"Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd"

I
I get this in the Event Log:

tell current application
load script "Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd"

Result:

error "Can’t make \"Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd\" into type file." number -1700 from "Ozzie:Users:bob:Documents:Games:Baseball:SafariHelper.scptd" to file



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >load file statement not finding files with Snow Leopard (From: Green Man <email@hidden>)
 >Re: load file statement not finding files with Snow Leopard (From: Tim Mansour <email@hidden>)

  • Prev by Date: Re: Rép: date/Snow Leopard changed
  • Next by Date: Re: load file statement not finding files with Snow Leopard (Brian Christmas)
  • Previous by thread: Re: load file statement not finding files with Snow Leopard
  • Next by thread: Re: load file statement not finding files with Snow Leopard
  • Index(es):
    • Date
    • Thread