Zieq Posted April 17, 2014 Share Posted April 17, 2014 I have login form in IE and when i right click on edit box of that login for which i want to executes these three lines: Send("username") Send({"TAB"}) Send("Password") i have created a .exe of this script and added as option in IE right click using regedit. When i click, nothing is happening. i dont know the reason why its not working. Linking is perfect because when i try to open .html page insted of .exe its opening perfectly. Attaching a screenshot for reference. Please help me out in this as i am new to autoit. Thanks in advance. Link to comment Share on other sites More sharing options...
JohnOne Posted April 17, 2014 Share Posted April 17, 2014 Anyone can get help here, there is no requirement to be new. It is customary however to post/show anything of relevance which includes full autoit code and exact registry alterations. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Zieq Posted April 17, 2014 Author Share Posted April 17, 2014 How should i tackle this situation? so i wont be able to automate this through autoit? .exe doest show any result but when when i run this Sleep(2000) Send({"Username"}) and then placing cursor on to edit box , Its send username to that edit box. but running exe using right click is not showing any result. How does it making difference? Link to comment Share on other sites More sharing options...
Danp2 Posted April 17, 2014 Share Posted April 17, 2014 (edited) As John pointed out, you haven't provided sufficient details for us to assist you. Have you verified that the EXE is even launching by displaying a simple message? Also, have you considered using the _IE functions instead of Send? Edited April 17, 2014 by Danp2 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Zieq Posted April 17, 2014 Author Share Posted April 17, 2014 No, Its not poping a simple message also and i am not using IEfunctions Link to comment Share on other sites More sharing options...
Zieq Posted April 17, 2014 Author Share Posted April 17, 2014 Can anyone help me out. how can i achieve above case? Link to comment Share on other sites More sharing options...
JohnOne Posted April 17, 2014 Share Posted April 17, 2014 Post your full code and registry alterations or pipe down. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Danp2 Posted April 17, 2014 Share Posted April 17, 2014 Your responses are vague and aren't getting you the help you are seeking. Post your script Post the registry changes It sounds like the changes you made to the registry are not working. To test this, you can add a call to MsgBox() to you script and then execute the script via your right click menu and by a double click on the EXE. If you don't get a message box in both cases, then you have verified that the script isn't being launched. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Zieq Posted April 18, 2014 Author Share Posted April 18, 2014 I have this piece of code in .exe Send("Username") Send("{TAB}") Send("Password") Placed on Desktop. And I have created a new key for regedit inside HKEY_CURRENT_USER/SOFTWARE/MICROSOFT/INTERNET EXPLORER/MENU EXT/ I have value data for this key : C:UsersJG028461DesktopSend Username.exe I have checked putting MsgBox, its not working when i use it from right click but when i run another script(javascript) on right click. i can see its working. its doesnt work when i put .exe on right click generated from autoit. let me know if you need more inputs Link to comment Share on other sites More sharing options...
Iczer Posted April 18, 2014 Share Posted April 18, 2014 2 things on first glance: 1. HKEY_CURRENT_USER/SOFTWARE/MICROSOFT/INTERNET EXPLORER/MENUEXT/ <--- without space 2. C:UsersJG028461DesktopSend_Username.exe <--- without space also - see rights/locations management in IE - some OS tend to be not user-friendly in this area... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now