Jump to content

Set hotkey in Slots of $List1?


dfsfsd
 Share

Recommended Posts

  • Moderators

dfsfsd,

Melba23 i found delete slots from $List1 xD It was easy

Good! :D

As to detecting clicks on a ListView, you could look here. :oops:

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:

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

 

Link to comment
Share on other sites

  • Moderators

dfsfsd,

You cannot have a HotKey in a ListView - it is a physical key combination that you press on the keyboard. :oops:

I assumed you wanted to click on a particular item within the ListView - hence the script to which I linked. If that is not what you want to do please explain more clearly what it is that you are trying to do. :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

You cannot have a HotKey in a ListView - it is a physical key combination that you press on the keyboard. :oops:

I assumed you wanted to click on a particular item within the ListView - hence the script to which I linked. If that is not what you want to do please explain more clearly what it is that you are trying to do. :D

M23

With a button wich i call save,i save memory of a process,and with set button,i set them.

Cause it's a bit hard to work with buttons,i try make a inputbox wich ask for wich hotkey you wanna to active the slot.

Hope you got it :S

Link to comment
Share on other sites

  • Moderators

dfsfsd,

Hope you got it

You want to link different HotKeys to particular Items in a ListView so that you can do do something to the process listed? Am I even close? :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

You want to link different HotKeys to particular Items in a ListView so that you can do do something to the process listed? Am I even close? :D

M23

Something like

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 454, 403, 212, 128)
$List1 = GUICtrlCreateList("", 32, 48, 161, 201)
$Button1 = GUICtrlCreateButton("Save", 216, 64, 75, 25)
$Button2 = GUICtrlCreateButton("Set", 216, 104, 75, 25)
GUICtrlCreateInput("", 32, 16, 121, 21)
$Group1 = GUICtrlCreateGroup("Hotkey", 168, 280, 233, 89)
$Input1 = GUICtrlCreateInput("Input1", 192, 304, 121, 21)
$Button3 = GUICtrlCreateButton("Set", 216, 336, 75, 25)
$Label1 = GUICtrlCreateLabel("Your slot?", 320, 312, 51, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Link to comment
Share on other sites

  • Moderators

dfsfsd,

But what is in the list? What do the buttons do? How do you link the two? :D

I cannot read your mind - please give me some idea of what you are trying to do or I am out of here. :oops:

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:

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

 

Link to comment
Share on other sites

dfsfsd,

But what is in the list? What do the buttons do? How do you link the two? :D

I cannot read your mind - please give me some idea of what you are trying to do or I am out of here. :oops:

M23

Ya that's a bit problem :S

Soo Save button is save the memory of the process.Set button is set the memory-value.

Delete is deleting the slot wich you choose in $List1

Oh ya with save button,it's read the Inputbox,and after it's add in $List1 the name and the memory in a .ini file

Damn my english fail D:

So i wanna in second Inputbox,read the hotkey and then add it in slot of List1.

Like:

You write F11 and you choose your slot.Now the when you press the hotkey(F11) then the Slot wich is,will be active.Like set button

You got it? D:

Link to comment
Share on other sites

  • Moderators

dfsfsd,

You got it?

To be frank - no! :oops:

Try explaining it in your native tongue and I will use Google Translate. Do NOT try to translate it yourself - you write in whatever language you use and I will try to puzzle it out. :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

To be frank - no! :oops:

Try explaining it in your native tongue and I will use Google Translate. Do NOT try to translate it yourself - you write in whatever language you use and I will try to puzzle it out. :D

M23

You mean, i gotta write it in my main language? o.o

Link to comment
Share on other sites

  • Moderators

dfsfsd,

You mean, i gotta write it in my main language?

That is what "native tongue" means. :oops:

Is that a problem? :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

That is what "native tongue" means. :oops:

Is that a problem? :D

M23

I will try explain it again :/

Save($Button1) -> Read($Input1)->Save memory in the slot($List1)->Slot read($Input1) and save all at .ini file

Set($Button2)->Read wich slot are we($List1)->Then read in .ini->Find point->Set it in process!

I wanna make in every slot,have a Hotkey.

like

F11 Click!->F11 is in "One"(example)->Set it!

Link to comment
Share on other sites

  • Moderators

dfsfsd,

I will try explain it again

Last chance - explain in the language you use to talk to your mother or I am gone. :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

Last chance - explain in the language you use to talk to your mother or I am gone. :D

M23

Ok sorry :oops:

My lang. is Greek so....

¨"Θέλω να κάνω ένα Button όπου θα διαβάζει το Input2 και αυτό που θα διαβάζει,θα το κάνει hotkey στο slot όπου θα διαλέξει κάποιος στο $List1

Μετά όταν αυτό το hotkey πατηθεί,θα κάνει το function όπου το slot έχει οριστή."

By the way,you got skype or msn?

We may talk better :rip:

Link to comment
Share on other sites

  • Moderators

dfsfsd,

We may talk better

I sincerely doubt it! :oops:

That was basically what you have already told me in English - I was hoping for something rather more detailed. I have absolutely no idea what you are trying to do - I am out of here, sorry. :D

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:

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

 

Link to comment
Share on other sites

dfsfsd,

I sincerely doubt it! :oops:

That was basically what you have already told me in English - I was hoping for something rather more detailed. I have absolutely no idea what you are trying to do - I am out of here, sorry. :D

M23

Melba23

i try make

func set1()
$read = IniRead("Slots.ini", "Slots", Guictrlread($LIst1), "|||")
 
$az = HotKeySet(Guictrlread($Input2), $read)
EndFunc

So it's suppose to read $List1 and then set the hotkey wich will set it from inputbox2

i wanna make add hotkey in slots :S

may i suppose to delete Iniread

Edited by dfsfsd
Link to comment
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
 Share

  • Recently Browsing   0 members

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