Jump to content
  • 19

Restore Applescript Support - Answer: not yet available


DTLow

Idea

63 replies to this idea

Recommended Posts

  • 1

So none of the popular Alfred scripts will work now presumably? Sigh. I really hope this talk of it being easier to develop new for Evernote in the future is true, otherwise it will take months just to get back the features we’ve lost.

  • Like 1
Link to post
  • 0

I was using AppleScripts on my touchbar to create notes in predefined folders and with predefined tags.

 

This really helped my workflow and since upgrading to v10, none of them work. It looks as though this hasn't been built yet.

 

Is this the case? Should I rollback?

Thanks

Link to post
  • 1
  • Level 5*
1 hour ago, finnmatti said:

Since the new Evernote is built on Electron, I have to say my hopes are somewhat slim that it will be actually delivered. Electron itself at least has no AppleScript support atm and from reading the issue ticket on Github it’s not a trivial task to implement support for it.

I have no knowledge of the Electron thing   
I only know that I will not switch to the new software until there's Applescript support

  • Like 3
Link to post
  • 0
  • Level 5

Just back from a quick search on the Electron web site ( https://www.electronjs.org/  ).

Have only found one reference where AppleScript was applied, to collect data from iTunes. This does mean some sort of support exists, but it seems not to be very popular. To integrate it, some code needed to be injected into the app that was developed with Electron.

The question is whether the EN team ranks the cross-platform equality higher than the embedding into the OSes the app is running on. I would not count on seeing AppleScript Support any time soon in ver. 10.

Bets are to be placed now ...

Link to post
  • 3
  • Level 5

Electron is what teams choose when their boss comes running in shouting "guys, we also need a desktop app!". It saves them from having to hire native app developers, since the entire thing is just a shell wrapped around javascript which is the same core codebase that the web app runs on. No changes needed and Poof, out pops a "native" app for Web, Windows, Mac, Linux...

The dark side of course is that the app runs 10-100x slower than real compiled code, and lots of native platform features are not available- AppleScript, native Notifications, Spotlight, etc. Not to mention the GOBS of memory it eats up. Slack is a great example of this- uses 1-2GB of RAM, takes ages to launch, and runs like molasses in winter.

  • Like 1
  • Thanks 1
Link to post
  • 0
2 hours ago, PinkElephant said:

Have only found one reference where AppleScript was applied, to collect data from iTunes.

And what you have found is something to run applescript on another app - namely iTunes - but this is not something that allows you to offer your own interface.

Link to post
  • 0
  • Level 5

Nobody probably knows, and I am just another user, so I am not telling "guys, scripting will never be available".

But from what I saw when searching is that currently scripting and Electron is not dancing on the same party. Who relies on it should stick with "vintage" for the time being.

Link to post
  • 0

It is possible for Evernote to come up with some sort of workaround if they see fit, but it would seem to defeat the point in using electron in the first place, which is that you don't have to do that kind of bespoke OS work anymore, one codebase will work for all. Personally I'd be very surprised to see Applescript turn up, indeed I'm assuming it won't. I think the best we can hope for is that some of our individual use cases get replicated via use of new online API. 

Legacy apps are fine for a while but they don't tend to get updates so it's not a long term solution.

Link to post
  • 0
  • Level 5*
14 minutes ago, bishopblaize said:

Legacy apps are fine for a while but they don't tend to get updates so it's not a long term solution.

Here's to the short term   
In the long term, .... we all die

Link to post
  • 0
  • Level 5

That is import folders - yet another feature missing in this version. At least they promised to bring it back.

My skepticism about Apple script is founded on the fact that I have not found any other app based on the Electron framework that supported it.

Link to post
  • 1
  • Level 5*
18 minutes ago, PinkElephant said:

That is import folders - yet another feature missing in this version.

Actually import folders was never an Evernote/Mac feature
We worked around this with Mac Folder Actions and an appleScript (sigh)

Link to post
  • 0
  • Level 5*
6 hours ago, PinkElephant said:

I would not count on having Apple script coming to the new version any time soon, maybe never.   

There are two lists; No Longer Supported and Not Available Yet    
Applescript is still on the Not Available Yet list

>>If you need it, stick with the legacy version

Good advice
I'm using the legacy version and will not be upgrading until AppleScript is supported

Link to post
  • 2

I understand from a single post here and some posts on other forums that Applescript is not supported in V10. For those that have worked out automations for Evernote using their rich script library this is a huge shock. I wanted to confirm this and create a place for people to comment about this. CMD+J has become muscle memory for me and is such an incredible time saver.

As much as I would love to update and pray that all the quirks of the old app have been addressed these pail into insignificance if my filing by applescript will no longer work. I'm not interested in maintaining two versions and their associated databased either.

Until now I have stuck by Evernote for over 10 years and this has been the first indication that I probably should have done what many power users did a few years ago and jumped ship. I still hold on to the believe that Evernote could be the best experience for me provided all the features of Evernote 7 for Mac are implemented into V10 including rich support for scripting and CMD J. I'm sure there are others that I will find out only after a bit of use. 

I'm more than happy to pay for the top tier of Premium as I get a huge amount of value from Evernote with its current set of features.

  • Like 1
Link to post
  • 0
  • Level 5*
1 hour ago, mpacker said:

Applescript is not supported in V10

There's a missing word here... not yet supported.  We'll find out over the course of the next few months how many of the 'old' features make it to the new,  and luckily the old version  will remain active for at least that long,  so you can continue your current workflow in the meantime.

1 hour ago, mpacker said:

I'm more than happy to pay for the top tier of Premium

Be careful what you wish for?  Just sayin...

Link to post
  • 1

Just registering my/our request for this, as long-time (paying) Evernote customers. AppleScript is vital to our use of Evernote, so much so that we're now immediately investigating alternatives. 

But we'd prefer to stay with Evernote and just have this continue to work with AppleScript. Here's to hoping! 🤞

  • Like 2
  • Sad 1
Link to post
  • 0
On 10/16/2020 at 11:17 AM, PinkElephant said:

I would not count on having Apple script coming to the new version any time soon, maybe never.

If you need it, stick with the legacy version.

The new version installed on my Mac this week and I was disappointed and caught off-guard by the lack of this functionality.  Any advice on how to rollback to the prior version?  (short of recovering from backup?)

Link to post
  • 2
22 hours ago, zrstoo said:

The new version installed on my Mac this week and I was disappointed and caught off-guard by the lack of this functionality.  Any advice on how to rollback to the prior version?  (short of recovering from backup?)

Indeed. The "Evernote Legacy" app is available here: https://help.evernote.com/hc/en-us/articles/360052560314-Install-an-older-version-of-Evernote

  • Like 3
  • Thanks 2
Link to post
  • 1

Yes I got caught off-guard as well. It upgraded and I didn’t realise we would lose functionality.

Like a lot of you, I’m a 10 year Evernote user and am a bit sick of all of this "UI tinkering", and no new features. Just taking old features away. So sad. (I’m still holding a torch for Atlas).

Yes I know they say there is all this back-room engineering going on, but sorry Evernote, we all live in the front room. To me it is just UI tinkering for no good reason.

Back to legacy I go. Thanks for the link.

Link to post
  • 0

I was just notified of a release of a new beta.  I’ve gone back to the Legacy version so I can use AppleScript.  Without going through the hassle of adding and then deleting, have there been any changes in the new beta that will allow AppleScript use?  Or if someone could tell me a “simple” way to automatically send a note to the Inbox or a specific notebook from Mac Big Sur..

Thankis.

Link to post
  • 0

Thank you all for this information. Automatic import into Evernote from my mac was the key functionality i used. If there is not a solution soon to this I will also look for another service (10 year premium payer). 

I have read your suggestions about using the legacy version which I have downloaded. Sorry I am not a programmer so can someone help me to know what I should do so my apple script will send to the legacy application? Script below. 

 

on run {input, parameters}

repeat with this_item in the input

set the item_info to info for this_item

tell application id "com.evernote.evernote"

activate

create note fro m file this_item

end tell

end repeat

return input

return input

end run

Link to post
  • 0
  • Level 5*
11 minutes ago, Balmain_Boy said:

what I should do so my apple script will send to the legacy application?

The script line     tell application id "com.evernote.evernote"
is a problem since the app is now called    Evernote Legacy

  • Like 1
Link to post
  • 0

Thank you both for the replies - tried replacing it with "evernote" but unfortunately didn't work. I will do some searching for what the legacy evernote application ID might be. 

 

Thanks to DTLow who gave me the solution for application ID. Works well - great help! 

tell application "Evernote Legacy"  

Link to post
  • 1

I had trouble with this as well. 

com.evernote.evernote works for Evernote Legacy on my machine. Not sure if it makes a difference but I delete the new Evernote from my system, even though I think you can run them side by side.

The script I use in Hazel is:

tell application id "com.evernote.evernote"
	activate
	create note from file theFile
end tell

This script watches a folder for files added and then activates.

Link to post
  • 1
  • Level 5*
4 hours ago, Balmain_Boy said:

I will do some searching for what the legacy evernote application ID might be. 

Or use   tell application "Evernote Legacy"   (application name)

  • Thanks 1
Link to post
  • 0

Adding my voice of displeasure to this thread.  I have a number of Hazel workflows that then go and dump data into Evernote for me.  This shift and lack of support for AppleScript is unacceptable.  Will try Evernote Legacy, but this premium user may start looking for other solutions.

  • Like 3
Link to post
  • 1

I think we are not going to see Apple Script at least in the way it was.   Bridging Electron with Apple Script is too mac-specific and I dont think that Evernote is goig to invest that time.

What we can see is general automation via Javascript scripting, a la Omnifocus with Omni Automation, that is leveraging Apple-approved Javascript engines already available on Macs and iOS.

This would be a win for EN, as scripts would be portable across platforms.  

 

Link to post
  • 0

In an effort to go paperless, I created a desktop folder (on my Mac) that automatically exports content to Evernote.  Worked with drag-n-drop or with pdfs from my scanner.  A week ago is stopped working.  Maybe the problem is the most recent Evernote update?? (v.10.5.7 build 458420 public).  

This folder was (I think) managed by an Applescript.  When I looked at the script, it gave me a syntax error on the word note.  I'm not a techy, so not sure what's wrong.  Here's the script

on run {input, parameters}

 

repeat with this_item in the input

set the item_info to info for this_item

tell application id "com.evernote.evernote"

activate

create note from file this_item

end tell

end repeat

return input

 

return input

end run

What is going wrong.  I just need the functionality, don't care if solution is from automator, applescript, Evernote, or something else (but prefer free instead of paid).  HELP!!

 

Link to post
  • 0
  • Level 5*
On 12/27/2020 at 12:07 PM, George Hatcher said:

Is it possible or no longer possible?     Please, how to?

 

1 hour ago, Speakforth said:

This folder was (I think) managed by an Applescript.  When I looked at the script, it gave me a syntax error on the word note.  I'm not a techy, so not sure what's wrong.

Import folders on a Mac were previously processed using an script (Applescript)
I merged your post with the AppleScript request discussion   
As discussed, Applescript is not yet supported in the Version 10 product

Also, we've been told Import Folders are a pending feature for implementation shortly
This may not require a script

Link to post
  • 0

Thanks, DTLow, for clear and concise answer, and to others for weighing in.  50%+ of my Evernote usage is scanning so I can dispose of paper.  I'm going to rollback to a legacy version until such time as Evernote support Applescript or some other ability to scan directly to Evernote.

Evernote Legacy Version: https://help.evernote.com/hc/en-us/articles/360052560314-Install-an-older-version-of-Evernote

Link to post
  • 0

Don't mean to pile on, but I use Applescript with Evernote a LOT.  I mean, about 80% of what I put into is automated.  I've been using (and LOVING) Evernote for years, but if we are losing applescript support, I'm going to have to seriously debate finding another solution for most of what I do.  I put a lot of work into making it work well for me.

  • Like 1
Link to post
  • 0

Dear community,

I was experimenting with Evernote and AppleScript and ran into strange errors, AS telling me that it can't handle my code regrding creating new notes from files... and such.

After a little research I noticed that there seems to be no dictionary (AppleScript Editor Open dictionary Shift+Cmd+O) Evernote in Applications appears grey.

 

I've been trying both versions, from EN website as well as EN installed from the AppStore.

 

Serveral clean uninstalls and reinstallations too, I can't get my scripts to work.

I also tried "tell application id" as to specify the absolute application path, no difference.

 

Does anybody have similar issues or know how to solve?

 

Thanks very much in advance & happy new year!!

 

Thorsten

  • Like 1
Link to post
  • 0

As far as I know apple script is not supported by EN v10 so far, not clear if coming back or given up.

If your workflows depend on this you might use the old legacy version, even side by side to V10, see: 

 

Link to post
  • 0
  • Level 5*
14 hours ago, Thorsten1979 said:

I was experimenting with Evernote and AppleScript and ran into strange errors

I merged your post with an ongoing discussion    
As you discovered,  Applescript is not yet supported by the Version 10 product     

Link to post
  • 0

Well, I installed The Legacy version side by side with v10 on my Mac.  I am not a heavy Applescript user, but the few I have, I really depend on.  Legacy is working for now anyhow, but would really like to see native support.  AppleScript is a huge feature to simply remove, without any alternative.

Paying customer since 2009. It might be time to seek an alternative.  One that supports a Linux client and AppleScript would be a start.

-Eric

 

Link to post
  • 0

Curious if there is any news on this.  I'm not going to quit using Evernote, but if Applescript is not coming back I need know.  I"ve been working on scripts for Devon Pro.  Not in love with that product, but it works.  The longer this question goes unanswered the more likely I'll get my new system up and working - at which point it won't matter anymore.  I'll probably downgrade to the free version of Evernote and move on.

Link to post
  • 0
  • Level 5*
11 hours ago, Scooter said:

Curious if there is any news on this.  I'm not going to quit using Evernote, but if Applescript is not coming back I need know.  I"ve been working on scripts for Devon Pro.  Not in love with that product, but it works.

No news on implementing Applescript integration   
Applescript is critical for my workflow and this prevents me from switching to Evernote Version 10

Also looking at Devonthink; Apple only, no cloud/web access   
I'm liking it - got all my scripts converted

Link to post
  • 0

I have an extensive Evernote environment built in AppleScript, and just learned (upon installing on a new Mac) that it is now dust in the wind. I could go back to Legacy (and probably will for a time), but clearly that’s not a sustainable path forward. It sounds like the right thing to do is to just rebuild the interfaces in Electron. So, with that in mind, has anyone found a nice “getting started” document for scripting the new version in its native tongue?

Link to post
  • 0
  • Level 5

AFAIK the new app is written in JavaScript. I doubt you can write your own „add ons“.

AppleScript is currently not among features that are officially discontinued.

However on a search I found no Electron based app that says anything about Apple script (or even scripting in general). Either it is too trivial to mention, or the framework does not have this ability.

Link to post
  • 0

Evernote should keep supporting the Legacy version. My old laptop broke so had to re-install Evernote as legacy and it says on the site that it is only there as a temporary option until the full feature set is ready in new version.  It's a total dealbreaker for me if Evernote doesn't have Applescript support. My entire workflow is dependent on it. (along with Hazel). Like others here I'm a premium user & been with Evernote for over 10 years and will definitely  be forced to go with another option.

  • Like 1
Link to post
  • 0

prepare yourself to move to Devonthink.  Pricey but has more automation than Evernote legacy ever had plus lots of other great features.  Beware, Mac and iOS only.

 

  • Like 1
Link to post
  • 0

Yes, sadly already started preparing to move. Making sure back ups are up to date & watching a few tutorials on DT.  Don't relish rewriting scripts so will wait as long as is reasonable.

Link to post
  • 0
  • Level 5*
On 2/19/2021 at 12:38 PM, TT0913 said:

Beware, Mac and iOS only.

Also DT has no master database maintained on servers, and no web access

Link to post
  • 0
On 2/21/2021 at 11:44 AM, DTLow said:

Also DT has no master database maintained on servers, and no web access

Correct about the servers because DT uses the MAC file system.  Thus regular backups which everyone should have (ie Time Machine) you have a backup. Additionally, sync to your IOS devices is via iCloud.  While not a backup your info is in the cloud.  Re Web access you are correct unless you spring for the most expensive version of DT.

Note that using the MAC files system then you have access to all your notes via the FILES app. 

Link to post

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...