• 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: Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?


  • Subject: Re: Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
  • From: Craig Sutherland <email@hidden>
  • Date: Thu, 3 Jan 2002 19:23:18 -0600

Ron-

Tried to compile your script in Script Editor and errored on the compile. Message:
Expected end of line, etc., but found class name.

I have developer tools with Studio installed. Launching Script Debugger to see how it would handle your script, received the same error. Checked carefully to see that commas, returns, etc. were correct. From SD tried to open the SD dictionary and found where the suites are listed the single line- Dictionary Disabled.

I have not successfully used SD since the latest Dev tools were installed. I tried the work arounds on Mark's site, but no stability.

I will try on a couple of office machine tomorrow- one which also has Dev Tools w/10.1.2 and then on a second w/ 10.1 and Dev Tools from June 2001.

Odd. Never seen the Dictionary Disabled in the List:Suites in a dictionary.

I had earlier problems in AS 1.6 when trying to mount a server over a LAN w/AFP- the AEServer event appeared in the scripts in place of a non-carbon application (AS 400 emulator). Turning off Allowing Remote Events and Allow remote Login in File Sahring solved the AEServer at compilation problem back then. AS 1.7f2 removed the need for that work around.

BTW office at 40th & Main- not far from you.

Lumbering on ;-)

Craig

On Thursday, January 3, 2002, at 11:21 AM, <email@hidden> wrote:

Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is
it I?

This script runs fine from within Script Debugger, however it won't run from
the Script Menu or double clicked from the desktop. I get the error message
that the application (Script Debugger) isn't running. When I open the
script, I see that the script is hosed up (Script Debugger becomes
"AEServer"; all Script Debugger events are hosed...)

Also I can't preview anything I want to print...

----------------------------------------------------------------------------
---------------------------------

display dialog "Please type in your reminder message" default answer ""
buttons {"Cancel",
"OK"} default button "OK"
set theContent to text returned of the result
set theContent to " \"" & theContent & "\""

tell application "Script Debugger"
activate
make new document with properties {name:"Reminder"}
set theFilename to name of document 1
set contents of document 1 to "tell application \"Mail\"" & return & ,
"set this_message to make new compose message at beginning of every compose
message" & return & ,
"tell this_message" & return & ,
"make new to recipient at beginning of to recipients with properties
{address:\"email@hidden\", display name:\"AppleScript
Reminder\"}" & return & ,
"set the subject to \"Reminder\"" & return & ,
"set the content to" & theContent & return & ,
"end tell" & return & ,
"set the content of this_message to the content of this_message" & return &
,
"make new message editor at beginning of every message editor" & return & ,
"set the compose message of message editor 1 to this_message" & return & ,
"send this_message" & return & "close every window" & return & ,
"end tell"
compile document 1
save document 1 as carbon script application in alias "Macintosh
HD:Users:krbishop:Reminder Scripts:Reminder"
close document 1
end tell

------------------------------------------------------------------------
Ron Bishop
--
"Thanks, and I'll take my answer off-the-air."
_______________________________________________
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.


  • Prev by Date: Re: AppleScript and Email clients
  • Next by Date: FYI- MS Excel v.X buck passing
  • Previous by thread: Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
  • Next by thread: Script Quark to EPS to gif
  • Index(es):
    • Date
    • Thread