AppleScript Info

January 2003
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Dec   Feb

contact: rob at donotsell.net

 Monday, January 27, 2003
Apple Technote: do shell script in AppleScript

This Technote describes basic techniques and answers common questions for AppleScript's do shell script command, which was introduced in AppleScript 1.8.
11:25:02 PM    

Google Search: How to take a screen shot from AppleScript

A recent Google search for "How to take a screen shot from AppleScript" landed someone on this web site. If you are using Jaguar, it offers the ability to take screen shots via the command line, which means that it can also be done via AppleScript. Apple's Ken Bereskin offers details about the command line utility 'screencapture' which makes this possible. For a simple AppleScript demo, run this from your favorite AppleScript script editor and then take a look at the clipboard (via the Finder's Edit menu). The script simply takes a screen shot and sends it to the clipboard.

do shell script "/usr/sbin/screencapture -c"

I use this in a script that takes a screen shot, places it in a GraphicConverter window, and then saves it as a JPEG file on the desktop. If you are running a version of Mac OS prior to OS X, you'll likely need an osax to script this task. A visit to osaxen.com should be sufficient to find an osax to handle the job and I'd be surprised if Akua Sweets doesn't offer this capability.
9:59:53 PM    

Use OmniGraffle and AppleScript to create a visual map of web site traffic

James Spahr used OmniGraffle and AppleScript to generate a visual mapping/representation of his website's traffic. The result is quite interesting.... [mrbarrett.com]
7:23:10 PM    

iView MediaPro weblog is now Safari friendly

If you've visited the iView MediaPro weblog recently while using Safari, you may have discovered that Safari was having problems displaying the content. Modifications have now been completed to address the issue, so you might want to check it out for iView MediaPro news, tips, templates and scripts.
12:57:01 PM    

Mac Net Journal: Nisus reminds everyone that Writer is still coming

There is no target date for the release of Nisus Writer, but the company assures OS X users that it is coming... Note: The article referenced by MNJ goes on to say: "The Mac OS X version of the word processor will have three ways of creating macros: AppleScript, Perl, and menu-based macros."
12:37:15 PM    

Squid Manager 1.2

Squid Manager is an AppleScript Studio application that provides a simple graphical interface for controlling and monitoring a Squid web proxy cache. Users can perform many tasks, including starting and stopping Squid, rotating the Squid log files, enabling full debugging mode, and reloading the configuration file. Actions can be performed via menus, key commands, and directly from the Dock. [MacScripter.net]
9:19:05 AM