Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gameguy3001

macrumors member
Original poster
Feb 8, 2007
96
0
Saskatoon, SK
I have a applescript that i created and for part of it, it displays a dialog with some options (continue, quit, etc...). The only problem is that the message appears behind any visible and active applications, in this case its iTunes. is there any way to write the "display dialog" so it will appear in from of any other windows?

Thanks.
 
You can use "current application".
Code:
tell current application
	activate
	display dialog "Hello, World!"
end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.