Gcal and Gmail

Ask for new Action/Scan Plugins here

Gcal and Gmail

Postby sol » Sat Jul 05, 2008 7:44 am

Dear Rajat,
Thanks for the great software. I first started using it because my laptop was old and slow, but now, even with a faster laptop, I can't get myself to move to Launchy or any of the other programs.

I have a couple of Action File requests:
1. For Gmail.
I came up with:

;For this Action we need only the SearchTerms parameter
IniRead, RE, nDroid.ini, System, RE_SearchTerms, %A_Space%
RegExMatch( Params, RE, Val_)
; Val_SearchTerms has the needed value

;here we perform the action
Run, https://mail.google.com/mail/?view=cm&u ... .tld&body=%Val_SearchTerms%

But was wondering if a separate parameter could be taken for the address as well. Currently nDroid doesn't seem to support this.

2. For Gcal.
Launchy has a Gcal.dll plugin. Otherwise, you could update Gcal using cUrl and Twitter (by direct messaging the Gcal bot). Any such possibilities with nDroid?

Thanks again.
sol
 

Re: Gcal and Gmail

Postby rajat » Sat Jul 05, 2008 9:49 am

1. First I must Thank you for proposing a solution too with a request. This makes things easier for me. How about we add your address book to nDroid's searchable cache and:
- you search for your recipient's mail (or type it manually if not in address book) eg. john.doe@gmail.com
- select GMail as action
- the plugin opens a small input box for you to type a note to be sent as mail message
- rest you've already done!

2. Sadly I'm not familiar with cURL programming. But as an nDroid plugin can freely use command line, once the needed commands (and expected outcomes) are known, a plugin can be devised easily. In fact, that'd really be a very useful plugin. If you or somebody else can chip-in to help me on this, I'd definitely like to work on this one.

Thanks
Image
rajat
Site Admin
 
Posts: 381
Joined: Mon Sep 17, 2007 8:20 pm

Re: Gcal and Gmail

Postby sol » Sat Jul 05, 2008 9:43 pm

rajat wrote:- the plugin opens a small input box for you to type a note to be sent as mail message

This would be perfect! Can I set this up on my own, or is some solution in the offing from your side?

2. Sadly I'm not familiar with cURL programming. But as an nDroid plugin can freely use command line, once the needed commands (and expected outcomes) are known, a plugin can be devised easily. In fact, that'd really be a very useful plugin. If you or somebody else can chip-in to help me on this, I'd definitely like to work on this one.
Thanks


With cURL installed, this batch file should work for Gcal (copied from Lifehacker):
Code: Select all
echo off
cd c:\
cmd /c curl --basic --proxy <proxyhost:proxyport> --proxy-user <proxyusername:proxypassword> --user <twitterusername:twitterpassword> --data status="d gcal [u]%VAR_SearchTerm%[/u]" https://twitter.com/statuses/update.xml
Echo Exiting...


A few other things you might want to have a look at:
http://lifehacker.com/365123/send-twitt ... -in-any-os
http://cpan.uwinnipeg.ca/htdocs/App-Twe ... Tweet.html
http://lifehacker.com/software/hack-att ... 284127.php (excellent comments... Include Jaiku and Stikkit integration as well)

I'm too sleepy to read further and make proper recommendations. I'm sure if I think a bit, I'll figure out how to work this into an action file, but am too tired to think right now. Will come by in a couple of days and try. :)

And I realise this is not the right place... But a quick question: Would it be possible to add a "delete" function in the nDroid list window? In my nDroid window right now I have "foobar2000" and "foobar2000 - Website" both. The first time I searched for foobar2000, the url showed up higher in the list, and I accidentally ran it instead. Now, while I realise it isn't harming anyone by being there in the list (and now it's lower than the correct exe file), it's just irksome to see it there all the time. Also, is there any way of interacting with the list elements via, say, a right-click or drag-and-drop? I realise those would make for larger changes than might be possible currently. Maybe for a future version.

Thanks again. Great software, and excellent help.
sol
 

Re: Gcal and Gmail

Postby rajat » Sat Jul 05, 2008 10:09 pm

This would be perfect! Can I set this up on my own, or is some solution in the offing from your side?

This is really easy. As nDroid scripts are AutoHotkey scripts, you need to look into AHK's InputBox command.
Also a complex GUI can be written around it too (like nDroid's GUI or its settings window)

And thanks for the material on cURL, I'll be looking into it soon as my time allows. Hopefully, another useful action plugin will follow! :)
Image
rajat
Site Admin
 
Posts: 381
Joined: Mon Sep 17, 2007 8:20 pm

good topic

Postby BuklerMan » Sat Feb 28, 2009 4:33 pm

100%
BuklerMan
 

Re: Gcal and Gmail

Postby dgjkdg13633 » Thu Jan 21, 2010 6:58 am

rajat wrote:1. First I must Thank you for proposing a solution too with a request. This makes things easier for me. How about we add your address book to nDroid's searchable cache and:
- you search for your recipient's mail (or type it manually if not in address book) eg. john.doe@gmail.com
- select GMail as action
- the plugin opens a small input box for you to type a note to be sent as mail message
- rest you've already done!

2. Sadly I'm not familiar with cURL programming. But as an nDroid plugin can freely use command line, once the needed commands (and expected outcomes) are known, a plugin can be devised easily. In fact, that'd really be a very useful plugin. If you or somebody else can chip-in to help me on this, I'd definitely like to work on this one.

Thanks

en. good post good job
dgjkdg13633
 
Posts: 3
Joined: Wed Jan 20, 2010 6:21 am


Return to Plugin Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron