• 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: I KNOW it's gotta be simple!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I KNOW it's gotta be simple!


  • Subject: Re: I KNOW it's gotta be simple!
  • From: "Jeffrey L. McLean" <email@hidden>
  • Date: Thu, 15 Feb 2001 04:48:10 -0500

I had this problem once with Outlook Express whenever I write

tell application "Outlook Express"
CheckMail()
end tell

it would timeout. So I tried

try
activate application "Outlook Express"
on error
end try
tell Application "Outlook Express"
activate
CheckMail()
end tell

it wouldn't timeout. not sure why, but I hope it helps anyway.

Jeffrey

> From: Daniel Robinson <email@hidden>
> Reply-To: email@hidden
> Date: Tue, 13 Feb 2001 23:26:50 -0500
> To: email@hidden
> Subject: I KNOW it's gotta be simple!
>
> Okay!
>
> There's GOTTA be a simple answer! Below is a script and three applets. I've
> boiled 'em down
> to where they can't get much simpler.
>
> When I run the script without the "Try" statements, A, B, & C give an Apple
> Event Time Out.
>
> With the 'Try's, A, B, & C still take exactly a full minute each to release,
> but at least
> they run.
>
>
>
> 2 different G4s, -- OS 9.0.4 and 9.1 -- Applescript 1.4.3 is what they'll need
> to run under.
>
> --------------------------------
> --Save as compiled script: "Run ABC.script"
> tell application "Finder"
>
> try
> run application "A app"
> end try
>
> try
> run application "B app"
> end try
>
> try
> run application "C app"
> end try
>
> end tell
>
> --------------------------------
> --save as applet: "A app"
> tell application "Finder"
> say "This is ay"
> beep
> end tell
>
> --------------------------------
> --save as applet: "B app"
> tell application "Finder"
> say "This is B"
> beep
> end tell
>
> --------------------------------
> --save as applet: "C app"
> tell application "Finder"
> say "This is C"
> beep
> end tell
>
> --------------------------------
>
> Thanks everyone . . . I enjoy this forum tremendously.
>
> --Dan
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >I KNOW it's gotta be simple! (From: Daniel Robinson <email@hidden>)

  • Prev by Date: Re: Attachable vs. Embeddable
  • Next by Date: Re: Two Questions
  • Previous by thread: Re: I KNOW it's gotta be simple!
  • Next by thread: remove, please
  • Index(es):
    • Date
    • Thread