Search found 602 matches

by toralf
15 Sep 2018, 16:07
Forum: Ask For Help
Topic: Why use "hotkey, If"?
Replies: 4
Views: 394

Re: Why use "hotkey, If"?

I think you mean "latter" rather than "former", and If !(WinActive...) rather than If (WinActive...) . correct. IWhy would you ever use #If or #IfWinActive when you could use a normal If or If WinActive()? The answer is the same here. true Disabling a hotkey is not the same as sending it after it f...
by toralf
14 Sep 2018, 17:17
Forum: Ask For Help
Topic: Why use "hotkey, If"?
Replies: 4
Views: 394

Why use "hotkey, If"?

I came accross the command Hotkey, If, <Expression> . But when I used it, I started to wonder what the benefits are. This is what I initially coded. It is not functional since it is only a snip out of a larger code: #If GuisAreActive() #If GuisAreActive(){ global hGui Return (WinActive("ahk_id " Get...
by toralf
08 Sep 2018, 17:16
Forum: Ask For Help
Topic: fast help pls
Replies: 3
Views: 287

Re: fast help pls

Make the set timer line the first line in your code.
Currently that line never gets executed, since it is not inside any label or in the auto-exec section.
by toralf
06 Sep 2018, 15:36
Forum: AutoHotkey v2 Development
Topic: Nothing.
Replies: 24
Views: 2326

Re: Nothing.

Just my two cents :
I never had the need for a null so far.
Do I understand it right that “If 0”, “If False” and “If Null” would behave identical?
by toralf
06 Sep 2018, 09:08
Forum: Wish List
Topic: Improve Handling of BOLD for Treeview control
Replies: 3
Views: 807

Improve Handling of BOLD for Treeview control

While working with a treeview control, I realized, that handling BOLD is not as efficient as CHECKED or SELECTED or Expanded. a) For CHECKED and SELECTED two functions exist, to find the checked or the selected item: TV_GetNext([ItemID, "Checked | Full"]) and TV_GetSelection() No function exists tha...
by toralf
03 Sep 2018, 13:40
Forum: Ask For Help
Topic: Recurse through treeview
Replies: 1
Views: 169

Re: Recurse through treeview

I found the solution.
I had to use a while Loop instead of until. Or negate the Until Expression
by toralf
03 Sep 2018, 12:45
Forum: Ask For Help
Topic: Recurse through treeview
Replies: 1
Views: 169

Recurse through treeview

