Put icns as icon in dialog box

Trying to put the icns as icon in a dialog box.

display dialog “bla bla bla bla” with icon (the icns i want to put here)

Yeah but I have a custom icns i made I want to put there.


You should be able to set the ‘with icon’ parameter of the ‘display dialog’ to an alias to to the .icns file. This is taken from the User Interaction section of the Standard Additions Library, but I’ve never tried it.

Best wishes

John M

You’ll find a lot of info here.
MacScripter topic: Icons in display dialog…



Operating System: Mac OS X (10.6)