Other Scripts
These are scripts for various applications that simply don't fit anywhere else.
Contents:
Run Virtual PC Faster
ViaVoice / Speakable Items text transfer
Stickies content check
For users of Virtual PC, ibson wrote this useful little script. There is a little trick where users quit the Finder to squeeze a little more performance from a demanding application like Virtual PC. This Applescript takes that concept a little further by quiting the Finder, Control Strip, and assigning all your memory to Virtual PC.
Sometimes while on AOL, I'll forget to copy a screen name or URL that a reader has IM'ed to me. Once you close the chat window, you may feel it's gone forever!
Erick Tejkowski sent this great Applescript for users of the new ViaVoice:
I just received my copy of ViaVoice and enjoy it a lot.One thing missing for me, however, was the fact that ViaVoice will only let you transfer text directly to Word, AOL, Netscape, IE, and AppleWorks.
I program a lot, so transfering to BBEdit was something I really wanted. My solution (however inelegant) is to use ViaVoice for dictation. Then, turn off the microphone in ViaVoice (by voice cmd or key shortcut) and turn on Apple Speakable Items, where I have a script that will transfer the text for me. I have my SpeakableItems set to turn on with the 'esc' key in the Speech control panel.
Here's the simple script I used. It's not much, but it might give some of your readers a few ideas. One last thing, I named the script "Transfer to B B Edit" to keep in line with the scheme used by default in ViaVoice. Separating the "B" and "E" characters by a space also seems to improve my Mac's recognition of my utterance. Enjoy!
Kevin Patfield submitted this AppleScript:
Stickies are excellent for leaving "to-do" notes for things to do next time you use your Mac. Unfortunately, if you just put an alias of the Stickies application in your Startup folder (or check "Launch at System Startup" in its preferences), you are greeted by a blank sticky if you start with no stickies present. The following script avoids this by first checking whether the stickies file is empty or not.
on run
tell application "Finder"
activate
set theSize to size of file "Stickies File" of preferences folder
if theSize > 6 then
tell application "Stickies"
activate
end tell
end if
end tell
end run
Back to the Archive