🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #572

ScriptUI

#572
From: Bordac
Date: Tue, 13 Jan 2009 20:13
13 lines
949 bytes
var win = new Window("window",'My Title',[0,0,400,200],{independent:true});
win.show()

When I run this script in Photoshop CS4, appears window and immediatly closes and script is finish (Photoshop don't closes).
 What problem? How I can create window (don't 'dialog' or 'palette')?
 Help me please.

P.S. Script:

var win = new Window("dialog",'My Title',[0,0,400,200],{independent:true});
win.show()

work normal.
Technical Details
Message-ID: <59b78169.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,f8278c074c1c8dcc,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bordac@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: ScriptUI
Message-ID: <59b78169.-1@webcrossing.la2eafNXanI>
Date: Tue, 13 Jan 2009 12:13:10 -0800
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit