Macro to Find on Evernote

8 views
Skip to first unread message

Jose Adriano Baltieri

unread,
Mar 10, 2023, 11:33:39 AM3/10/23
to SemWare TSE Pro text editor
Hi !

One of the Apps I use a lot (Tessie is the top one for sure) is Evernote. 

Evernote is very useful as a "non-organized Database". It's simply a huge collection of Notes (kind of html/xml files) with a very good Search Feature. There's a nice mobile App to. We can throw pics/audios/etc into this Database... I throw payment receipts , pictures, some photos, handwritten notes, PDF files, web page clips and all sort of random (not organized) piece of information.

I'm a very heavy user of EN, with almost 12 K Notes there inside...

EN has a also sytem wide key (Global Windows Key) to Find (Google) a string within the notes. This Search is very robust. It can find even text within pictures. Say I take a picture of an OutDoor. It can find text there inside !

Anyway, I did a Macro to grab Tse's current word and find this word within Evernote. It launches a BTM (TCC/4NT Batch File) to do it.

I wonder if there would be a more direct way to do this. A more "polished" way...

Here's the macro (very simple/humble) :

----------
proc Find_Within_Evernote()

string token[MAXSTRINGLEN]=GetWord()

if  Length(token)
    StartPgm("C:\TCC\TCC.EXE","/CC:\TSE32\FIND_EVERNOTE.BTM " + GetWord(),"")
else
    Warn("Not on a Word...")
endif

end


proc Main()

Find_Within_Evernote()

end

<CtrlShift E> Find_Within_Evernote()

--------------

And here's the BTM (Batch File) it runs :

KEYSTACK CTRL-SHIFT-F /W20 "%1" ENTER
REM CTRL+SHIFT+F IS EN GLOBAL FIND KEY...
DELAY 3
QUIT

-------------------------------------------------------

Maybe there would be some sort of DLL to do it directly, or internal TSE function....


Anyone else uses Evernote ? Still using Legacy version cause is faster..


Thanks 4 your help !


knud van eeden

unread,
Mar 10, 2023, 5:26:25 PM3/10/23
to SemWare TSE Pro text editor
>> We can throw pics/audios/etc into this Database... I throw payment receipts , pictures, some photos, handwritten notes, PDF files, web page clips and all sort of random (not organized) piece of information

> Docs, PDF

Note: One needs to have an Evernote 'personal' (non-free) account for such searches in the current Evernote on the Internet.

Used Evernote a few times in the past, last time 5 years ago.

In general accessing such systems (like Evernote, Google, OpenAI, ...) 

One uses an API (if available) and maybe personal keys (usual to pay for, per usage).

See e.g. 


with friendly greetings
Knud van Eeden



--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/semware/fe5f5503-82ba-41e8-8ca2-117c376517ebn%40googlegroups.com.

knud van eeden

unread,
Mar 10, 2023, 5:27:31 PM3/10/23
to SemWare TSE Pro text editor
So if your below TSE macro works, then that is probably the simplest solution altogether.


knud van eeden

unread,
Mar 10, 2023, 6:39:18 PM3/10/23
to SemWare TSE Pro text editor
> simplest solution altogether.


As in general such APIs are written only for a particular computer language (e.g. only for Python, C++, ...).

That usually / almost always does thus not include TSE SAL as a supported out of the box computer language.

So then one has to have that other computer language installed, e.g. create some source code for it 
and run this other computer language program from within TSE, e.g. using Dos() or StartPgm().

So if already that external program installed, e.g. JPSoft tcc.exe then that skips thus the necessary
step to also have an additional programming language installed also.

Other options are e.g. the computer language AutoHotkey, 
which allows some kind automation in almost any circumstance.

Creating a DLL might maybe be an additional option, but that would also require that DLL always be present.
Reply all
Reply to author
Forward
0 new messages