• 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: Script Editor vs command line = different results
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Editor vs command line = different results


  • Subject: Re: Script Editor vs command line = different results
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 08 Jul 2004 18:57:56 -0700

On 7/8/04 5:52 PM, "Andersen Studley" <email@hidden> wrote:

>> 1. You're trying to load a string, not a file.
>> 2. If you're hard-coding the file-path like that, you need to begin
>> with the
>> name of the disk that "Users:" is on
>>
>
> Thanks for the tip. I had thought I didn't need to as the other paths
> I hard coded (such as the files I'm working on) worked fine without it.
> I can now run the script from a script, unfortunately it didn't solve
> my problem.
>
> Any insight, or workaround, as to why executing it from the Script
> Editor works, whereas any other form of invocation produces a File Not
> Found error?

You must be trying to call a file (path) that doesn't exist. It works fine
here, in all 3 versions I gave you, from an application on my desktop when
double-clicked.


--
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.


References: 
 >Re: Script Editor vs command line = different results (From: Andersen Studley <email@hidden>)

  • Prev by Date: Re: Script Objects in Libraries
  • Next by Date: trying to make a list of numbers
  • Previous by thread: Re: Script Editor vs command line = different results
  • Next by thread: trying to make a list of numbers
  • Index(es):
    • Date
    • Thread