Re: load file statement not finding files with Snow Leopard
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