Tuxhedoh
Joined: 20 Apr 2006 Posts: 12 Location: Baltimore, MD
|
Posted: Sat Apr 22, 2006 5:26 pm Post subject: 30 Boxes - My First Script |
|
|
Here's my first script that I took from concept to completion. I'm sure that it can be optimized with some error checking and such, but I don't know how.
The idea is that from anywhere, email, website etc... that you can add an event to your 30 Boxes Calendar. Simply select the text and hit the hotkey.
| Code: |
#t::
ClipboardContents = %ClipboardAll%
send ^c
event = %Clipboard%
url = http://30boxes.com/index.php?action=newEvent&input=%event%
run %url%
return |
Idea's for improvement:
*Verify that you're already logged into your calendar.
*Check for event variable
*Validate string, check to see if it has a Date, time, text
*Create GUI for an empty variable
*Interface with 30boxes API directly. |
|