derek, gwen, justin & sara tom in hong kong
June 18, 2004
Seeking Flash screen recording software for Macs

Here was my post on MacInTouch about "Flash screen recording" software:


Have been trying to find Mac software that does "screen recording to
Flash (SWF)". Did searches on Google and VersionTracker and came up
empty. In the PC world there are several such programs that are
excellent for software demos and training.

For screen recording, the Flash format is much better than video
formats such as QuickTime or AVI because the files are much smaller,
playback starts almost instantly without any stalls or jerkiness, and
you can make it interactive. Notes, captions, callouts, commentary,
and sound effects can be easily added.

Here are some examples of the Flash-based software demos:

  1. [Backup Movie]
  2. [File Scavenger]
Here are some PC-based "screen recorder to Flash" applications and
all offer free trials:
  1. ViewletCam ($99)
  2. Macromedia RoboDemo (formerly Flash Cam, $499)
  3. BB FlashBack ($199)
  4. Camtasia Studio ($299)
  5. FlashCast ($129.99)

Posted by derek at 10:09 AM
AppleScript for EIMS Archive Filter

I posted this last night to the EIMS-L mailing list which discusses usage and administration of the Mac-based EIMS (Eudora Internet Mail Server) mail server. No response from anyone on the list!... But I do hope it's helpful for others. It works well for me!

I have pieced together an AppleScript that might be helpful if you use the EIMS Archive Filter. I have been using the script with EIMS Server X 3.2.4 and Archive Filter X 1.1a1 on OS X Server 10.3.4. By scheduling the script to run daily, you can automatically have each day's archived messages saved in a folder with the date (YYYYMMDD format) as the name to another disk/partition.

Don't laugh because I'm a total AppleScript beginner and by posting this here, I am hoping more experienced AppleScripters can make corrections and improvements (error checking, etc) and share it with everyone here. I have been using this for about 2 weeks and it works well for my needs.

To use, copy from below everything after ===== and paste into Apple's Script Editor. Follow the 'Setup instructions' (basically, just edit 3 variables to match your environment) and then hit the Compile button. Save as 'Application' file format and no other options. Use CronniX and choose File > System Crontab. Create a new crontab entry to run your AppleScript at 11:59pm (23:59). Should look something like this:

59 23 * * * root /usr/bin/open /Volumes/MS/cronnix/ArchiveFilter_script.app

That's pretty much it. Hope this is helpful for others. Again, corrections and comments very much welcomed!

Cheers,
Derek

P.S. Thanks to Kurt Harvey for passing on Webgraph's EIMS Log Archive script which was very helpful.

=====

-- The date calculation part of this script is from Webgraph, Inc.'s 'EIMS Log Archive 0.9.scr' script
-- The remaining few lines I got from just scrounging around for the correct verbs and syntax, partly from 1 script-record session

-- What this script does:
-- 1. Deletes previous day's 'Archived mail' folder (folder would have been named previous day's date in YYYYMMDD format) if it exists
-- 2. Empties trash
-- 3. Quits 'EIMS Server X'
-- 4. Renames 'Archived mail' folder to today's date in YYYYMMDD format
-- 5. Relaunches 'EIMS Server X' (EIMS automatically creates new 'Archived mail' folder)
-- 6. Copies YYYYMMDD folder (previous 'Archived mail' folder) to target disk (root level)

-- Assumptions:
-- 1. EIMS is running when this script is run
-- 2. This script is scheduled to run exactly once per day (at 11:59pm recommended)
-- 3. Name of EIMS app is 'EIMS Server X'
-- 4. Path to 'Archived mail' folder is MS:eims:Mail Folder:Archived mail
-- 5. Path to EIMS app is MS:eims:EIMS Server X
-- 6. Target disk is 'archiveDisk'

-- Setup instructions:
-- If you renamed your EIMS app, do a find and replace for 'EIMS Server X' (2 instances)
-- For items 4, 5, 6 above, change settings (labeled 1, 2, 3 below near the end) to match your environment

------------------------------------------------------------------------------
-- Date calculation for folder renaming
------------------------------------------------------------------------------
-- Day
on shortDay(theDate) -- Takes AppleScript date parameter
set {dd, theMonth, yyyy} to the {day, month, year} of theDate
if dd is less than 10 then
set dayZero to "0"
else
set dayZero to ""
end if
return (dayZero & dd) as text
end shortDay
on shortDay2(theDate) -- Takes AppleScript date parameter
set {dd, theMonth, yyyy} to the {day, month, year} of theDate
if dd is less than or equal to 10 then
set dayZero to "0"
else
set dayZero to ""
end if
return (dayZero & dd - 1) as text
end shortDay2

-- Month
on shortMonth(theDate) -- Takes AppleScript date parameter
set {dd, theMonth, yyyy} to the {day, month, year} of theDate
set theMonths to {January, February, March, April, May, June, July, August, September, October, November, December}
repeat with mm from 1 to 12
if item mm of theMonths is theMonth then exit repeat -- replaces the month names with numbers
end repeat
if mm is less than 10 then
set monthZero to "0"
else
set monthZero to ""
end if
return (monthZero & (mm as string)) as text -- returns the current month as a two-digit number
end shortMonth

-- Year
on longYear(theDate) -- Takes AppleScript date parameter
set {dd, theMonth, yyyy} to the {day, month, year} of theDate
return (yyyy) as text -- returns the current year
end longYear
on run
set archiveDay to shortDay(the current date)
set archiveDay2 to shortDay2(the current date)
set archiveMonth to shortMonth(the current date)
set archiveYear to longYear(the current date)
set todaysDate to (archiveYear & archiveMonth & archiveDay) as text -- Sets today's date in YYYYMMDD format
set yesterdaysDate to (archiveYear & archiveMonth & archiveDay2) -- Sets yesterday's date in YYYYMMDD format

------------------------------------------------------------------------------
-- actions
------------------------------------------------------------------------------

tell application "Finder"
if folder yesterdaysDate of folder "Mail Folder" of folder "eims" of disk "MS" exists then
delete folder yesterdaysDate of folder "Mail Folder" of folder "eims" of disk "MS"
empty trash
end if
end tell

------------------------------------------------------------------------------
-- quit EIMS
------------------------------------------------------------------------------

tell application "Finder"
quit application "EIMS Server X"
end tell

tell application "Finder"
activate
------------------------------------------------------------------------------
-- 1. EDIT NEXT LINE: path to 'Archived mail' folder
------------------------------------------------------------------------------
set name of folder "Archived mail" of folder "Mail Folder" of folder "eims" of disk "MS" to todaysDate
------------------------------------------------------------------------------
-- 2. EDIT NEXT LINE: path to 'EIMS Server X' app
------------------------------------------------------------------------------
select file "EIMS Server X" of folder "eims" of disk "MS"
------------------------------------------------------------------------------
-- launch EIMS
------------------------------------------------------------------------------
open selection
------------------------------------------------------------------------------
-- 3. EDIT NEXT LINE: path to 'Archived mail' folder and your target disk
------------------------------------------------------------------------------
copy folder todaysDate of folder "Mail Folder" of folder "eims" of disk "MS" to disk "archiveDisk"
end tell
end run

Posted by derek at 09:41 AM