Jump to content

Recommended Posts

  • Moderators
Posted

Lukepro2315,

You need to look for the "c" being pressed and then check if the Ctrl is also pressed. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

  On 5/27/2014 at 7:25 PM, Melba23 said:

Lukepro2315,

You need to look for the "c" being pressed and then check if the Ctrl is also pressed. :)

M23

What??? :D

Doesnt exist some command on one line? :D

Something like this?

If _IsPressed("11",$hDLL) and If _IsPressed("43",$hDLL) = 1 Then

  • Moderators
Posted

Lukepro2315,

What is that code but one way to do what I said? ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

  On 5/27/2014 at 7:37 PM, Melba23 said:

Lukepro2315,

What is that code but one way to do what I said? ;)

M23

Well...how? I can find it, but it will take a while...cant u just write me some example?

  • Moderators
Posted

Werty,

As I locked the other thread, do you suppose I am unaware of its existence? At the moment the two are, in my opinion, sufficiently different that I am prepared to let this one run. :)


Lukepro2315,

Why do I need to write an example? Your code above is very nearly correct:

If _IsPressed("11",$hDLL) = 1 And _IsPressed("43",$hDLL) = 1 Then
See the difference? You first look for one key and then, if it is pressed, look for the second. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

  On 5/27/2014 at 7:52 PM, Melba23 said:

Werty,

As I locked the other thread, do you suppose I am unaware of its existence? At the moment the two are, in my opinion, sufficiently different that I am prepared to let this one run. :)


Lukepro2315,

Why do I need to write an example? Your code above is very nearly correct:

If _IsPressed("11",$hDLL) = 1 And _IsPressed("43",$hDLL) = 1 Then
See the difference? You first look for one key and then, if it is pressed, look for the second. ;)

M23

 

Ahaaaa Got it...sry...im bit tired. :D

Anyway ill try that :D

Thx

Posted

  On 5/27/2014 at 7:52 PM, Melba23 said:

Werty,

 

 

Yea, you missed my apology ;)

Some guy's script + some other guy's script = my script!

  • Moderators
Posted

Werty,

No probs. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...