• 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
Infinite Loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite Loop


  • Subject: Infinite Loop
  • From: Robert Poland <email@hidden>
  • Date: Tue, 24 Jan 2012 11:32:05 -0700

Hi,

I'm experimenting and in the process I am trying to use the following script. I don't understand why it is an infinite loop. y does contain "GraphicConverter". It fails with GraphicConverter running and not running. It does start GraphicConverter.

What an I doing wrong?

set y to ""

tell application "Smile" to chrono
repeat while y does not contain "GraphicConverter"
tell application "System Events"
tell application "GraphicConverter"
activate
delay 0.5
end tell
set y to processes
end tell
end repeat

tell application "Smile" to set x to chrono
x

TIA,


Robert Poland - Fort Collins, CO



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Infinite Loop
      • From: Luther Fuller <email@hidden>
    • Re: Infinite Loop
      • From: Iurista GmbH <email@hidden>
  • Prev by Date: Accessing Mission Control parameters via AppleScript
  • Next by Date: Re: Infinite Loop
  • Previous by thread: Re: Accessing Mission Control parameters via AppleScript
  • Next by thread: Re: Infinite Loop
  • Index(es):
    • Date
    • Thread