Untitled window in Outlook Express
Untitled window in Outlook Express
- Subject: Untitled window in Outlook Express
- From: John Clark <email@hidden>
- Date: Sat, 26 Oct 2002 14:12:46 +0100
The script below is part of an applet
tell application "Outlook Express"
activate
set w to make new draft window with properties {to recipients:e_mail,
subject:msgSub, attachment:tellspot}
send w with sending later
end tell
When running I got an error "Outlook Express can't get window "Untitled""
I then added an if statement
tell application "Outlook Express"
activate
set w to make new draft window with properties {to recipients:e_mail,
subject:msgSub, attachment:tellspot}
if name of window 1 is equal to "Untitled" then
set name of window 1 to msgSub
set w to window 1
end if
send w with sending later
end tell
When run as a script it works fine but when run as an applet I still get the
error message.
Any ideas
regards
John Clark
_______________________________________________
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.