|
84734 packages online
|
|
|
|
|
|
No screenshot available
|
|
This ARexx script leaves out icons on the WorkBench for YAM e-mail
messages. A length-limited version of the message subject is used for the
icon name (special characters are also filtered out). When a message icon
is double- clicked it opens the e-mail message, launching YAM if it isn't
running.
It does so by creating an ARexx script (with .info file) to open a message,
then it performs a "Leave Out" on the Workbench. The default link file
location is the YAM program directory. Note: most special AmigaDOS
characters in the subject string are replaced with legal ones before
creating the icon name. Translation strings can be changed, but some
message names may not be legal AmigaDOS file names. See instructions below
for changing defaults.
Link files can be removed manually, or with the companion script
LvMsgOutClr. The removal script uses the same algorithm to generate a file
name, but still relies on user verification.
INSTALLATION:
1) Copy LvMsgOut.yam and LvMsgOutClr.yam to YAM:ARexx/
Copy Msg_Open.info to YAM: (the YAM program directory)
2) Check the YAM application path in variable YamApp. The default value
is 'YAM:YAM.OS4'
3) Assign the Rexx scripts to keys in YAM
OPTIONAL:
4) Change the Rexx file destination variable:
OpenScrDest = 'YAM:Users/' /* Message Link Destination */
5) Change the Rexx file name length. Warning: If message_name.info
exceeds the system file name length limit the icon file will not be
created.
MsgNameLen = 35 /* Max File name length, including .info */
6) Change character translation lines at your own risk. Variable CharsI
holds characters to be replaced, CharsO holds the replacement
characters:
CharsI = ' ,|#?/:<>()[]"' || "'" /* Characters In */
CharsO = '______-{}{}{}`' || "`" /* Characters Out */
7) Enable auto-delete in LvMsgOutClr.yam by un-commenting code at the end.
USAGE:
Creating message icons:
- Select a message (only one at a time) and run the script ...
- [File Requestor] Verify the file name and path.
Using "Left Out" Scripts (or not "Left Out" links)
- Double-click a message icon and the mail message will be opened
- (YAM will be run if it isn't running).
Removing "Left Out" Scripts (Put Away)
The script icon is "Put Away" and the directory contining the script is
opened on the workbench (the Rexx script is not deleted).
- Select a message (only one at a time) and run the script ...
- [File Requestor] Verify the file name and path.
LIMITATIONS/BUGS:
- The message icon name may not include AmigaDOS reserved characters
(LvMsgOut.yam replaces them based on a translation table).
- The Leave-Out operation fails if the destination directory for the Rexx
script has been left-Out on the Workbench.
|
Contents of comm/yam/lvmsgout.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 1301 1655 78.6% -lh5- 4096 Apr 18 23:18 LvMsgOut.info
[generic] 1623 3470 46.8% -lh5- 1278 May 1 23:56 LvMsgOut/LvMsgOut.readme
[generic] 4073 6511 62.6% -lh5- f041 Apr 18 23:18 LvMsgOut/LvMsgOut.readme.info
[generic] 2057 6022 34.2% -lh5- 5095 May 2 00:21 LvMsgOut/LvMsgOut.yam
[generic] 4346 6567 66.2% -lh5- e5a3 Apr 18 23:18 LvMsgOut/LvMsgOut.yam.info
[generic] 1336 3257 41.0% -lh5- 53ad Apr 18 23:07 LvMsgOut/LvMsgOutClr.yam
[generic] 4121 6567 62.8% -lh5- ee1e Apr 18 23:18 LvMsgOut/LvMsgOutClr.yam.info
[generic] 3128 5841 53.6% -lh5- ada7 Apr 18 23:18 LvMsgOut/MsgOpenRx.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 8 files 21985 39890 55.1% May 7 12:17
|
|
|
|
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |