Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Thu, 02 Sep 2004
Some useful applescripts
I've been doing a little Applescripting to try to streamline my workflow. Perhaps some of what I've done will be useful to someone else.
The first script
uses lists of patterns to speed up filing lots of messages in Mail.app. You supply your own patterns, and then you get a simple UI for confirming that messages should be moved. I have three IMAP accounts that I use Mail.app to manage, and I usually select the INBOX folder, which shows the inboxes of all three accounts merged together. I also have more folders than fit in the vertical space available, so the script saves a lot of dragging and scrolling.
The second set of scripts are used to manage window layouts between Laptop and Desktop display configurations (these are callable via DisplayWatcher).
To capture the layout you want to restore, layout your applications the way your like them. Edit the apps variable in "Capture Window Positions" to be a list of your application names. Then run the script from Script Editor to get a list of window positions. You can then paste lines from the list of window positions into either "Windows for Desktop" or "Windows for Laptop". Yes, it's low tech, but it works for me. If you add tech, I'd love to hear about it.
[22:30] |
[computers/operating_systems/macosx] |
# |
TB |
F |
G |
1 Comments |
thanks for your useful applescripts, i really need them, especailly the first one"speed up filing lots of messages in Mail"!
to capture the window you can use AimOne Screen Recorder
http://www.51shareware.com/multimedia-design-video/aimone-screen-recorder10862-3.htm
Posted by Bill Kenny at Wed Sep 6 21:01:26 2006
to capture the window you can use AimOne Screen Recorder
http://www.51shareware.com/multimedia-design-video/aimone-screen-recorder10862-3.htm
Posted by Bill Kenny at Wed Sep 6 21:01:26 2006
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk