Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
- Subject: Is this an example of AppleScript 1.8 "breaking" Script Debugger 3.01? Or is it I?
- From: <email@hidden>
- Date: Thu, 3 Jan 2002 11:21:12 -0600
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."