Search found 137 matches
- 11 Feb 2022, 13:51
- Forum: Ask for Help (v1)
- Topic: ListView - check each row if selected or not Topic is solved
- Replies: 8
- Views: 1165
ListView - check each row if selected or not Topic is solved
Hi, probably simple task but I cannot find the answer. I need to go through all the items in the ListView and determine for each if it's selected (marked blue) or not. This code is obviously not working. Any tip is much appreciated. loop % LV_GetCount() { if LV_GetNext(A_Index, "Selected") msgbox % ...
- 09 Feb 2022, 12:55
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
Amazing, thank you very much!
![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- 09 Feb 2022, 07:41
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
I'm searching, for example, for a second text under the second Title, not specific string. I also want to retrieve the ending position of the found string in the var (position like returned by InStr function).
- 08 Feb 2022, 15:34
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
Hm, not sure... it always returns 4 for me. I meant how to find the position of the found subtext in the original string (var).
- 08 Feb 2022, 13:05
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
Thanks, I can use this ![Smile :-)](./images/smilies/icon_e_smile.gif)
Just a related question please. I would also need to get the end position of the found text so I can insert another item. What would be the best way to get this position?
![Smile :-)](./images/smilies/icon_e_smile.gif)
Just a related question please. I would also need to get the end position of the found text so I can insert another item. What would be the best way to get this position?
- 08 Feb 2022, 09:10
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
You are right, sorry. You example is nicely summarizing all the alternatives.
And yes, the subtext can also be a blank line, like in your example.
And yes, the subtext can also be a blank line, like in your example.
- 08 Feb 2022, 08:27
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
Re: How to find the n-th occurence in the data structure
Thanks for your answer, I already learned a lot! Just few clarifications, maybe I was not clear:
- the Title could be any word and not Title1 etc...
- The Subtext can be multiline, like
Text22a
Text22b
...
- the Title could be any word and not Title1 etc...
- The Subtext can be multiline, like
Text22a
Text22b
...
- 08 Feb 2022, 07:01
- Forum: Ask for Help (v1)
- Topic: How to find the n-th occurence in the data structure
- Replies: 15
- Views: 1151
How to find the n-th occurence in the data structure
Hi, I kindly ask for a help. I have the following text data structure. The data is organized in several Titles and under each title there are several multiline sub texts. START, NEXT and END words are used to divide the data. Now I need to find, for example, the second text under the second title (t...
- 21 Jan 2022, 16:23
- Forum: Ask for Help (v1)
- Topic: Sending the mail with the link
- Replies: 9
- Views: 729
Re: Sending the mail with the link
Yes, thanks for your patience. As said, the script is not convenient for me as I’ll be running my script on a different computer each time so changing the server names etc each time is a problem.
- 21 Jan 2022, 10:21
- Forum: Ask for Help (v1)
- Topic: Sending the mail with the link
- Replies: 9
- Views: 729
Re: Sending the mail with the link
The question remains: is there a method to send html formatted email from AutoHotkey?
Or at least open the mail with html formatted body before sending?
Or at least open the mail with html formatted body before sending?
- 20 Jan 2022, 17:47
- Forum: Ask for Help (v1)
- Topic: Sending the mail with the link
- Replies: 9
- Views: 729
Re: Sending the mail with the link
It’s possible in this case. The user has AutoHotkey installed with the script already prepared in the known folder so it can be run. Another file is a .bat file which can also be executed.
- 20 Jan 2022, 14:51
- Forum: Ask for Help (v1)
- Topic: Sending the mail with the link
- Replies: 9
- Views: 729
Re: Sending the mail with the link
Thanks. I tried the script but I’ll be using it on a different computer each time so entering the server names etc is out of the question. Or is it possible to retrieve the default values from the registry somehow?
- 20 Jan 2022, 04:56
- Forum: Ask for Help (v1)
- Topic: Sending the mail with the link
- Replies: 9
- Views: 729
Sending the mail with the link
I would like to send the mail to another user with the link. Clicking the link would run a script on user's computer.
Is this possible? Thanks.
Is this possible? Thanks.
- 19 Jan 2022, 04:26
- Forum: Scripts and Functions (v1)
- Topic: LV_SetSelColors() - user-defined selection colors for ListViews
- Replies: 30
- Views: 6267
Re: LV_SetSelColors() - user-defined selection colors for ListViews
Thanks, very interesting. However I still don't understand how would be possible to use this functions to change the checkbox color. I see one alternative color, would it be possible to change it? Alternatively I was thinking about changing the ListView theme or style but whichever style I apply it ...
- 17 Jan 2022, 17:09
- Forum: Scripts and Functions (v1)
- Topic: LV_SetSelColors() - user-defined selection colors for ListViews
- Replies: 30
- Views: 6267
Re: LV_SetSelColors() - user-defined selection colors for ListViews
Thanks for replying just me. The checkbox accent color is the same color as used for selected rows so I thought there might be the way.
Is there a working example for using own icons as checkboxes?
Is there a working example for using own icons as checkboxes?
- 16 Jan 2022, 15:36
- Forum: Ask for Help (v1)
- Topic: Transparent png on a dark background
- Replies: 10
- Views: 945
Re: Transparent png on a dark background
Ok, thanks, it works.
The problem with this approach is that it replaces gradual transparency with the solid color and therefore makes the character bolder and introduces the jagged edges. But good to know, thanks!
The problem with this approach is that it replaces gradual transparency with the solid color and therefore makes the character bolder and introduces the jagged edges. But good to know, thanks!
- 16 Jan 2022, 14:06
- Forum: Ask for Help (v1)
- Topic: Transparent png on a dark background
- Replies: 10
- Views: 945
Re: Transparent png on a dark background
@Hellibent, thank you. It works great.
@boiler, thanks. Still no luck unfortunately. But I'm still intrigued with your solution. I created the file with a white background in Photoshop and used it in the script, not sure what's wrong. Please find the file attached.
@boiler, thanks. Still no luck unfortunately. But I'm still intrigued with your solution. I created the file with a white background in Photoshop and used it in the script, not sure what's wrong. Please find the file attached.
- 16 Jan 2022, 12:58
- Forum: Ask for Help (v1)
- Topic: Transparent png on a dark background
- Replies: 10
- Views: 945
Re: Transparent png on a dark background
Thanks for your reply - here is the generated file.
- 16 Jan 2022, 11:15
- Forum: Ask for Help (v1)
- Topic: Transparent png on a dark background
- Replies: 10
- Views: 945
Re: Transparent png on a dark background
Thanks for a quick response, sounds promising but unfortunately I still get the same result. What am I doing wrong? My PNG file was created in Photoshop and saved with PNG-24 option. Also, if Gdip can transform the file, can I do it in Photoshop too? #Include gdip_all.ahk #Include Gdip_ExpandColor.a...
- 16 Jan 2022, 09:30
- Forum: Scripts and Functions (v1)
- Topic: LV_SetSelColors() - user-defined selection colors for ListViews
- Replies: 30
- Views: 6267
Re: LV_SetSelColors() - user-defined selection colors for ListViews
In Windows 11 the ListView checkboxes are now colored blue (accent color) when enabled. Any idea if this could also be changed with the similar function? Thanks!