• 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: Applescript coding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript coding


  • Subject: Re: Applescript coding
  • From: Yvan KOENIG <email@hidden>
  • Date: Tue, 19 May 2015 21:26:42 +0200


Le 19/05/2015 à 20:59, Nigel Garvey <email@hidden> a écrit :

Jean-Christophe Helary wrote on Tue, 19 May 2015 21:33:47 +0900:

I guess I'm sticking to Script Editor for now :) I don't dislike it, it
just that it crashes every once in a while

Script Editor does have a fair number of problems at the moment, at
least one of which is deliberate and others are possibly faults in the
systems on which it depends.

• It's possible to save scripts uncompiled.
• Thanks to auto-saving, any trial edit in a script is saved whether you
want it to be or not. Even after reverting to the 'last opened' version,
the file's modification date often remains changed anyway.
• As Shane's already pointed out, auto-saving sometimes kicks in while a
script's running, with time-wasting results.
• If the toolbar buttons are customised as text only, clicking any of
them reverts them all to icons and text instead of carrying out the
button's action. This was annoying enough to get me to sign up as a
developer and report it last October, but there's no indication so far
that my report's even been read.
• AppleScript formatting occasionally reverts to the defaults,
disregarding the user's preferences for no obvious reason. I've not been
able to pin down the cause, but I've recently found I can reliably
induce it by doing anything which makes the 'choose application' dialog
appear, such as deliberately calling it in a script or misspelling an
application name. The default formatting appears next item Script
Editor's opened.
• If an .sdef window's frontmost when Script Editor's quit, and none of
the open script documents behind it have ever been saved, you're not
asked what you want to do with them. Script Editor just quits and the
documents reappear next time it's opened.

Yep. Script Editor's very hard work now.

NG

Other problem which I face everyday.
I use numerous featured offered by Shane Stanley in ASObjC (Dialog Toolkit is a wonderful tool).
When I work upon such scripts in the Apple's Script Editor, after a few executions of the script, I get an infamous error -4960.
If I work in Shane's ASObjC Explorer 4, this error never strike.
So, I assume that there is something wrong in Apple's editor but, honestly, I'm tired to see no changes to oddities reported for years.

Puzzling detail, under Mavericks I faced the opposite oddity. A lot of scripts using "modern" libraries issued the error -4960 at first run and after that they may be used many many times as long. But in this case I don't blame the editor because I got the same behavior with scripts saved as applications (packages of course).

Yvan KOENIG (VALLAURIS, France) mardi 19 mai 2015 21:24:57

I'm crossing my fingers : will I get one more time the four infamous email@hidden messages ?




 _______________________________________________
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

  • Follow-Ups:
    • Re: Applescript coding
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Applescript coding (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: Applescript coding
  • Next by Date: Re: Applescript coding
  • Previous by thread: Re: Applescript coding
  • Next by thread: Re: Applescript coding
  • Index(es):
    • Date
    • Thread