Hi, I can't figure out why this recursiv function doesn't Loop through the whole treeview. It gets stuck in an endless Loop between "One", "One.One" and "". Gui, Add, TreeView, r8 w100, Gui, Show p := TV_Add("one", 0) p := TV_Add("one.one", p) p := TV_Add("two", 0) p := TV_Add("three", 0) TVX_Walk(T...
by toralf
29 Aug 2018, 08:27
Forum: Ask For Help
Topic: IF statement does not work with 'AND' Topic is solved
Replies: 11
Views: 695

Re: IF statement does not work with 'AND' Topic is solved

Since you have parentheses you should not use the %%. (%xMouse%) refers to the adress of xMouse.

Code: Select all

If ((MouseX = xMouse) and (MouseY = yMouse) and (A_PriorKey = MButton))
by toralf
24 Aug 2018, 15:07
Forum: Ask For Help
Topic: Does someone habe TVX from majkinetor? Topic is solved
Replies: 1
Views: 198

Re: Does someone habe TVX from majkinetor? Topic is solved

Never mind, on the second page someone posted a modified Version of the module.
by toralf
24 Aug 2018, 14:51
Forum: Ask For Help
Topic: Does someone habe TVX from majkinetor? Topic is solved
Replies: 1
Views: 198

Does someone habe TVX from majkinetor? Topic is solved

I'm looking for the TVX module from majkinetor. The download link doesn't work anymore.
Does someone have it?
by toralf
21 Aug 2018, 16:34
Forum: Ask For Help
Topic: Wrapper for Notepad++ messages and notifications
Replies: 4
Views: 373

Re: Wrapper for Notepad++ messages and notifications

- @toralf: I would recommend mentioning any/all desired features explicitly. It could be a good checklist for a Notepad++ library and for other IDEs. Thanks jeeswg, my biggest dream is to create an AHK controlled project manager for notepad++. The integrated project views of notepad++ are way to si...
by toralf
21 Aug 2018, 16:16
Forum: Ask For Help
Topic: Wrapper for Notepad++ messages and notifications
Replies: 4
Views: 373

Re: Wrapper for Notepad++ messages and notifications

TheDewd wrote:FYI -- Notepad++ has an 'ActiveX Plugin' available for download.
Good idea, but you need to register the activeX for which You need admin rights AFAIK, which I do not have on my company pc...
by toralf
20 Aug 2018, 01:26
Forum: Ask For Help
Topic: Wrapper for Notepad++ messages and notifications
Replies: 4
Views: 373

Wrapper for Notepad++ messages and notifications

Dear all, I have been using PSPad in the past and would like to switch to notepad++. But since a few features are missing in notepad++ that I would need, i’m planing on automate Notepad++. But I’m not very good at messages . Therefore, I’m looking for wrappers or a class that I could use as a basis ...
by toralf
19 Aug 2018, 04:00
Forum: Ask For Help
Topic: pause/stop/break script if window is not active
Replies: 11
Views: 982

Re: pause/stop/break script if window is not active

I assume your while loop is causing you trouble, right?

If that is true, you could check if if the game is still the active window before you send the f10.

If you want the f10 still be send to the window you would have to use controlsend I assume or postmessage
by toralf
15 Aug 2018, 13:57
Forum: Ask For Help
Topic: Does someone have iSense?
Replies: 2
Views: 233

Does someone have iSense?

Does someone have a updated version of iSense which was originally by majkenator?
I was able to find the original on the old forum. But it is quite dated and I was wondering if someone still uses it and may have done updates to it?
by toralf
13 Aug 2018, 23:15
Forum: Ich brauche Hilfe
Topic: ä ö ü und ß, fuer englische Tastatur
Replies: 5
Views: 812

Re: ä ö ü und ß, fuer englische Tastatur

Guten Morgen Johannes, Ich empfehle Dir die Dokumentation von AHK zu lesen. Sie ist sehr gut und gibt dir auf deine Frage die Antworten. Schaue bitte mal unter Hotkey nach. Dort sollte auch ein Abschnitt bzw Link sein, wie man einen Tastenanschlag einer nicht Standard Taste erkennt. Ansonsten hast d...
by toralf
09 Aug 2018, 15:54
Forum: Ask For Help
Topic: Excel Column to Input Box
Replies: 1
Views: 180

Re: Excel Column to Input Box

You could use GuiControl,Move to resize the control depending on the amount of data.
by toralf
09 Aug 2018, 15:51
Forum: Ask For Help
Topic: Excel compare cells value from different workbooks
Replies: 2
Views: 256

Re: Excel compare cells value from different workbooks

You could have two COM objects that have each one of the excel files open. Then you can compare cells.
Or you insert a formula in Excel to compare the cells, then you do not even need AHK.
by toralf
09 Aug 2018, 15:43
Forum: Ich brauche Hilfe
Topic: Dropdownlist innerhalb Listview möglich? Topic is solved
Replies: 6
Views: 743

Re: Dropdownlist innerhalb Listview möglich? Topic is solved

Mir ist keine solche Möglichkeit bekannt.
Als Workaround wäre es aber möglich unterhalb des Listviev mehrere Dropdown Felder anzuordnen, in denen die LKW bzw Fahrer ausgewählt werden können und mit einem Button dann in die Tabelle eingefügt werden.
by toralf
03 Aug 2018, 02:17
Forum: Ask For Help
Topic: Read project pane of notepad++
Replies: 3
Views: 376

Read project pane of notepad++

I would like to be able to read the content of the project pane in Notepad++
It is a Treeview with class NN SysTreeView321.
Windows Spy can't get the content.

How could i get the content?

Go to advanced search