Search found 707 matches

by rommmcek
17 Sep 2019, 22:14
Forum: Ask For Help
Topic: Recognize if bold text is in Clipboard
Replies: 1
Views: 189

Re: Recognize if bold text is in Clipboard

Maybe this code could help you.
by rommmcek
17 Sep 2019, 02:02
Forum: Scripts and Functions
Topic: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node
Replies: 11
Views: 1014

Re: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node

I actually came up with this: if IsExpanded := TV_Get(A_EventInfo,"E") TV_Modify(A_EventInfo, "-Expand") else TV_Modify(A_EventInfo, "Expand") but it didn't work if doubleClick occurred on + / - sign. Your one liner works just fine!!! Launching sites from TreeView is for me very useful especially fo...
by rommmcek
16 Sep 2019, 11:54
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

Great news! Thanks!
Remains to see if there are further bugs! (I'm already aware of a tiny one - If one dimension of range frame is 1 pixel)
by rommmcek
16 Sep 2019, 11:45
Forum: Scripts and Functions
Topic: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node
Replies: 11
Views: 1014

Re: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node

Here is my first attempt for launching Ahk sites via Tree structure (only for Bold Items). ;https://www.autohotkey.com/boards/viewtopic.php?f=6&t=67922 #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common er...
by rommmcek
15 Sep 2019, 04:26
Forum: Scripts and Functions
Topic: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node
Replies: 11
Views: 1014

Re: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node

Thanks for explanation! Now I think I get it. I tried to save tree structure from Ahk Example and your function works great!

Thanks for Ideas too, but don't bother with the exemple, I have to figure it out by myself!
by rommmcek
14 Sep 2019, 13:12
Forum: Scripts and Functions
Topic: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node
Replies: 11
Views: 1014

Re: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node

Comments or just empty lines would improve readability of ServiceTree data for sure. The problem is that current code can't keep them after saving. I was thinking about escape character too (for strings with semicolons), but that is not so important. Here is Ahk site service tree. AutoHotkey;Downloa...
by rommmcek
14 Sep 2019, 12:48
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

It must be a RegEx issue! When I was getting rid of flickering, there was the same issue on Win10 too, but outside ListView controls, so was able to filter that out. Will test it next week on W7... On previous page is a new 1.57.5 version with further improvements and initial anti-flicker OnMouseMov...
by rommmcek
13 Sep 2019, 08:59
Forum: Scripts and Functions
Topic: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node
Replies: 11
Views: 1014

Re: Save/Load a TreeView and save Check/Bold/Expanded attributes for each node

Thanks for the code, I think it could be quite useful! Q: The format in the .txt file, is it kind of standard or did you invent it for that purpose? I noticed in the LoadTree() function there should be better: . . . Gui, TreeView, %sTreeName% GuiControl, -Redraw, %sTreeName% TV_Delete() . . . to del...
by rommmcek
13 Sep 2019, 06:48
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

I noticed a bit of flicker even on Win10 when Color name was very long and since it was not too bad...
Now fixed, I believe.

P.s.: I'm not happy with "Color stealer" yet (It does not pick colors exactly inside the frame)
by rommmcek
11 Sep 2019, 17:15
Forum: Ask For Help
Topic: Rebind left alt to push to talk key, " ` " (vkDFsc029)
Replies: 93
Views: 5209

Re: Rebind left alt to push to talk key, " ` " (vkDFsc029)

- The lag is due to ToolTips display slowing down the Kbd funciton. That's why in the real Kbd function we use Timers to mitigate that. Kbd function with ToolTips is ment to explore kbd events (one press at a time) - "extra info tooltip" has a typo and should be numget(lParam+8, "UInt")&0x80 - Kbd t...
by rommmcek
10 Sep 2019, 14:59
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

Sorry for trouble! (must be after posting Edit-Paste Error). Fixed & tested, includes another missed small feature.

bye!
by rommmcek
10 Sep 2019, 08:41
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

This is now all I wanted: added ToolTip info (particularly useful for named charts) added Color dialog (see "How to use" at the top of the script) several (minor) bug fixes and (small) improving features Attached some named color charts/pallets. (It's much easier to remember if you have a name) ; ==...
by rommmcek
08 Sep 2019, 21:40
Forum: Ask For Help
Topic: Please help me remove CRLF Topic is solved
Replies: 2
Views: 135

Re: Please help me remove CRLF Topic is solved

Try:

Code: Select all

var=
(
10
the timer: "9
"}
)
msgbox % StrReplace(StrReplace(var, "`r"), "`n")
by rommmcek
06 Sep 2019, 09:36
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

Works fine! Thank you! Another quirk is: Escaping dialog box (Open, Save) or range frame exits/hides application too. So I added: ~ESC:: if !WinActive("Show Me That Color v" version) || WinExist("outline1") Return ; . . . And last lines of the apply routine should be ; . . . if (lastfound) && (getco...
by rommmcek
06 Sep 2019, 00:28
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

Win 10 overrides previous Hotkey (no conflict), but it's a good point to change the script in order to retain user experience backwards compatible as much as possible! New version: Fixed raster InputBox position near right/bottom edge of the screen When saving displayed color chart, number of (curre...
by rommmcek
05 Sep 2019, 10:12
Forum: Ask For Help
Topic: Rebind left alt to push to talk key, " ` " (vkDFsc029)
Replies: 93
Views: 5209

Re: Rebind left alt to push to talk key, " ` " (vkDFsc029)

I'm glad there is progress!!! I have no IT education, but here is my explanation: NumGet gets values from the address in the memory In the original keyboard hook script are this lines: NumGet(lParam+0, "uint") = vk NumGet(lParam+4, "uint") = sc NumGet(lParam+8, "uint") = flags looking at the msdn KB...
by rommmcek
05 Sep 2019, 06:58
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

O.k., here is my version: ; ===================================================================================================================== ; Name: Show me that color ; Description: Use clipboard to display selected hex color or R,G,B text value ; Topic: https://www.autohotkey.com/boards/viewt...
by rommmcek
02 Sep 2019, 23:13
Forum: Ask For Help
Topic: AutoHotKey PixelGetColor
Replies: 2
Views: 191

Re: AutoHotKey PixelGetColor

What is (red-ish) color? Try this: loop, { MouseGetPos, mx, my PixelGetColor, clr, mx, my, RGB if (clr>>16)&0xff>0xc0 && ( (clr>>8)&0xff<0x80 && clr&0xff<0x40 || (clr>>8)&0xff<0x40 && clr&0xff<0x80 ) ; or use your criterium. { ToolTip, % clr ; this is test line. Once you're satisfied with result, co...
by rommmcek
02 Sep 2019, 20:06
Forum: Scripts and Functions
Topic: [Tool] Show Me That Color (display selected text colors in a GUI)
Replies: 27
Views: 2399

Re: [Tool] Show Me That Color (display selected text colors in a GUI)

v1.4 is great step forward! Cutting off excessive rows is awesome feature! You could add the same for excessive columns! Of course this would be doable only for predefined color charts including un extra delimiter e.g. semicolon. Starting predefined color chart would be something like F3::Run, Show_...

Go to advanced search