Erodov.com Forums | India's Top Technology forum.
Loading

navigation
  • Home
  • Forums
  • Articles
  • News
  • Gaming
  • Bazaar
  • Community
  • What's New
  • My Erodov
  • Help
navigation
Go Back   Erodov.com Forums | India's Top Technology forum. > Articles > Tutorials and Guides
Register Forgot Password?
Follow Erodov on Twitter Follow Us
Join us on FaceBook Join Us
Post New Article  Comment
 
Article Tools Search this Article
GMail Commander - Command Your PC Using GMail
GMail Commander - Command Your PC Using GMail
A radical innovation by Free Radical
Date: 19-12-10
Topic: Tutorials and Guides
Author: Free Radical

Index
Home 
GMail Commander - Command Your PC Using GMail





GMail Commander
Control Your PC Using GMail

Here's a simple application with which you can control your PC using Gmail. Please note that this app is beta, so try it out at your own risk.

Make a fresh GMail account for use with this app to avoid conflicts and spam.

On the first run you'll be greeted by this box.


Enter the username (without @gmail.com) and password for the account

In the Accept IDs box, add your email ids which you may use to send an email to the app. You may add any number of email ids from any host and separate them with commas. Remember, there is no other security check in the app other than your email ids. So in order to prevent unauthorized access to your pc, add only the ones you will be using.

In the Refresh UpDown box, you can change the refresh interval for the app from 1 to 1000 minutes.
This is the time interval between detection of new emails. The app reads rss feeds from GMail and would typically use ~10 kB per refresh. Adjust it according to your bandwidth and data limits.

That's it!

I have added an intelligent algo to search your most used programs, favorites, quicklaunch, start menu shortcuts etc. so you don't need to know any program paths or switches.
Just save the shortcut in your favorites folder (autodetected even if you have customized the location) or start menu or quicklaunch and launch them by sending an email like

Code:
Run ShortcutName
(case insensitive)

You need to know only two more things:

  • Don't add any subject to the email to avoid grouping of emails!
  • Don't send the exact same command more than once in succession as the app would think its the same and not interpret it.

Here's an example demonstrating how I can control my PC using Nokia Messaging Email


You don't even need to know the full shortcut name, you can use the first few characters as well.
eg. in the example above
Code:
Run chrom
should work too and is interpreted as a different command

It takes a finite amount of time for the email to reach GMail plus the refresh interval.
The app typically runs within a minute of your sending out the email if your refresh interval is 1 minute, even if you are on the moon. Fast enough I guess.

Keep in mind that the app would not interpret any old emails.
But it must have an always on connection to function properly. Make sure the app is running before you send out an email command and that the app has access to the internet and your firewall is not blocking it.

Even if you disconnect while the app is running, it would remember the last email before the disconnection and would sleep till you reconnect.

This would help in further bandwidth savings eg. you can schedule a disconnect and reconnect via Task Scheduler and thereby limit the time period within which the app works.

Please download my last attachment from this thread.

Power to the people!



Index
Home 


Tools
Add to Free Radical's Karma
Show Printable Version Show Printable Version
Email this Page Email this Page
  #1  
By ManISinJpr ♦ 19-12-10
Re: GMail Commander - Command Your PC Using GMail

LOLz... I dont even have a phone which is gprs enabled.. wait wait !!
My wife has the Nokia E 51 !!! can it be used.. ?

---------- Post added at 08:05 PM ---------- Previous post was at 08:02 PM ----------

Why is it that I am always the first person to test your experiments

---------- Post added at 08:05 PM ---------- Previous post was at 08:05 PM ----------

I am going to try, let me reply !!
Reply With Quote
  #2  
By Free Radical 19-12-10
Re: GMail Commander - Command Your PC Using GMail

psst: You can send an email with your pc too

rofl
Reply With Quote
  #3  
By ManISinJpr ♦ 19-12-10
Re: GMail Commander - Command Your PC Using GMail

Blasted, I change my access point password, so I have to reconfigure everything again !!

---------- Post added at 08:23 PM ---------- Previous post was at 08:22 PM ----------

HOW ?? and please don't show those smilies !!! LOLzzz
Originally Posted by Free Radical View Post
psst: You can send an email with your pc too

rofl


---------- Post added at 08:32 PM ---------- Previous post was at 08:23 PM ----------

Doesn't work !! I sent an email, and it dodn't start chrome !~
Is here a timelag in the app on the PC for recovering email from the server?
Reply With Quote
  #4  
By Free Radical 19-12-10
Re: GMail Commander - Command Your PC Using GMail

just make a fresh email id for use with the app, configure the app with the new id, send an email through gmail normally to your new id through your old one.

of course there is a time lag.

keep the app running. gmail doesn't reflect the email instantaneously.
also, the refresh interval adds to the delay between each refresh.

remember, the app should be running before you send an email command

---------- Post added at 08:48 PM ---------- Previous post was at 08:33 PM ----------

Works perfectly for me.
Just tested again.
Last edited by Free Radical; 19-12-10 at 07:37 PM..
Reply With Quote
  #5  
By ManISinJpr ♦ 19-12-10
Re: GMail Commander - Command Your PC Using GMail

