MACSCRPT Archives

October 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 10 Oct 2011 16:32:11 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
On Oct 10, 2011, at 12:21 PM, Bill Steele wrote:

> I've seen occasions where a script will not run from the script menu, but runs fine when I open it in the editor. Worse, it doesn't happen every time.
> 
> On Oct 10, 2011, at 11:16 AM, Emmett Gray wrote:
> 
>> 
>> No error, so I didn't bother throwing in a dialog. How can you trap an error if there is none? On a hunch I also tried setting the ownership to root (chmod -R 0:0) but that didn't have any effect. Since I have a workaround, I'm not in need. But I'd like to know what's going on. Has anyone else seen this behavior with any other AppleScript - i.e., it will run from the Editor but not as a saved script or app?
> 
Just had a thought.  Was there anything in the console log?  There is a bunch that can show up there when the system says, nope not going to do it.

-Mark
Who just realized he has done AppleScript on 11 different major versions of the OS.

ATOM RSS1 RSS2