forked from AllegorithmicSAS/painter-plugin-photoshop-export
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.jsx
More file actions
22 lines (19 loc) · 821 Bytes
/
Copy pathheader.jsx
File metadata and controls
22 lines (19 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 Allegorithmic
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#target photoshop
app.bringToFront();
var startRulerUnits = app.preferences.rulerUnits;
var startTypeUnits = app.preferences.typeUnits;
var startDisplayDialogs = app.displayDialogs;
app.preferences.rulerUnits = Units.PIXELS;
app.preferences.typeUnits = TypeUnits.PIXELS;
app.displayDialogs = DialogModes.NO;
/*=============CODE GENERATED=============*/
var progressBar = new Window("window{\
text:'Loading',bounds:[100,100,700,200],\
stack:Progressbar{bounds:[0,10,580,20] , value:0,maxvalue:100}, \
channel:Progressbar{bounds:[0,30,580,40] , value:0,maxvalue:100}, \
layer:Progressbar{bounds:[0,50,580,60] , value:0,maxvalue:100}};");
progressBar.show();