|
|
Clip to Evernote via Quicksilver and AppleScript
I've updated the script to be a little easier to use and to be more (but not completely) compatible with Evernote's email tagging syntax.
Fix The Parsing of The Note's Title in Clip to Evernote via Quicksilver and AppleScript
Hi,
the titles were not being parsed correctly due to a bug. Changing the "=" into "≠" as below will fix it.
≠
Fix The Parsing of The Note's Title in Clip to Evernote via Quicksilver and AppleScript
Actually, the problem I see is that the default title, if it is set to a non-empty string, overrides any title specified in the input string. This may be working-as-designed, but you may prefer it not to behave this way. If you want it the other way around...that is the input string's title, if present, overrides the default title... then try this for gettitle():
to gettitle()
set title to ""
set cpos to offset of ":" in txt
if cpos > 0 then
set title to my trim(text 1 thru (cpos - 1) of txt)
end if
if title = "" then
set title to my getdata("title:", defaults's title)
end if
return title
end gettitle
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|