|
7574 | 7574 | "entries": [
|
7575 | 7575 | {
|
7576 | 7576 | "name": "image",
|
7577 |
| - "description": "Adds an image to the document. If the image argument is given as a string the image file must be in the document's data directory which is in the same directory where the document is saved in. The image argument can also be a File instance which can be placed even before the document was saved. The second argument can either be the `x` position of the frame to create or an instance of a rectangle, oval or polygon to place the image in. If an `x` position is given, a `y` position must be given, too. If `x` and `y` positions are given and width and height are not given, the frame's size gets set to the original image size.", |
| 7577 | + "description": "Adds an image to the document. If the image argument is given as a string, the path can point either directly at an image in the document's data directory or be specified as an absolute path to the image file. The image argument can also be a File instance. The second argument can either be the `x` position of the frame to create or an instance of a rectangle, oval or polygon to place the image in. If an `x` position is given, a `y` position must be given, too. If `x` and `y` positions are given and width and height are not given, the frame's size gets set to the original image size.", |
7578 | 7578 | "returns": {
|
7579 | 7579 | "name": null,
|
7580 | 7580 | "description": "The item instance the image was placed in.",
|
|
7641 | 7641 | },
|
7642 | 7642 | {
|
7643 | 7643 | "title": "description",
|
7644 |
| - "description": "Adds an image to the document. If the image argument is given as a string the image file must be in the document's data directory which is in the same directory where the document is saved in. The image argument can also be a File instance which can be placed even before the document was saved. The second argument can either be the `x` position of the frame to create or an instance of a rectangle, oval or polygon to place the image in. If an `x` position is given, a `y` position must be given, too. If `x` and `y` positions are given and width and height are not given, the frame's size gets set to the original image size." |
| 7644 | + "description": "Adds an image to the document. If the image argument is given as a string, the path can point either directly at an image in the document's data directory or be specified as an absolute path to the image file. The image argument can also be a File instance. The second argument can either be the `x` position of the frame to create or an instance of a rectangle, oval or polygon to place the image in. If an `x` position is given, a `y` position must be given, too. If `x` and `y` positions are given and width and height are not given, the frame's size gets set to the original image size." |
7645 | 7645 | }
|
7646 | 7646 | ],
|
7647 | 7647 | "examples": [],
|
|
7945 | 7945 | },
|
7946 | 7946 | {
|
7947 | 7947 | "name": "loadString",
|
7948 |
| - "description": "Reads the contents of a file or loads an URL into a String. If the file is specified by name as String, it must be located in the document's data directory.", |
| 7948 | + "description": "Reads the contents of a file or loads an URL into a String. If the file is specified by name as string, the path can point either directly at a file in the document's data directory or be specified as an absolute path.", |
7949 | 7949 | "returns": {
|
7950 | 7950 | "name": null,
|
7951 | 7951 | "description": "String file or URL content.",
|
|
7974 | 7974 | },
|
7975 | 7975 | {
|
7976 | 7976 | "title": "description",
|
7977 |
| - "description": "Reads the contents of a file or loads an URL into a String. If the file is specified by name as String, it must be located in the document's data directory." |
| 7977 | + "description": "Reads the contents of a file or loads an URL into a String. If the file is specified by name as string, the path can point either directly at a file in the document's data directory or be specified as an absolute path." |
7978 | 7978 | }
|
7979 | 7979 | ],
|
7980 | 7980 | "examples": [],
|
|
7984 | 7984 | },
|
7985 | 7985 | {
|
7986 | 7986 | "name": "loadStrings",
|
7987 |
| - "description": "Reads the contents of a file or loads an URL and creates a string array of its individual lines. If the file is specified by name as string, it must be located in the document's data directory.", |
| 7987 | + "description": "Reads the contents of a file or loads an URL and creates a string array of its individual lines. If the file is specified by name as string, the path can point either directly at a file in the document's data directory or be specified as an absolute path.", |
7988 | 7988 | "returns": {
|
7989 | 7989 | "name": null,
|
7990 | 7990 | "description": "Array of the individual lines in the given file or URL",
|
|
8013 | 8013 | },
|
8014 | 8014 | {
|
8015 | 8015 | "title": "description",
|
8016 |
| - "description": "Reads the contents of a file or loads an URL and creates a string array of its individual lines. If the file is specified by name as string, it must be located in the document's data directory." |
| 8016 | + "description": "Reads the contents of a file or loads an URL and creates a string array of its individual lines. If the file is specified by name as string, the path can point either directly at a file in the document's data directory or be specified as an absolute path." |
8017 | 8017 | }
|
8018 | 8018 | ],
|
8019 | 8019 | "examples": [],
|
|
0 commit comments