Memotoo
API / Intefaces communications with MemotooRSS Feed
Announce your API, discuss how to develop your plugins, ...
API documentation
Informations:
Number of messages: 36
Number of posts: 97
Last posted: 2023-09-05 - 09:19
Last visit: 2024-03-29 - 16:26
Number of posts not read since your last visit: 0
Bookmark and Share
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post

AutoIt : Récupération du calendrier MemotooRSS Feed



Author Message
Fabrice

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2007-05-17 - 22:00

Salut la foule !!!

Ci-joint mon premier code avec les API memotoo afin de télécharger directement le calendrier au format ICS
Le reste... le uploader sur le FTP de Memotoo pour backup.

AutoIt (langage de script) : http://www.autoitscript.com/autoit3/

----------------------------------------------------------------------------------------------------
$login = InputBox ( "Memotoo Login", "Login" )
If @Error = 1 Then Exit

$password = InputBox ( "Memotoo Password", "Password" , "", "*" )
If @Error = 1 Then Exit

$DestPath = InputBox ( "Destination", "Path" , @MyDocumentsDir & "\Office\Outlook\memotoo-calendar-" & @year & @mon & @mday & @hour & @min & ".ics")
If @Error = 1 Then Exit

; Downloading in the background
InetGet(" https://www.memotoo.com/calendarICS.php?login=" & $login & "&password=" & $password, $DestPath , 1, 1)

While @InetGetActive
TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)
Sleep(250)
Wend

MsgBox(0, "Memotoo Calendar saved !", @InetGetBytesRead & " Bytes read")
----------------------------------------------------------------------------------------------------

Have Fun !



1 Replie(s)
Author Message
Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2007-05-20 - 19:00     Subject: Re: AutoIt : Récupération du calendrier Memotoo

Bravo 1ère API de Memotoo

Ce script peut très bien servir pour des sauvegardes journalières / mensuelles / ... des données de Memotoo au cas où ...


Memotoo Cloud My Calendar Schedule an event with your contacts
Sunday 19 Monday 20
Yes No
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post