Sign in to follow this  
Followers 0
Lukepro2315

Command Ctrl + C In _IsPressed function? Someone knows?

12 posts in this topic

Cannot find taht anywhere... :/

Share this post


Link to post
Share on other sites



Lukepro2315,

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

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Lukepro2315,

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

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Wasnt this thread locked already ???

Share this post


Link to post
Share on other sites

Wasnt this thread locked already ???

Why?

Share this post


Link to post
Share on other sites

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


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Werty,

 

 

Yea, you missed my apology ;)

Share this post


Link to post
Share on other sites

Werty,

No probs. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

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