Jump to content

Any way to do bulk "simplify formatting" operations?


Go to solution Solved by DTLow,

Recommended Posts

  • Level 5*
31 minutes ago, krestor2 said:

I have a lot of notes that need to have simplified formatting applied to them. Any ideas on how?

TIA

No easy way that of which I am aware.  If it is hundreds of notes you can create a hotkey using a text expander to automate some working through the list of notes.  But it is still going to be a hotkey press per note at best.

Link to comment
  • Level 5*
30 minutes ago, krestor2 said:

I have a lot of notes that need to have simplified formatting applied to them. Any ideas on how?

Scripting on a Mac (Applescript)

Link to comment
26 minutes ago, CalS said:

No easy way that of which I am aware.  If it is hundreds of notes you can create a hotkey using a text expander to automate some working through the list of notes.  But it is still going to be a hotkey press per note at best.

Hahaha -- I got thousands. They're recipes from webclips. I should have gone for "Simplified article" when I captured them, but live and learn . . .

Link to comment
  • Level 5*
  • Solution
5 hours ago, krestor2 said:

I've never used Applescript--is it like creating macros? Hard to learn?

I posted some Applescript basics at https://discussion.evernote.com/topic/112316-scripting-on-a-mac-applescript/

In your case, you want to select the notes and have the script process each one
The script code is   tell application "Evernote"   
                                        
set theNotes to get selection
                                        repeat with theNote in theNotes
                                                                       < insert code here
                                         
end repeat
                                    end tell

For the "simplify formatting" code, I searched the internet and found this https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/RemoveMarkupfromHTML.html

Feel free to ask if you have any questions implementing this

  • Like 1
  • Thanks 1
Link to comment
13 minutes ago, DTLow said:

I posted some Applescript basics at https://discussion.evernote.com/topic/112316-scripting-on-a-mac-applescript/

In your case, you want to select the notes and have the script process each one
The script code is   tell application "Evernote" to set theNotes to get selection
                                   repeat with theNote in theNotes
                                                                       < insert code here
                                   
end repeat

For the "simplify formatting" code, I searched the internet and found this https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/RemoveMarkupfromHTML.html

Feel free to ask if you have any questions implementing this

Wow -- thank you so much! I'll dig into this.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...