Skip navigation.
 
mlRe: NSAppleScript no longer allows user interaction?
FROM : Stephen Deken
DATE : Mon Aug 14 22:09:20 2006

> would work... but now, I need to use "tell" to an application for 
> this to work. I could tell the Finder to activate then send the 
> message, but this means the Finder will always be in front when 
> this script runs, and all current scripts have to be modified to 
> activate the Finder before displaying a dialog, but for some 
> scripts, this might not be appropriate.


Could you tell "System Events" to show the dialog?

   tell application "System Events" to show dialog...

--sjd;

Related mailsAuthorDate
mlNSAppleScript no longer allows user interaction? Renaud Boisjoly Aug 14, 16:49
mlRe: NSAppleScript no longer allows user interaction? Matt Neuburg Aug 14, 19:49
mlRe: NSAppleScript no longer allows user interaction? Renaud Boisjoly Aug 14, 20:34
mlRe: NSAppleScript no longer allows user interaction? Stephen Deken Aug 14, 22:09
mlRe: NSAppleScript no longer allows user interaction? Matt Neuburg Aug 14, 23:02