how to display a panel as modal property in Automator work flow

hi I am writing code like that

display panel “panel-name” attached to view

some body help me



What do you want ther display to do?


actually, I have to display the information in text fields, comes from other actions as input, and want to provide permit user of the action,to change according to information recieved as input. and again changes in these fields to be saved for out put for another actions.

I am able to display, but didn’t got the way to close it.just like dialog box closing.

if I write

on run (inpt, parameters)
load nib “nib-name”
display panel “panel-name”
end run

on clik theObject
close window of theObject
end click

then after click , there is appleScript error (-1708)

can u help me…