For what it's worth...

A few AppleScripts that may be of interest to Emailer users running 
Classic on OS X 10.4 are now available here:

http://www.mythtech.net/emailer/AppleScripts/Mail-Temp-WindowScripts.zip

Chris was kind enough to host them, and I hope they are of some use.

The notes below accompany the scripts.

Comments and suggestions are welcome.

Peter B.

bunnz (at) mhtc.net


-----

3/6/07

Using Claris Emailer 2.0v3 in Classic on Tiger (on OS X 10.4), I 
encountered certain quirks that I found annoying (in my transition direct 
from OS 9).  I wrote these scripts to address some of those quirks.

Emailer often seems to 'forget' user preferred window positions on quit 
and relaunch... and the Browser window likes to shrink up to the upper 
left corner of the screen, making it somewhat difficult to do anything.  
'Reposition Emailer Windows' is a workaround for this and is described 
below.  Similarly, message windows seem to prefer the upper left corner.  
'Reposition Message Window' relocates and expands any message window to a 
more convenient location.  

The last three scripts all try to work around the 'Temp Incoming' folder 
problem (for which there seems to be no real 'cure').  As I understand 
it, Emailer doesn't always unpack (or properly delete) temporary files it 
uses when receiving mail.  This results in duplicate mail items that 
often seem to 'arrive' at different times (though in fact they almost 
always have the same date stamp).  The three scripts all deal with Temp 
Incoming in the same way... but provide different options in combination. 
 None represent a cure, but they make life with Temp Incoming a little 
easier.  The advantage of combining the 'check mail' function with the 
handling of the Temp Incoming folder is that - usually - an unpacked item 
is reported immediately... and the date stamp can be compared to the 
(likely) duplicate item in the In Box.

The scripts have not been tested elsewhere, or on any version of OS X 
prior to or after 10.4.3, but they've run well on my machine for several 
months without a problem.  One or more may have to be tweaked to work on 
other machines.

The notes below also appear as headers in the scripts.

I'm hoping they will be of use to some of you in the Emailer community...

----------------------------------------------------------------------

Reposition Message Window

-- This script will resize and reposition an open Emailer message window ¬
-- to a central location on a 12" laptop screen.  

-- By fiddling with the numeric bounds you can set a preferred window ¬
-- position and size for your own screen.

-- This script can be run from Emailer's script menu.

------------------------------------

Reposition Emailer Windows

-- Emailer in Classic (on OS X 10.4), often seems to 'forget' user 
preferred window positions on quit and relaunch...

-- This script will resize and reposition Emailer's Browser and 
Connection windows to a centered location (on a 12" laptop ¬
-- screen).  It 'assumes' those windows are open on startup.  It will not 
open the windows.  The script also brings the ¬
-- Connection window to the front.

-- By fiddling with the numeric bounds you can set a preferred window 
position and size for your own screen.

-- This script can be run from Emailer's script menu.

------------------------------------

Temp Incoming Check-Delete

-- This script checks to see if there are unpacked messages in Emailer's 
'Temp Incoming' folder. ¬
-- If there are, a dialog appears offering the option to quit and 
relaunch Emailer.  Usually, on relaunch, ¬
-- Emailer will unpack the message(s)... presenting a duplicate message 
(with an identical time ¬
-- stamp) in the In Box... which can then be deleted.  The 'Temp 
Incoming' folder is checked again and ¬
-- if empty, a second dialog appears offering the option to quit Emailer, 
delete 'the Temp Incoming' ¬
-- folder and relaunch Emailer.  If the discarded 'Temp Incoming' folder 
is the ONLY item in the trash, ¬
-- the trash will be emptied.

-- The script is more conveniently used in 'combined form' with a mail 
check (see alternate ¬
-- 'Check Mail-Temp Incoming').

-- The script calls on AppleScript GUI scripting methods and must be run 
under ¬
-- OS X, rather than Classic.  In addition, in Universal Access system 
preferences, 'Enable access  ¬
-- for assistive devices' must be on (checked).  It can be run in 
compiled form using a keyboard script ¬
-- utility, or as an application from the Dock.

-- This script CANNOT be run successfully from Emailer's script window, 
as Emailer ¬
-- may be told to quit in process.


------------------------------------

Check Mail-Temp Incoming

-- This script combines a mail check and the features of the 'Temp 
Incoming Check-Delete' script.

-- As written, the script will both check AND send mail.

-- The user must open the script and enter his/her current Emailer 
account name in the
-- script at "???", and save the script before use.

-- The script calls on AppleScript GUI scripting methods and must be run 
under ¬
-- OS X, rather than Classic.  In addition, in Universal Access system 
preferences, 'Enable access  ¬
-- for assistive devices' must be on (checked).  It can be run in 
compiled form using a keyboard script ¬
-- utility, or as an application from the Dock.

-- This script CANNOT be run successfully from Emailer's script window, 
as Emailer ¬
-- may be told to quit in process.

------------------------------------

'Duluxe'

-- This script combines the features of the 'Reposition Emailer Windows' 
and 'Check Mail - Temp Incoming' scripts.

-- As written, the script will both check AND send mail.

-- The user must open the script and enter his/her current Emailer 
account name in the 
-- script at "???", and save the script before use.

-- The script calls on AppleScript GUI scripting methods and must be run 
under ¬
-- OS X, rather than Classic.  In addition, in Universal Access system 
preferences, 'Enable access  ¬
-- for assistive devices' must be on (checked).  It can be run in 
compiled form using a keyboard script ¬
-- utility, or as an application from the Dock.

-- This script CANNOT be run successfully from Emailer's script window, 
as Emailer ¬
-- may be told to quit in process.

----------------------------------------------
-----------------------------------------------------------


___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to