Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Help with AppleScript – how to stop repeat

Comments

4 comments

  • Walter Rowe
    Moderator
    Top Commenter

    You need something you are repeating until. I use "repeat until" some system event condition. You need to know how to detect what you are waiting for to be finished or true or what ever the condition. For example if you are filling in a field with a value then you need to have code in your look that inspects that field to see if it now has the value you expect. You repeat until it has that value.

    0
  • Thomas Kyhn Rovsing Hjørnet
    Top Commenter

    Thanks.

    Do you know if it's possible to specify a number of repeats?

    0
  • Thomas Kyhn Rovsing Hjørnet
    Top Commenter

    Oh, I found it. That was simple:

    repeat 4 times
    0
  • Walter Rowe
    Moderator
    Top Commenter

    Glad that worked.

    0

Post is closed for comments.