countdown timer / the Pomodoro method

Started by: GinGon on Sep 22, 2017 1:47 AM

vlad
Post #1 - Oct 6, 2017 12:53 PM
Re: countdown timer / the Pomodoro method
"GinGon" wrote:I know there is a timer inbuilt in AllMyNotes


There is no timer. If you click on an attachment and modified it, AllMyNotes is able to detects the change and offers to save changes back to AllMyNotes. It has nothing to do with timers and scripts.
GinGon
Post #2 - Oct 5, 2017 11:51 PM
Re: countdown timer / the Pomodoro method
I just found it fun that it is possible to run these scripts from within AllMyNotes by doubleclicking an icon.I know there is a timer inbuilt in AllMyNotes, but it does not visualize the count down as the script does.

But the main idea is that it is possible to make a user defined library of scripts who can be stored and copied and pasted between various documents in this great application.There is a link to a screenshot illustrating what I mean below.



https://drive.google.com/file/d/0B2wM91lkT6MXenpzclhVMlpOdk0/view?usp=sharing
vlad
Post #3 - Oct 5, 2017 1:23 PM
Re: countdown timer / the Pomodoro method
I din't get it, what exactly you suggest?
GinGon
Post #4 - Sep 22, 2017 1:47 AM
countdown timer / the Pomodoro method
Our average concentratin span is now probably very similar to the length of YouTube videos.

The Pomodoro study method suggest concentrated work in 20 minute slots with breaks of 5-10 minutes.



If attached to a document in AllMyNotes the .vbs script below will produce a count-down timer on top of AllMyNotes



The code should be modified to your needs in notepad and saved with the .vbs ending. Default countdown is set to 12 seconds. Attached files are integrated in the database and can afterwards be deleted from the harddisk.




Set objShell = WScript.CreateObject("WScript.Shell")
Set objIE = WScript.CreateObject("InternetExplorer.Application")
objIE.Visible = 1
objShell.AppActivate objIE

With objIE
   
    .navigate("about:blank")
    .Document.Title = "Countdown" & string(100, chrb(160))
    .resizable=0
    .height=80
    .width=40
    .menubar=0
    .toolbar=0
    .statusBar=0
    .left=700     
    .top=60 
    .document.focus()    

End With

' wait for page to load

Do while objIE.Busy
    wscript.sleep 500
Loop

' prepare document body

objIE.document.body.innerHTML = ""

' display the countdown where countdown time is in seconds, with 12 sec. as default

for i=12 to 0 step -1
    objIE.document.all.countdown.innerText= i
    wscript.sleep 1000
next

objIE.quit

Post Reply

📝 Anonymous posting: Your message will be reviewed by moderators before appearing publicly.
Please answer "NO" to have your message delivered!

🛡️ Vladonai Secure Community Platform [BETA]

Powered by Vladonai Minimalistic Forum Script | Designed for AllMyNotes Organizer Community

🔐 Login via Dashboard for full forum privileges

© 2025 Vladonai Software | AllMyNotes Organizer Community