|
1 |
| -AppleScript add-ons for the `Adium <http://www.adium.im/>`_ instant messaging |
2 |
| -client. Tested to work with the Adium 1.4 release. All scripts here are |
3 |
| -released into the public domain. |
| 1 | +AppleScript add-ons for the `Adium <http://www.adium.im/>`_ instant messaging client. |
| 2 | +All scripts here are released into the public domain. |
4 | 3 |
|
5 | 4 | ============
|
6 | 5 | iTunesExtras
|
7 | 6 | ============
|
8 | 7 |
|
9 |
| -Provides a handful of iTunes message tokens missing from Adium's default |
10 |
| -collection. If no track is playing, all of these tokens will give no output. |
| 8 | +Provides a handful of iTunes message tokens missing from Adium's default collection. |
| 9 | +If no track is playing, all of these tokens will give no output. |
11 | 10 |
|
12 | 11 | ``%_discNumber``
|
13 |
| - The disc number of the current iTunes track, or "0" if no disc number is |
14 |
| - specified. |
| 12 | + The disc number of the current iTunes track, or "0" if no disc number is specified. |
15 | 13 |
|
16 | 14 | ``%_rating``
|
17 |
| - The rating of the current iTunes track, as Unicode filled or empty stars |
18 |
| - (e.g., ★★★☆☆). Zero stars (☆☆☆☆☆) are output if the current track is |
19 |
| - unrated. |
| 15 | + The rating of the current iTunes track, as Unicode filled or empty stars (e.g., ★★★☆☆). |
| 16 | + Zero stars (☆☆☆☆☆) are output if the current track is unrated. |
20 | 17 |
|
21 | 18 | ``%_startTime``
|
22 |
| - The estimated time at which the current track started playing (e.g., |
23 |
| - 10:15:35), calculated by subtracting the current position in the track from |
24 |
| - the current time. Pausing the track will affect the reported start time. |
| 19 | + The estimated time at which the current track started playing (e.g., "10:15:35"), |
| 20 | + calculated by subtracting the current position in the track from the current time. |
| 21 | + Pausing the track will affect the reported start time. |
25 | 22 |
|
26 | 23 | ==============
|
27 | 24 | StatusIncludes
|
28 | 25 | ==============
|
29 | 26 |
|
30 |
| -Returns the message or autoreply text of a saved status, given its title |
31 |
| -(matches are performed case-insensitively). If no status exists with the |
32 |
| -specified title, or the requested property is not specified for the included |
33 |
| -status, all of these tokens will give no output. Further substitution of |
34 |
| -tokens is performed within included text, so including a status message with |
35 |
| -"%_track" will output the current iTunes track instead of simply displaying a |
36 |
| -literal "%_track". Rich text formatting may be lost. |
| 27 | +Returns the message or autoreply text of a saved status, given its title (matches are performed case-insensitively). |
| 28 | +If no status exists with the specified title, or the requested property is not specified for the included status, all of these tokens will give no output. |
| 29 | +Further substitution of tokens is performed within included text, |
| 30 | +so including a status message with ``%_track`` will output the current iTunes track instead of simply displaying a literal ``%_track``. |
| 31 | +Rich text formatting may be lost. |
37 | 32 |
|
38 | 33 | ``%_includeAutoreply{`` *statusTitle* ``}``
|
39 | 34 | The autoreply text of the status with the given title.
|
|
0 commit comments