PDA

View Full Version : Set a dialog box always to show up on front/top AppleScript




MacBook MH
May 31, 2009, 02:31 AM
Hi,
I want the dialog box to always show up on the front/on the top, not behind all the windows I have opened. I need this in AppleScript. I there a command like this?
PLZ Help, I need it as fast as possible
THX, bye



mysterytramp
May 31, 2009, 10:24 AM
activate will bring a specific application to the front, then call the dialog and the dialog and the dialog should be in the front.

tell application "Whatever"
activate
display dialog "Hello, world!"
end tell


If that doesn't work, please post a code snippet of what's not working.

mt