Jump to content

qot

Level 2
  • Posts

    79
  • Joined

  • Last visited

About qot

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

qot's Achievements

23

Reputation

  1. You should be able to easily change it to work with any language. You'll need to modify the name of the Font dialog. Change the word "Font" to be whatever your one is: WinWait Font, , 5 And then on these two lines: Send !y%weight% ; StyleSend !s%size% ; Size You'll need to make sure the keyboard shortcuts still work in your language. Here is my Font dialog. Notice how there is an underline under the 'y' of 'Style', and under the 'S' of 'Size'. That is the shortcut key. Have a look in your one and find out what letter it is, and then change the two lines of the script to match. I've highlighted in red the two letters in the snippet of code above. Save it and reload, and it should work for you!
  2. Ah well, perhaps "programmatically" was a poor choice of words. I can't figure out how one would do that in AutoHotKey
  3. For your use case (multi-line), you could delete the line in the script that says "Send {Home}+{End} ; Select the current line ", and just select the text yourself before pushing the hotkey. I can't think of any way to programmatically determine whether a heading is one line or multi-line.
  4. Thanks for the feedback. I'm using Win10 as well (and 7), so must be some other trickery going on. I've added the comma into the OP. The {tab} should be unneccesary as we're sending alt+y and alt+s to switch between those two fields. Was it failing to switch?
  5. @xaa I've just made a couple of changes to the script which makes it a lot more reliable. There were a few times that keystrokes were getting missed in the Font dialog.
  6. I totally agree, but I wish more people would give this script a go. I had almost quit using Evernote in frustration until I got this going. I actually use a great bit of software for journaling called "The Journal" by DavidRM, and it supports styles perfectly. I can't understand why Evernote can't do the same....
  7. Thanks for the kind words Arcanjo! I've gone and updated the main script to make it easier for people to add their own styles, have a look.
  8. Except not. This seems to be something useful on the Windows Desktop client only. One of the key points in this request is to have it work across all devices supported by Evernote. I do not see anywhere in the original request that the font changing should be available on all platforms, just that whatever font is set in Windows needs to be available in all platforms. The request for a button or a change to the font list seems like a Windows request to me.
  9. Here you go Xenna, just use my script to set up hotkeys for any font choices / sizes / colours you wish. It's very very easy. Create hotkeys to set predefined font and H1, H2, H3 styles
  10. Change the first line to this and it should work for both the main EN window and the single note window:GroupAdd, EN_Windows, ahk_class ENMainFrameGroupAdd, EN_Windows, ahk_class ENSingleNoteView#IfWinActive, ahk_group EN_Windows Thanks Scott, I've updated my post.
  11. I use a lot of scripts that would only make sense for me and they way I use Evernote, but let me know what you're looking for and I'd probably be able to make one for you.
  12. With this script you can press Control + Shift + 1 through 9, and it will set user defined custom styles to your selected note text. If I haven't made any parts of this tutorial easy to follow, please let me know. I use a lot of AutoHotKey scripts to automate Evernote, and I thought I'd share some of them. AutoHotKey is an incredible bit of (free) software that can automate anything that you can physically do with your computer. If you don't have a copy, you'll need to install it for this to work. To make sure your script is running every time you start Windows, do this. I work on a lot of documentation in Evernote, and I wanted a way to easily set standard heading and paragraph styles. I created a little script that let's me send Ctrl + Shift + 1 through 9 to set various styles that I have defined. Here's the script, and then I'll explain how it works: #IfWinActive, ahk_exe evernote.exe ^1::SetFontStyle("bold", 18) ^2::SetFontStyle("italic", 16) ^3::SetFontStyle("bold", 14) ^Space::SetFontStyle("regular", 12) #IfWinActive SetFontStyle(weight, size) { currentSendMode := A_SendMode ; Get the current Send Mode SendMode Event ; Event mode works better in the Font dialog Send {Home}+{End} ; Select the current line Send ^d ; Open the Font dialog box WinWait Font, , 5 Sleep 200 Send !y%weight% ; Style Send !s%size% ; Size Send {Enter} SendMode %currentSendMode% } The first hotkey Control + Shift + 1 sets the font to be 18pt bold. The second hotkey Control + Shift + 2 sets the font to be 16pt italic. If you want to change the settings to suit yourself, just edit the lines in the middle that are marked. You can make yourself as many hotkeys as you like, here's the format for doing them: https://autohotkey.com/docs/Hotkeys.htm Here's the explanation: First off is the #IfWinActive command. This means the hotkeys will only be active if the Evernote window is in the foreground. The next lines call a function named SetFontStyle when you press a hotkey. "^+1::" means if Control (^), Shift (+) and the number 1 key are pressed at the same time, it knows to run the function with a font style of "bold" and a font size of "18". In the SetFontStyle function, "Send ^d" sends the keystroke Control + D, to bring up the font dialog box. We then wait for the Font dialog window to pop up. Next line tabs to the font style part of the box and sets it as bold, then tabs to the font size and sets it as 18 points. We then hit enter and exit the dialog. Simple! Hope this helps someone. --- If you have another language than English, please follow these instructions to make it work with your language: You'll need to modify the name of the Font dialog. Change the word "Font" to be whatever your one is: WinWait Font, , 5 And then on these two lines: Send !y%weight% ; StyleSend !s%size% ; Size You'll need to make sure the keyboard shortcuts still work in your language. Here is my Font dialog. Notice how there is an underline under the 'y' of 'Style', and under the 'S' of 'Size'. That is the shortcut key. Have a look in your one and find out what letter it is, and then change the two lines of the script to match. I've highlighted in red the two letters in the snippet of code above. Save it and reload, and it should work for you!
  13. That's great for expanding everything but not collapsing just the stacks. Hit the minus key on the keypad to collapse them.
  14. Much like in every other Windows application, you can select the top stack and press the asterisk key on your numberpad. (The * key) This will not work by pressing shift-8.
×
×
  • Create New...