User Tools

Site Tools


JXA_JavaScript_for_Applications

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
JXA_JavaScript_for_Applications [2016/01/05 19:08]
ComplexPoint [Attaching reusable names to computations and their results:]
JXA_JavaScript_for_Applications [2016/01/06 21:17]
peternlewis deleted in favor of JavaScript for Automation
Line 182: Line 182:
 Where AS uses the pattern: ​   **set** *name* **to** *resultingValue* (and reserves **=** for testing equality), Where AS uses the pattern: ​   **set** *name* **to** *resultingValue* (and reserves **=** for testing equality),
  
-JS uses one or more [[https://​developer.mozilla.org/​en/​docs/​Web/​JavaScript/​Reference/​Statements/​var|variable declaration statements]]+JS uses one or more [[https://​developer.mozilla.org/​en/​docs/​Web/​JavaScript/​Reference/​Statements/​var|variable declaration statements]] ​(and [[https://​developer.mozilla.org/​en-US/​docs/​Web/​JavaScript/​Equality_comparisons_and_sameness|tests equality]] with **===**)
  
 In JS we can either: In JS we can either:
Line 206: Line 206:
  
 {{::​use-strictpng.png|}} {{::​use-strictpng.png|}}
 +====Structuring collections – indexing by number, and by name===
 +
 +to follow ...
 +
 +====Structuring computations – branching, repetition, and nested composition====
 +
 +to follow ...
 +
 +====JSON for persistence – saving things between macro runs, and reading them straight back in====
 +
 +to follow ...
 +
 +=====The Automation interface=====
 +
 +===Using the Standard Additions library====
 +
 +to follow ...
 +
 +===Interacting with scriptable applications===
 +
 +to follow ...
 +
 +=====Using the Safari JSContexts Debugger (El Capitan onwards)=====
 +
 +to follow ...
 +
 +=====The ObjC interface=====
 +
 +to follow ...
 +
 +===Basic file functions===
 +
 +to follow ...
 +
 +===Clipboard functions===
 +
 +to follow ...
 +
 +===Reading the documentation for simple ObjC functions===
 +
 +to follow ...