How to display again a panel


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.


Moving to AppleScript Studio forum.

Hi :slight_smile:

close panelWindow
close window panelWindow