agboh Posted April 1, 2013 Share Posted April 1, 2013 (edited) Hi all. I am thinking about using Alfred workflows to create shortcuts for Evernote. What I want to achieve is: Select a text > press a shortcut ( say, control + b ) > change the selection to a preset format ( say, red & bold ) Is it possible to set up? Any suggestions? Edited April 1, 2013 by agboh Link to comment
jdfwarrior Posted April 1, 2013 Share Posted April 1, 2013 Hi all. I am thinking about using Alfred workflows to create shortcuts for Evernote. What I want to achieve is: Select a text > press a shortcut ( say, control + b ) > change the selection to a preset format ( say, red & bold ) Is it possible to set up? Any suggestions? I'm not saying this isn't possible but I am not 100% sure how to accomplish the bold portion. tell application "TextEdit" set the color of every word in document 1 to {60000, 1, 1} end tell That will set the color of the selected text to red. The only issue I'm running into is the bold. Using AppleScript to simulate Cmd+B doesn't seem to work. Link to comment
agboh Posted April 2, 2013 Author Share Posted April 2, 2013 Thanks! I think your applescript works with TextEdit, but is there any way I can make it work in Evernote? Link to comment
jdfwarrior Posted April 3, 2013 Share Posted April 3, 2013 Thanks! I think your applescript works with TextEdit, but is there any way I can make it work in Evernote? I didn't have Evernote installed so yes, my script works with TextEdit because that's what I had to test with. DId you try it with Evernote, replacing "TextEdit" with "Evernote" in the script? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now