Hi!
I have this applescript:
I have saved this as minibreak.app file and have it running reminding me to take short breaks. Problem is, these popup windows happens in the background, I just hear the popup sound and see the dock icon jumping. I would like to bring these windows to the front so I never miss them.
I googled and tried to add
but that did not work.
Does anyone have an idea on how to solve this?
Thanks!
I have this applescript:
Code:
repeat
display dialog "Take a break!" buttons {"Ok"} default button 1
delay 600
end repeat
I have saved this as minibreak.app file and have it running reminding me to take short breaks. Problem is, these popup windows happens in the background, I just hear the popup sound and see the dock icon jumping. I would like to bring these windows to the front so I never miss them.
I googled and tried to add
Code:
set window 1 of application "minibreak" to frontmost
Does anyone have an idea on how to solve this?
Thanks!