You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2dac464
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/extendscript-tools-features/preprocessor-directives.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,11 @@ As a fallback, ExtendScript also uses the contents of the environment variable `
51
51
52
52
Some engines can have a predefined set of include paths. If so, the path provided by `#includepath` is tried before the predefined paths. If, for example, the engine has a predefined path set to `predef;predef/include`, the preceding example causes the following lookup sequence:
53
53
54
-
-`file.jsxinc` literal lookup
55
-
-`include/file.jsxinc` first #includepath path
56
-
-`../include/file.jsxinc` second #includepath path
57
-
-`predef/file.jsxinc` first predefined engine path
58
-
-`predef/include/file.jsxinc` second predefined engine path
54
+
-`file.jsxinc`: literal lookup
55
+
-`include/file.jsxinc`: first #includepath path
56
+
-`../include/file.jsxinc`: second #includepath path
57
+
-`predef/file.jsxinc`: first predefined engine path
58
+
-`predef/include/file.jsxinc`: second predefined engine path
Copy file name to clipboardExpand all lines: docs/file-system-access/folder-object.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,7 @@ These functions are available as a static methods of the Folder class. It is not
245
245
246
246
Decodes the specified string as required by RFC 2396.
247
247
248
-
All special characters must be encoded in UTF-8 and stored as escaped characters starting with the percent sign followed by two hexadecimal digits. For example, the string `"my%20file"` is decoded as `"my file"`. Special characters are those with a numeric value greater than 127, except the following:
248
+
All special characters must be encoded in UTF-8 and stored as escaped characters starting with the percent sign followed by two hexadecimal digits. For example, the string `"my%20file"` is decoded as `"my file"`. Special characters are those with a numeric value greater than 127, except the following:
249
249
250
250
```javascript
251
251
``/- _ . !~*' ( )``
@@ -271,7 +271,7 @@ String
271
271
272
272
Encodes the specified string as required by RFC 2396.
273
273
274
-
All special characters must be encoded in UTF-8 and stored as escaped characters starting with the percent sign followed by two hexadecimal digits. For example, the string `"my%20file"` is decoded as `"my file"`. Special characters are those with a numeric value greater than 127, except the following:
274
+
All special characters must be encoded in UTF-8 and stored as escaped characters starting with the percent sign followed by two hexadecimal digits. For example, the string `"my%20file"` is decoded as `"my file"`. Special characters are those with a numeric value greater than 127, except the following:
|`xmlCode`| String or XML | A string containing valid XML code, or an existing XML object. |
24
-
||||
25
-
||| - If a valid string is supplied, returns a new XML object encapsulating the XML code. If the XML code cannot be parsed, throws a JavaScript error. |
26
-
||| - If an existing object is supplied and the `new` operator is used, returns a copy of the object; otherwise, returns the object itself. |
|`xmlCode`| String or XML | A string containing valid XML code, or an existing XML object. |
24
+
||||
25
+
||| - If a valid string is supplied, returns a new XML object encapsulating the XML code. If the XML code cannot be parsed, throws a JavaScript error. |
26
+
||| - If an existing object is supplied and the `new` operator is used, returns a copy of the object; otherwise, returns the object itself. |
|`uri`| String | Creates a Namespace object with an empty prefix and the given URI. |
889
-
|`prefix`| QName | Creates a namespace with an empty prefix and the URI set to the URI of the [QName object](#qname-object) (if the QName object contains a URI). |
890
-
|`ns`| Namespace | Creates a copy of the given [Namespace object](#namespace-object). If the `Namespace()` function is called without the `new` operator, and the only argument is a `Namespace` object, the function simply returns that object, rather than creating a copy. |
891
-
|`prefix, uri`| String | Creates a `Namespace` object with the given prefix and the given URI. |
|`uri`| String | Creates a Namespace object with an empty prefix and the given URI. |
889
+
|`prefix`| QName | Creates a namespace with an empty prefix and the URI set to the URI of the [QName object](#qname-object) (if the QName object contains a URI). |
890
+
|`ns`| Namespace | Creates a copy of the given [Namespace object](#namespace-object). If the `Namespace()` function is called without the `new` operator, and the only argument is a `Namespace` object, the function simply returns that object, rather than creating a copy. |
891
+
|`prefix, uri`| String | Creates a `Namespace` object with the given prefix and the given URI. |
|`version`| Number | Optional. The specific version number to search for, or `null` to return the most appropriate version (matching, most recent, or running), with version information. |
304
-
||||
305
-
||| Specify only a major version number to return the highest minor-version variation. |
306
-
||||
307
-
||| For example, if Photoshop CS versions 9, 9.5, and 10 are installed: <prelang="javascript">BridgeTalk.getTargets( "9" )<br/>=> [photoshop-9.5]</pre> |
308
-
||||
309
-
||| Specify a negative value to return all versions up to the absolute value of the version number. For example: <prelang="javascript">BridgeTalk.getTargets( "-9.9" )<br/>=> [photoshop-9.0, photoshop-9.5]</pre> |
|`locale`| String | Optional. The specific locale to search for, or null to `return` applications for all locales, with locale information. If not supplied when version is supplied, returns specifiers with version information only. |
|`version`| Number | Optional. The specific version number to search for, or `null` to return the most appropriate version (matching, most recent, or running), with version information. |
304
+
||||
305
+
||| Specify only a major version number to return the highest minor-version variation. |
306
+
||||
307
+
||| For example, if Photoshop CS versions 9, 9.5, and 10 are installed: <prelang="javascript">BridgeTalk.getTargets( "9" )<br/>=> [photoshop-9.5]</pre>|
308
+
||||
309
+
||| Specify a negative value to return all versions up to the absolute value of the version number. For example: <prelang="javascript">BridgeTalk.getTargets( "-9.9" )<br/>=> [photoshop-9.0, photoshop-9.5]</pre>|
|`locale`| String | Optional. The specific locale to search for, or null to `return` applications for all locales, with locale information. If not supplied when version is supplied, returns specifiers with version information only. |
|`timoutInSecs`| Number | Optional. A maximum number of seconds to wait for a result before returning from this function. The message is sent synchronously, and the function does not return until the target has processed the message or this number of seconds have passed. If not supplied or 0, the message is sent asynchronously, and the function returns immediately without waiting for a result. |
244
-
|`launchParameters`| String | Optional. A string of parameters to append to the name of the target application when launching it, if the application is not already running. If the target application is already running, this value is ignored. |
|`timoutInSecs`| Number | Optional. A maximum number of seconds to wait for a result before returning from this function. The message is sent synchronously, and the function does not return until the target has processed the message or this number of seconds have passed. If not supplied or 0, the message is sent asynchronously, and the function returns immediately without waiting for a result. |
244
+
|`launchParameters`| String | Optional. A string of parameters to append to the name of the target application when launching it, if the application is not already running. If the target application is already running, this value is ignored. |
0 commit comments