Jump to content

Logmein Script Question


Recommended Posts

  • Moderators

I am currently writing some script for logmein uses and I was just wondering if this is a secure program. Also is there anyone else working on logmein auto-it script?

James

I use it all the time, and mine auto logs me in.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

@All

I am a user too and I like it a lot.

And by the way here is the script to get you going :

#include <IE.au3> 

$Password = InputBox(' Prompt ','Password?','','*')
If @error Then Exit

$oIE = _IECreate('http://www.logmein.com',0,1,1,0)
$oForm = _IEFormGetObjByName ($oIE, "login")
$oUsername = _IEFormElementGetObjByName ($oForm, "email")
_IEFormElementSetValue ($oUsername, "YOURUSER@DOMAIN.COM") ; Your email address
$oPassword = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oPassword, $Password)
_IEFormSubmit ($oForm)

_IELinkClickByText ($oIE, "*****") ; Link text of the machine to connect to

$oForm = _IEFormGetObjByName ($oIE, "loginform")
$oPwd = _IEFormElementGetObjByName ($oForm, "pwd")
_IEFormElementSetValue ($oPwd, $Password)
_IEFormSubmit ($oForm)

_IENavigate($oIE,StringReplace(_IEPropertyGet($oIE,"locationurl"),'main.html','remctrl.html'))

WinWait("LogMeIn", "Remote Access") ; ; Window title
WinSetState('LogMeIn','',@SW_MAXIMIZE) ; Window title

regards,

ptrex

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...