BlueScreen Posted October 19, 2005 Share Posted October 19, 2005 (edited) Hi, I couldnt find a way to perform using AutoIt the following: 2 LeftShift C (in Hex of course) I'm doing it usually using the Calculator. The result is 2000 Suggestions? Thanks, Edited October 19, 2005 by BlueScreen Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 maybe BitShift() ?? Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
BlueScreen Posted October 19, 2005 Author Share Posted October 19, 2005 Tried already. Sorry, I'm stupid and this. Couldn't do it well... Can u pls post? Thanks, Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 Tried already. Sorry, I'm stupid and this. Couldn't do it well... Can u pls post?Please post what you have tried so far.2 LeftShift C (in Hex of course)I'm doing it usually using the Calculator. The result is 2000I guess I don't understand exactly what you want to leftshift. Is it 0x0C ?CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
BlueScreen Posted October 19, 2005 Author Share Posted October 19, 2005 If you open the Windows Calc. (in scientific view), and you choose HEX in the radio button, and you do the followings: 2 Lsh C you get 2000 as a result. <Lsh> - the left shift button (near the Not button) I have tryed: $x = BitShift(2, -12) msgbox (0,"",$x) Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 If you open the Windows Calc. (in scientific view), and you choose HEX in the radio button, and you do the followings:2 Lsh C you get 2000 as a result.<Lsh> - the left shift button (near the Not button)I have tryed:$x = BitShift(2, -12)msgbox (0,"",$x)O.K. You're mixing HEX and DEC values.Windows Calc: 2 Lsh C = 2000AutoIT: BitShift(2,-12) = 8192 However: 0x2000 == 8192 !!CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
BlueScreen Posted October 19, 2005 Author Share Posted October 19, 2005 Dude! I knew I was stupid! Thanks! Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 Dude! I knew I was stupid!Thanks!No problem. If you need the hex value in AutoIT, use HEX().CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * 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