PrOF-kk / rainmeter-gkeep

A Rainmeter meter to display a Google Keep note
MIT License
10 stars 1 forks source link

Installation help #3

Open jotapmc opened 2 years ago

jotapmc commented 2 years ago

Hello could you help me to install? I don't know how to use programming. In which part and part of the line do I need to put the user and the token? Do I need to fill in all the note ids I want to appear?

image image image

Grateful for the attention.

PrOF-kk commented 2 years ago

Hey, thanks for asking. Keep in mind this is still an in-development skin so installation is quite difficult, sorry

No module named 'gkeepapi' You're installing the gkeepapi module in the Anaconda prompt, which prevents rainmeter-gkeep from using the library. I'm not sure if Anaconda also installs "normal" Python, try opening a standard command prompt (cmd) and running `pip install gkeepapi` from there. If it says it doesn't recognize the command, you'll need to install "normal" Python either from the [Microsoft Store](https://www.microsoft.com/en-us/p/python-39/9p7qfqmjrfp7) or from the [Python website (3.9)](https://www.python.org/downloads/)
Step-by-step installation guide (hard) 1. Download the repository as .zip (on the Github main page go to the green button Code > Download ZIP) 2. Unzip it to your Rainmeter skins folder (by default This PC/Documents/Rainmeter/Skins) 3. Your folder should look something like this ![Imgur](https://imgur.com/GKL5IAS.png) 4. Open the Keep/Resources/Settings.inc file 1. Modify USER_EMAIL and put your email there 2. Modify NOTE_ID and put your desired note id there (rainmeter-gkeep only supports one note for now) 3. Modify APP_PASSWORD and put your password there. If you have 2-factor authentication enabled you'll need to create an [App Password](https://support.google.com/accounts/answer/185833) from Google instead which is annoying but I can't do anything about 4. Don't forget to save the file! 5. Now enable the skin from Rainmeter (Rainmeter > Keep.ini > Right-click > Load) 6. If it's working correctly you should see an ugly black square with your note's text Now, if you want to make it also look decent: 1. Choose a note-taking skin (I use [Paper::Notes from Haitime](https://www.deviantart.com/haitime/art/Paper-Notes-399129789) but most other skins should also work) 2. Reopen the Settings.inc file from before 1. Set HIDE_OUTPUT_VIEWER to 1 2. Set OUTPUT_FILE to the file your note-taking skin uses. For Paper::Notes it's `../Paper/Notes/Note 1/my.notes`

Hope this helps! Don't hesitate to ask again if you're having other issues, I realize it's very clunky at the moment, but it does work Imgur Imgur

jotapmc commented 2 years ago

Hi, thanks for the help. I uninstalled Anaconda and reinstalled Python and it worked. I tried using Paper::Notes from Haitime, but the text didn't show up. So I used the Elegant 2.0 skin. But I decided to try something different, your skin pleased me too. I tried to change something just in the copy and paste, but it doesn't update to the site when I edit the txt. I put the keep code below that I made the changes.


[Rainmeter] Update=1000 AccurateText=1 ContextTitle="Configurações" ContextAction=!Execute ["notepad" "#@#Settings.inc"] ContextTitle2=--- ContextTitle3="Edite Keep" ContextAction3=["#CurrentPath##CurrentFile#"] DynamicWindowSize=1 MiddleMouseUpAction=!Refresh

Note=#CURRENTPATH#Google Keep.txt

[Metadata] Name=Keep Notes Author=PrOF Information= Version=0.0.1_xoan License=MIT

[Variables] @Include=#@#Settings.inc

[KeepGet] Measure=Plugin Plugin=RunCommand Program=python Parameter=./Keep.py get UpdateDivider=#UPDATE_DIVIDER# OutputFile=#OUTPUT_FILE# OutputType=ANSI OnUpdateAction=!CommandMeasure KeepGet Run FinishAction=[!SetOption OutputViewer Text [&KeepGet]][!UpdateMeasure OutputViewer]

[KeepUpload] Measure=Plugin Plugin=RunCommand Program=python Parameter=./Keep.py upload UpdateDivider=-1

[OutputViewer] Meter=String Text=Carregando notas do Google Keep... Hidden=#HIDE_OUTPUT_VIEWER# Disabled=#HIDE_OUTPUT_VIEWER# BackgroundMode=2 W=320 ClipString=2 AntiAlias=1 SolidColor=0,0,0,25 FontColor=255,255,255 Padding=13,13,13,13 LeftMouseUpAction=["#CURRENTPATH#Google Keep.txt"] UpdateDivider=1

[SyncButton] Meter=Button x=345 ButtonImage=#@#sync.png ButtonCommand=!CommandMeasure KeepGet Run

[UploadButton] Meter=Button x=375 ButtonImage=#@#upload.png ButtonCommand=!CommandMeasure KeepUpload Run


Thanks for the help

PrOF-kk commented 2 years ago

I'm not sure what you're trying to do, does it work properly now with this Elegant skin? To update the note to the cloud you need to press the "upload" button Imgur