How to display again a panel

Hi,

I’ve created a progress bar inside a panel. When I run my application the panel shows fine attached to the main window:

	set panelWIndow to window "bprogress"
	display panelWIndow attached to window "bmain"
	
	-- do some work here

	hide panelWIndow

After the work the panel hides fine. The question is, when I call this code the second time the panel does not appear.

Regards,
JoanBa

Moving to AppleScript Studio forum.

Hi :slight_smile:

close panelWindow
or
close window panelWindow

:wink: