Re: Run Script Error
Re: Run Script Error
- Subject: Re: Run Script Error
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 06 Mar 2004 23:28:32 -0800
On 3/6/04 11:12 PM, "email@hidden" <email@hidden> wrote:
>
Thanks, Terry for the help.
>
>
When I tried
>
>
run script alias "OS X Boot:DOCUMENTS:AppleScripts:PerTaxScripts:PerCheckNum"
>
>
I got an error message that the file wasn't found. Can you see anything in
>
the path name that might cause this? I've tried moving the script file to the
>
root directory of the disc (i.e. OS X Boot:PerCheckNum) but got the same
>
error
>
message.
>
>
When I tried
>
>
run script file "OS X Boot:DOCUMENTS:AppleScripts:PerTaxScripts:PerCheckNum"
>
>
I got the error message "Can't make some data into the expected type"
>
>
Any idea what I might be doing wrong?
Don't use 'file' it seems to be broken in some contexts in OS 10.2/10.3.
'alias' should work just fine. So you're probably giving the wrong file path
to the script file. Does it have an extension? (Which might not be visible
if you have extensions invisible - check with Get Info.
--
Paul Berkowitz
_______________________________________________
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.