zxc3 Posted June 27, 2005 Share Posted June 27, 2005 Why does not work send ( {SLEEP} )? When I press Sleep on the keyboard all works well. Shutdown (64) the same works well. Thanks. Link to comment Share on other sites More sharing options...
erebus Posted June 27, 2005 Share Posted June 27, 2005 Give us some code. Link to comment Share on other sites More sharing options...
w0uter Posted June 27, 2005 Share Posted June 27, 2005 send("{Sleep}") is his code but we need more info like OS. autoit version. keyboard(?). My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
erebus Posted June 27, 2005 Share Posted June 27, 2005 Maybe he hasn't installed the keyboard drivers(?). Link to comment Share on other sites More sharing options...
zxc3 Posted June 27, 2005 Author Share Posted June 27, 2005 w2000 prof ,3.1.1.45 beta ,standart ps/2.... Link to comment Share on other sites More sharing options...
jpm Posted June 27, 2005 Share Posted June 27, 2005 w2000 prof ,3.1.1.45 beta ,standart ps/2....<{POST_SNAPBACK}>In the AutoIt code there is an assumption that the keyboard code is a value not define in MSDN. I am wondering which kind of machine you are using and the use another keyboard code than the one choosen by JON. Link to comment Share on other sites More sharing options...
BigDaddyO Posted June 27, 2005 Share Posted June 27, 2005 If this is a laptop and you are actually pushing a button that says Sleep then I don't think you can send it. I read that in the AutoIT help files once that the fancy Laptop keys such as Func. can not be replicated. Link to comment Share on other sites More sharing options...
zxc3 Posted June 27, 2005 Author Share Posted June 27, 2005 (edited) I think the matter is that the keyboard at me two Languages, by default not English. But at any allocation by pressing "Sleep" from the keyboard works. And a computer usual not Laptop. Edited June 28, 2005 by zxc3 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