• 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
Untitled window in Outlook Express
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Untitled window in Outlook Express
      • From: Paul Berkowitz <email@hidden>
    • Re: Untitled window in Outlook Express
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Dialog Director - Quit action
  • Next by Date: Re: filtering a list of items with Finder
  • Previous by thread: Re: Dialog Director - Quit action
  • Next by thread: Re: Untitled window in Outlook Express
  • Index(es):
    • Date
    • Thread