Jump to content

Unable to run exe on right click which is generated from autoIT


Zieq
 Share

Recommended Posts

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.

post-84357-0-82600300-1397765447_thumb.p

Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

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

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

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...