Skip to content

Commit e73e6c0

Browse files
author
fabiantheblind
committed
changed some names same content
1 parent 5e337af commit e73e6c0

29 files changed

+132
-49
lines changed
File renamed without changes.
File renamed without changes.

clearStructure.jsx renamed to Clear xml Structure.jsx

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// a quick script for removing everything in the structure the safe way
22
// written by fabian theblind
33
// needs glue code for softies
4-
#include "./meta/glue code.jsx";
5-
main();
64

75
// SOME TEXT
86
// Copyright (C) 2011 Fabian "fabiantheblind" Morón Zirfas
@@ -23,6 +21,9 @@ main();
2321
// along with this program. If not, see <http://www.gnu.org/licenses/.
2422

2523

24+
#include "./meta/glue code.jsx";
25+
main();
26+
2627

2728
function main(){
2829

@@ -33,13 +34,27 @@ function main(){
3334
alert("No no no, you have no document.\nMaybe you should drink some coffee");
3435
return;
3536
}
36-
// the soft way?
37-
try{
38-
untagAllxmlElements(myDoc);
39-
}catch(e){
40-
4137

42-
}
38+
// var dlg = app.dialogs.add({name:"the Link Button", canCancel:true});
39+
// with(dlg){
40+
// with(dialogColumns.add()){
41+
// staticTexts.add({staticLabel:"Are You shure you want to clear the whole structure?"});
42+
//
43+
// }
44+
// }
45+
// if(dlg.show==true){
46+
// dlg.destroy();
47+
// }else{
48+
// dlg.destroy();
49+
// return;
50+
// }
51+
// // the soft way?
52+
// try{
53+
// untagAllxmlElements(myDoc);
54+
// }catch(e){
55+
//
56+
//
57+
// }
4358
// the hard way?
4459

4560
myDoc.xmlElements.everyItem().remove();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

QUICKY.jsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

Quick Scribble.jsx

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// this is a place for quick scribbles.
2+
// just write in some code and run it
3+
// Copyright (C) 2011 Fabian "fabiantheblind" Morón Zirfas
4+
// http://www.the-moron.net
5+
// info [at] the - moron . net
6+
7+
// This program is free software: you can redistribute it and/or modify
8+
// it under the terms of the GNU General Public License as published by
9+
// the Free Software Foundation, either version 3 of the License, or
10+
// any later version.
11+
12+
// This program is distributed in the hope that it will be useful,
13+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
// GNU General Public License for more details.
16+
17+
// You should have received a copy of the GNU General Public License
18+
// along with this program. If not, see <http://www.gnu.org/licenses/.
19+
20+
//alert($.fileName);
21+
var txt = "this is fabiantheblind Keeper of the Sacred Chao Adept of Canhoto son of H.Z. and Dr.D member of the moron net who travells the hello worlds and does stuff that involves things\n";
22+
// written by fabiantheblind
23+
// http://www.the-moron.net
24+
var doc = app.documents.add()
25+
with(doc.documentPreferences){
26+
pageWidth = 160;
27+
pageHeight = 160;
28+
};
29+
30+
var p = doc.pages[0];
31+
32+
33+
var ovs = new Array();
34+
35+
for(var i = 0; i < 20 ; i++){
36+
37+
var val = Math.sin((i/10))*11 ;
38+
39+
txt = txt + txt;
40+
var tm = app.transformationMatrices.add({counterclockwiseRotationAngle:i*5});
41+
42+
ovs[i] = p.ovals.add({geometricBounds:[val + 10+i*3,val + 10+i*3,val + 150-i*3,val + 150-i*3]});
43+
ovs[i].strokeWeight = 0;
44+
ovs[i].textPaths.add();
45+
if(i > 0){
46+
ovs[i].textPaths[0].previousTextFrame = ovs[i-1].textPaths[0];
47+
}
48+
49+
ovs[i].transform(CoordinateSpaces.pasteboardCoordinates, AnchorPoint.centerAnchor, tm);
50+
51+
}
52+
53+
54+
55+
56+
57+
ovs[0].textPaths[0].contents = TextFrameContents.placeholderText; //

theNumbers.jsx renamed to The Numbers.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function makeNumbers(myDoc,myPage,theNumber,obj){
154154
// InDesign dialogs are prety fast
155155

156156
function myUI(myDoc,myPageName,obj){
157-
var myDialog = app.dialogs.add({name:"Make Some Numbers", canCancel:true});
157+
var myDialog = app.dialogs.add({name:"Make The Numbers", canCancel:true});
158158
with(myDialog){
159159
//Add a dialog column.
160160
with(dialogColumns.add()){
@@ -169,7 +169,7 @@ function myUI(myDoc,myPageName,obj){
169169

170170
// another row
171171
with(dialogRows.add()){
172-
var txtPg = staticTexts.add({staticLabel:"Pages--> ",minWidth:100});
172+
var txtPg = staticTexts.add({staticLabel:"2 Page--> ",minWidth:100});
173173
var myPageDropdown = dropdowns.add({stringList: myDoc.pages.everyItem().name, selectedIndex: 0,minWidth:75 });
174174
}
175175

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

help/theLinkButton.txt renamed to help/Build Link Button.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theLinkButton.jsx
1+
Build Link Button.jsx
22

33
----------
44

help/Clear All Styles.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Clear All Styles.jsx
2+
3+
----------
4+
5+
This script cleans paragraph- character- and objectstyles.
6+
It will try to remove all styles.
7+
8+
----------
9+
10+
PREREQUISITES:
11+
12+
1. Just a selection
13+
14+
----------
15+
16+
USAGE:
17+
18+
This script has no user interface. Just click "RUN"

help/clearStructure.txt renamed to help/Clear xml Structure.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
clearStructure.jsx
1+
Clear xml Structure.jsx
22

33
----------
44

help/theItemFinder.txt renamed to help/Find Items.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theItemFinder.jsx
1+
Find Items.jsx
22

33
----------
44

help/theFindChange.txt renamed to help/Find and Change.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theFindChange.jsx
1+
Find and Change.jsx
22

33
----------
44

help/MPO_Importer.txt renamed to help/MPO Importer.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
MPO_Importer.jsx
1+
MPO Importer.jsx
22

33
----------
44

5-
This script is the main importer.
5+
This script is the main thing.
66

77
It won't work without the right
88
xml file,

help/theImagePlacer.txt renamed to help/Place All Images.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
theImagePlacer.jsx
1+
Place All Images.jsx
22

33
----------
44

5-
This script imports all images referenced in the xml structutre that comes from the MPO
5+
This script imports all images referenced in the xml structure that comes from the MPO.
66

77
----------
88

help/QUICKY.txt renamed to help/Quick Scribble.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
QUICKY.jsx
1+
Quick Scribble.jsx
22

33
----------
44

help/color_PAPER.txt renamed to help/Tint-2-Key.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
color_PAPER.jsx
1+
Tint-2-Key.jsx
22

33
----------
44

5-
This script sets color of the selection to PAPER [C= 0, M = 0, Y = 0, K = 0]
5+
This script sets color of the selection 2:
6+
7+
KEY [C= 0, M = 0, Y = 0, K = 100]
8+
69
It will change the colors of:
710
- images (bitmaps)
811
- polygons (vectorforms)

help/color_MIXEDBLACK.txt renamed to help/Tint-2-Mixedblack.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
color_MIXEDBLACK.jsx
1+
Tint-2-Mixedbalck.jsx
22

33
----------
44

5-
This script sets color of the selection to a mixed black [ 80, 50, 50, 100 ]
5+
This script sets color of the selection 2:
6+
7+
mixed black [ 80, 50, 50, 100 ]
8+
69
It will change the colors of:
710
- images (bitmaps)
811
- polygons (vectorforms)

help/color_KEY.txt renamed to help/Tint-2-Paper.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
color_KEY.jsx
1+
Tint-2-Paper.jsx
22

33
----------
44

5-
This script sets color of the selection to KEY [C= 0, M = 0, Y = 0, K = 100]
5+
This script sets color of the selection 2:
6+
7+
PAPER [C= 0, M = 0, Y = 0, K = 0]
8+
69
It will change the colors of:
710
- images (bitmaps)
811
- polygons (vectorforms)

help/color_XXX.txt renamed to help/Tint-2-Swatch.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
color_XXX.jsx
1+
Tint-2-Swatch.jsx
22

33
----------
44

5-
This script sets color of the selection to the desired swatch color
5+
This script sets color of the selection 2:
6+
7+
the desired swatch color
8+
69
It will change the colors of:
710
- images (bitmaps)
811
- polygons (vectorforms)

help/clearAllStyles.txt

Whitespace-only changes.

help/help.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
This is the Master helpfile
2-
have a look @ the screencast here -> coming soon
2+
have a look @ the screencast there
3+
<a href="http://mediaplanungonline.de/hilfe/designersguide/screencast.html">MPO Launcher Screencast</a>

help/theNumbers.txt renamed to help/the Numbers.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
theNumbers.jsx
1+
The Numbers.jsx
22

33
----------
44

0 commit comments

Comments
 (0)