StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Sample login script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rob

USA
2516 Posts

Posted - 12/20/2011 :  09:10:44  Show Profile  Visit Rob's Homepage  Reply with Quote
I have this script defined in an action specific to Chrome. After drawing the gesture, it checks the window title and if it's at my credit union, it logs in for me. The script is actually larger, checking for different window titles and logging in with the specific credentials for the site I'm at.
local sTitle = acGetWindowTitle(nil,sp_gesture_start_x, sp_gesture_start_y)
if sTitle == "Publix Employees Federal Credit Union - Google Chrome" then
   acSendKeys("{TAB}{TAB}{TAB}")
   acDelay(40)
   acSendKeys("username~")
   acDelay(3000)
   acSendKeys("password~")
end
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000