sRemote - 1.1.0.0

Changes [from 1.0.0.0]:
new function added-> wait(seconds).
several bugs fixed.
-------------------------------------------------------------------------

This is the help file for sRemote.

sRemote is a remote control for your PC which means you can control your PC via email.
you need to send specific commands in the subject field of an email and your PC will respond to that commands.

How to setup sRemote:

1. When you start sRemote for the first time, you will be asked a password.
Enter that password very carefully, and be sure NOT to share it with ANYONE.

2. Now you need to enter the details of the gmail account that sRemote will monitor for commands.
It is recommended that you create a new gmail id for this purpose and keep it secret.
Click "gmail settings", a new window will appear asking you the details.
In the first two text boxes, enter the username and password.

In the third text box, enter the gmail id of the account in which you want sRemote to send replies.

3. Thats it. You are now ready to go. Just set the number of seconds in which your email will be monitored and click "Start monitoring".

----------------------------------------------------------------------------------

How to send commands:

you can send commands to sRemote from any email id and from anywhere in the world, using any device.
you write the commands in the subject field of the email. [sRemote monitors only the first 250 characters of subject]
Each command is followed by a semi-colom ";" to indicate the end of command.
the basic syntax of every command is: command();

for eg.  screenshot(); OR run(http://www.somesite.com/download.zip); OR msg<text(in)brackets>;

in the subject field, first you need to enter the password. If the password is not found,  then sRemote will not process the commands.
So, if you want to get the screenshot, you have to write [supposing you password is "secret"]

secret();screenshot();

and email it to the gmail id which sRemote is monitoing.

----------------------------------------------------------------------------------

List of commands:
[be sure to enter password first in every email]

1. Screenshot: this command attaches the screenshot to the returning email.
syntax: screenshot();

2. Shutdown: this command will shutdown your PC.
syntax: shutdown();

3. Logoff: logs off.
syntax: logoff();

4. Restart: Restarts your PC. [warning: if have not set sRemote to start with windows, then you'll lose control over your PC if you will restart it.]
syntax: restart();

5. Abort shutdown: Will abort the shutting of PC.
syntax: abort();

6. Run any command or program: Execute any command, file or program (such as a mp3 file).
syntax: run(program,parameters);
for eg. if you want to start a download: run(http://www.somesite.com/download.zip);
if you want to play dhoom.mp3: run(c:\music\dhoom.mp3);

7. Play a wav file: plays a WAV file.
syntax: play(path);

8. Display a message:
syntax: msg(text);

9. Log some info: writes some info into the log file.
syntax: log(text);

10. exit: exits the application.
syntax: exit();

11. Sound a beep.
syntax: beep();

12. Forcefully shutdown the PC: instantly shuts down the PC.
syntax: forceshut();

13. send an email from any gmail id:
syntax: mail(sender,password,receiver,body,subject);

14. get list of processes with PID and title of window.
syntax: processes();

15. ping a server to see if it is alive.
syntax: ping(address);
for eg. ping(www.google.com);

16. kill a process given its PID [which you can get from the "processes" command]
syntax: kill(PID);

17. Get list of files and folders in a directory.
syntax: getlist(path);
for eg. getlist(c:\);

18. Get a file: attaches the specified file in the returning email. [if the file is an exe file, the it is renamed to .super file. File size limit: 25MB]
syntax: getfile(path);

19. Delete a file.
syntax: delfile(path);

20. Delete a directory.
syntax: deldir(path);

21. The uptime of your PC: for how many minutues your computer has been running.
syntax: uptime();

22. Copy a file.
syntax: copy(oldpath,newpath);

23. Move a file.
syntax: move(oldpath,newpath);

24. Get this file mailed to you.
syntax: help();

25. Pause the processing for a number of seconds.
syntax: wait(seconds);
help: wait(5);