Sign in to follow this  
Followers 0
BlueScreen

2 LeftShift C (in Hex of course)

8 posts in this topic

#1 ·  Posted (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 by BlueScreen

Share this post


Link to post
Share on other sites



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 *

Share this post


Link to post
Share on other sites

Tried already. Sorry, I'm stupid and this. Couldn't do it well... Can u pls post?

Thanks,

Share this post


Link to post
Share on other sites

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 2000

I guess I don't understand exactly what you want to leftshift. Is it 0x0C ?

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 *

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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 = 2000

AutoIT: BitShift(2,-12) = 8192

However: 0x2000 == 8192 !!

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 *

Share this post


Link to post
Share on other sites

Dude! I knew I was stupid!

Thanks!

Share this post


Link to post
Share on other sites

Dude! I knew I was stupid!

Thanks!

No problem. If you need the hex value in AutoIT, use HEX().

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 *

Share this post


Link to post
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
Sign in to follow this  
Followers 0