Inlineimage » History » Version 13
Per Amundsen, 09/06/2019 04:35 PM
1 | 1 | Per Amundsen | _Added in 3.1_ |
---|---|---|---|
2 | |||
3 | 13 | Per Amundsen | */inlineimage [-asiNrc] [window] <file|url>* |
4 | 1 | Per Amundsen | |
5 | 11 | Per Amundsen | Inserts a inline image file or url into the specified window text buffer at the Nth line or at the end. |
6 | 1 | Per Amundsen | |
7 | 2 | Per Amundsen | _See also [[Inline Images Options|Inline Images]]._ |
8 | |||
9 | 1 | Per Amundsen | *Switches* |
10 | |||
11 | -a - Insert into the active window. |
||
12 | -s - Insert into the associated server window. |
||
13 | -iN - Insert at the Nth line in the text buffer. |
||
14 | -r - Removes a file or url from a window, if no window is specified, removes from all windows. |
||
15 | 13 | Per Amundsen | -c - Clears all files or urls from a window, if no window is specified, clears from all windows. |
16 | 1 | Per Amundsen | |
17 | *Parameters* |
||
18 | |||
19 | [window] - Window to insert into. |
||
20 | <file|url> - File path or url to insert. |
||
21 | |||
22 | *Example* |
||
23 | |||
24 | <pre> |
||
25 | 3 | Per Amundsen | ; If a url or file is already cached, the cached image will be used instead. |
26 | |||
27 | 1 | Per Amundsen | ; Inserts a image from a file into the text area. (the image is copied to the cache folder) |
28 | /inlineimage -a C:\Users\user\Pictures\image.jpg |
||
29 | |||
30 | 4 | Per Amundsen | ; Inserts a image from a url into the text area. (the image is downloaded to the cache folder) |
31 | 1 | Per Amundsen | /inlineimage -a https://i.imgur.com/6BexrUQ.jpg |
32 | 6 | Per Amundsen | |
33 | 12 | Per Amundsen | ; Inserts a image from a url into the text area at the 5th line. (the image is downloaded to the cache folder) |
34 | /inlineimage -ai5 https://i.imgur.com/6BexrUQ.jpg |
||
35 | |||
36 | 6 | Per Amundsen | ; Removes a image from the current window. |
37 | 7 | Per Amundsen | ; If no window is using the url/file, the cached file will be deleted. |
38 | 6 | Per Amundsen | /inlineimage -ar https://i.imgur.com/6BexrUQ.jpg |
39 | |||
40 | 9 | Per Amundsen | ; Removes a image from all windows. |
41 | 7 | Per Amundsen | ; If no window is using the url/file, the cached file will be deleted. |
42 | 6 | Per Amundsen | /inlineimage -r https://i.imgur.com/6BexrUQ.jpg |
43 | 1 | Per Amundsen | </pre> |