Bleh, Google tossed the attached script in my previous post. You can download it at http://files.me.com/jonstovell/o0w488
On Sep 20, 6:11 pm, Jon Stovell <[email protected]> wrote: > > As far as persistent properites goes, I'm wondering if QS uses > > executeAndReturnError from the NSAppleScript class to run > > applescripts. I found a discussion pointing out that this method does > > not allow for persistent properties. > > > >http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ > C... > > I think you may be right. In a discussion just a couple days ago in > another thread here, this very problem was discovered and pointed out > to me after I made a similar suggestion there. > > > So I'm thinking that the script could create a text file in /tmp and > > store the login properties there. > > /tmp would not be a good place, because /tmp is emptied after every > reboot. If the script is going to save the data in a file better > storage location would be within ~/Library/Application Support/ > Quicksilver. > > However, it occurs to me that since account info and passwords are > involved here, the proper place to store this info is in the user's > keychain using keychain scripting. In the attached script I've > included a handler to do so. > > > As far as getting the php script embedded in the applescript, that's > > going to take someone who knows php. I tried to escape out from the > > single and double quotes, and even tried variations of using extra > > back-slashes, but I could not get it to work. I wonder if when a > > method containing single quotes is called the quotes need to be > triple > > or extra escaped in someway.... > > Does this work? I can't test it because I don't have a Google voice > account.
