• 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: Login Applescript won't write to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Login Applescript won't write to file


  • Subject: Re: Login Applescript won't write to file
  • From: Deivy Petrescu <email@hidden>
  • Date: Fri, 29 Jun 2001 12:42:23 -0400

At 12:42 PM +1000 6/29/01, Sun Real wrote:
Timothy K. Wilkinson's message of 29/6/01 1:58 AM contained:

>I've got a very aggravating AppleScript problem I'd love some input on...
>...The script works perfectly when I run it from
>Script Editor....

Hmm. What you posted won't compile as it is (after de-mangling for line
wraps).

just take the end tell, move a line and take away the OSAX if you do not have it.


>...Any
>ideas why it would write to that file when run from Script Editor but not
>when it runs alone?

Don't know what happened there, but you code appears to be incomplete:

It finishes with an "end tell" but there is no 'tell' to end. I got it
to compile with a tell Finder at the top, but I didn't see any Finder
commands in a quick look over it. Also compiles after removing the 'end
tell'.

The file is not opened for access anywhere in what you posted and opening
for access with write permission is required in this case.

I am replying because of this line. No, it does not! His script worked perfectly running from SE or from
OSA Menu, which I assume would be similar to running from iDo.
His script works fine. I believe the file is opened and it does not get written to. If you make that file read only ("ttro"), then it will accept any new input even if the file is opened in the "Finder". Try it


If you'd like to post either a cut down functional example (preferable),
or the whole thing, I'll try to have a look at it for you. Others will
hopefully do the same.

Cheers,

Richard Morton
-- Great Lies of the Software Business: "No known bugs"

Actually there was no known bugs in his script, 8-)

Regards

Deivy Petrescu
http://www.dicas.com
Tips for your Mac.
Dicas para o seu Mac.
mailto:email@hidden
mailto:email@hidden


References: 
 >Re: Login Applescript won't write to file (From: Sun Real <email@hidden>)

  • Prev by Date: Re: Login Applescript won't write to file
  • Next by Date: AOL 5.0 script
  • Previous by thread: Re: Login Applescript won't write to file
  • Next by thread: Re: Login Applescript won't write to file
  • Index(es):
    • Date
    • Thread