Skip to content

Commit bc93c81

Browse files
committed
Fix some applescript formatting issues
1 parent 0b233dd commit bc93c81

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/scriptingApplescript/creatingPathsShapes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tell application "Adobe Illustrator"
1919
set docRef to make new document
2020
-- set stroked to true so we can see the path
2121
set lineRef to make new path item in docRef with properties {stroked:true}
22-
set entire path of lineRef to {{220, 475},{200, 300},{375, 300}}
22+
set entire path of lineRef to { {220, 475},{200, 300},{375, 300} }
2323
end tell
2424
```
2525

@@ -67,7 +67,7 @@ tell application "Adobe Illustrator"
6767
set docRef to make new document
6868
-- set stroked to true so we can see the path
6969
set lineRef to make new path item in docRef with properties {stroked:true}
70-
set entire path of lineRef to {{220, 475},{375, 300}}
70+
set entire path of lineRef to { {220, 475},{375, 300} }
7171
set newPoint to make new path point of lineRef with properties
7272
{anchor:{220, 300},left direction:{180, 260},right direction:{240, 320}, point type:corner}
7373
end tell
@@ -97,7 +97,7 @@ Consider the following sample:
9797
tell application "Adobe Illustrator"
9898
set docRef to make new document
9999
set rectRef to make new rectangle in docRef with properties
100-
{bounds:{288, 360, 72, 144}}
100+
{ bounds:{288, 360, 72, 144} }
101101
end tell
102102
```
103103

docs/scriptingApplescript/perspectiveGrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ tell application "Adobe Illustrator"
136136
set starRef to make new star with properties {center point:{135, 135}, radius:15, inner radius:10, point count:6, reversed:false}
137137
138138
--Draw path in perspective
139-
set newPath to make new path item with properties {entire path:{{anchor:{0, 0}}, {anchor:{60, 0}}, {anchor:{30, 45}}, {anchor:{90, 110}}}}
139+
set newPath to make new path item with properties {entire path:{ {anchor:{0, 0} }, {anchor:{60, 0} }, {anchor:{30, 45} }, {anchor:{90, 110} } } }
140140
end tell
141141
end tell
142142
```

docs/scriptingApplescript/yourFirstScript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you cannot find the Script Editor application, you must reinstall it from you
1717
1818
--Create a new text frame with the string "Hello World"
1919
set textRef to make new text frame in docRef
20-
with properties {contents: "Hello World!", position:{200, 200}}
20+
with properties { contents: "Hello World!", position:{200, 200} }
2121
2222
end tell
2323
```

0 commit comments

Comments
 (0)