Re: Convert Text to Variable Name
Re: Convert Text to Variable Name
- Subject: Re: Convert Text to Variable Name
- From: Christopher Stone <email@hidden>
- Date: Sat, 15 Jan 2011 05:11:52 -0600
On Jan 14, 2011, at 18:49, Matthew Smith wrote:
> I am having trouble understanding why you would want to do this. The closest I can come to understanding this in a programming context is the use of pointers. Another thought is you are trying to mimic a dictionary construct.
______________________________________________________________________
Hey Folks,
I was simply experimenting with a different way to build a lookup-table. As things stand now I'll use a basic text table and the Satimage.osax's 'find' with regular expressions to do the lookup.
I'm going to pull title and url information from the front Safari window and parse it according to various rules, and then I'm going to run the result against a lookup-table for keyword(s) == folder-path record - then I'm going to script Default Folder to save to that specific folder. If the lookup fails I'll drop into the root webarchive folder.
Since I save more than a few webarchives on rather eclectic topics (but many from the same sources) it'll save me quite a bit of time and navigation.
I'll trigger this action with QuicKeys or Keyboard Maestro (whichever is faster).
(Yes; I'm aware of utilities like Hazel, but I'm more interested in doing it my way at the moment.)
Thanks to all who contributed.
--
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden