exportsodas Posted March 1, 2008 Share Posted March 1, 2008 when i tell autoit to send any keyboard strokes it doesnt work send("hello") doesnt send hello onto my notepad, the examples in the examples folder like calculator or notepad1/2, nothing is imputed. this is not a UAC problem. plz help me Link to comment Share on other sites More sharing options...
botanic Posted March 1, 2008 Share Posted March 1, 2008 use the #requireadmin command at the begining Link to comment Share on other sites More sharing options...
exportsodas Posted March 1, 2008 Author Share Posted March 1, 2008 i tired that it didnt work either Link to comment Share on other sites More sharing options...
MHz Posted March 2, 2008 Share Posted March 2, 2008 Here is a change to the notepad example to also hopefully suit Vista. Run("notepad.exe") WinWaitActive("Untitled - Notepad") Send("This is some text.") WinClose("Untitled - Notepad") WinWaitActive("Notepad", "Cancel") Send("!n") I cannot help you with the other examples you mention as I am running on XP atm. Link to comment Share on other sites More sharing options...
exportsodas Posted March 2, 2008 Author Share Posted March 2, 2008 x.x thx for ur help, but it didnt work either, notepad opened then closed right after. 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