Nothing happened !!!
Sorry !!

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

I have tried evr\erything that you suggested !! but nothing works..
Reply With Quote
  #6  
By Free Radical 19-12-10
Re: GMail Commander - Command Your PC Using GMail

errr... do you have a firewall running?
it must be denying access to the app to get feeds

Check your %Temp% folder.

Is there a GMail.XML file there?
If not, its your firewall/network at fault.
if there is, kindly post it here
Reply With Quote
  #7  
By Superfrag 19-12-10
Awesome stuff! Will try it out when I reach India.


Reply With Quote
  #8  
By Free Radical 20-12-10
Re: GMail Commander - Command Your PC Using GMail

Manish, you are sending an email from an id to the same id?

And what a messy inbox you have. 253 emails!!!

I told you to make a fresh account for this

Also I forgot to mention, don't send the same command twice. Try "Run chrom" or some other program.
The app should be running before you send the new email.

---------- Post added at 08:36 AM ---------- Previous post was at 07:12 AM ----------

adding an updated version with some fault tolerance in a couple of minutes. This should work even if there is a disconnection while the app is running.

---------- Post added at 08:49 AM ---------- Previous post was at 08:36 AM ----------

done. dl from the op

---------- Post added at 08:54 AM ---------- Previous post was at 08:49 AM ----------

yippee. this version should work even if you accidentally disconnected while the app was running on subsequent reconnection (fault tolerant)
Last edited by Free Radical; 20-12-10 at 06:31 AM..
Reply With Quote
  #9  
By ManISinJpr ♦ 20-12-10
Re: GMail Commander - Command Your PC Using GMail

I tried it again and it is still not running the app... !!!
I sent the email form a different id too and then waited but nothing happened.. even gave the same command with different spelling...
the same one as you put, ie Run Chrome
Reply With Quote
  #10  
By Free Radical 20-12-10
Re: GMail Commander - Command Your PC Using GMail

Do you have a working shortcut called Chrome in your favorites/start menu ?
I realized that by default it is Google Chrome
I have a shortcut called Chrome in my Favorites, do you have one?

ok. try this:

First send an email like:
Run Google chrome

Then send
Run Opera

Then send
Run (add any shortcut name from start menu)

Send emails after a gap of 1 minute (or your refresh interval)

---------- Post added at 11:25 AM ---------- Previous post was at 11:18 AM ----------

Manish. Try v1.002 from the first post

Anyone else try this?
Last edited by Free Radical; 20-12-10 at 11:43 AM..
Reply With Quote
  #11  
By Scorpion 20-12-10
Re: GMail Commander - Command Your PC Using GMail

You are coding god ...
Reply With Quote
  #12  
By Free Radical 20-12-10
Re: GMail Commander - Command Your PC Using GMail

Everyone plese note the screenshot I posted is a bit misleading since I have a shortcut called "chrome"

All you folks should try "Run Google Chrome"

---------- Post added at 02:52 PM ---------- Previous post was at 01:25 PM ----------

I turned off my computer while on the metro just a minute back.

Rang up home to confirm. posting from my not so smartphone.
Reply With Quote
  #13  
By JD666 20-12-10
Re: GMail Commander - Command Your PC Using GMail

gotta try this... ill get back and report.
Reply With Quote
  #14  
By ManISinJpr ♦ 20-12-10
Re: GMail Commander - Command Your PC Using GMail

Working perfectly alright now... the problem was something different as I tried running other apps too.. but right now I tried it and it worked flawlessly !!
Another feather in your cap FR !! LOLz now you dont even have that many hair on your head as feathers..
Lovely job...

---------- Post added at 07:22 PM ---------- Previous post was at 06:55 PM ----------

Errata Reporting...
I gave the command of running media player, chrome etc and all worked.. that is the good part..
and then I exited them... coz the experiment was successful..but then after houor or so, everything launched again !! yes.. without sending a new email.. thats weird ain't it?
Reply With Quote
Post New Article  Comment
Please share with friends!

Article Tools Search this Article
Search this Article:

Advanced Search
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://www.erodov.com/forums/gmail-commander-command-your-pc-using-gmail/38700.html
Posted By For Type Date
GMail Commander - Command your PC using GMail This thread Refback 15-08-11 05:16 PM
Remote shutdown, hibernate and reboot your PC via Android This thread Refback 09-08-11 10:51 AM
GMail Commander - Command your PC using GMail This thread Refback 01-08-11 01:29 AM

Similar Threads
Article Article Starter Category Comments Last Post
Gmail Down? overkill Everything Under the Sun 3 21-06-10 02:39 PM
Gmail Tricks ɱɑɖɖʏ Tip and Tricks :) 15 25-06-09 08:28 PM
GMail Drive - Store your data in Gmail SidK!! Open Source 6 24-08-08 12:26 PM
Gmail 2 !!!!!!!!!???? KiD0M4N Networking and Security 16 08-12-07 12:17 PM
Gmail !!!!!!!!!!! KiD0M4N Networking and Security 36 18-11-07 11:03 PM


Tags
command, commander, gmail

All times are GMT +5.5. The time now is 10:00 AM.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 PL2 ©2011, Crawlability, Inc.