Search found 12 matches

by Bobak
01 May 2024, 02:08
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

... but it gives a lot of unnecessary blinking. If you need to update the options of existing ToolTip controls frequently, you should consider whether a ToolTip is the best solution for the task. First, thank you for helping! It's by no means optimal, but I want this info (caps and numlock status) ...
by Bobak
24 Apr 2024, 14:33
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

I have also messed around and found out that with the same Tooltip id without "deleting" first, the title and color is saved, but with a Tooltip(,,,id) before subsequent calls it works, but it gives a lot of unnecessary blinking. Actually same result as reset()
by Bobak
24 Apr 2024, 13:00
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

Sorry put wrong version up, I playing around #Requires AutoHotkey v2.0+ #SingleInstance Force Persistent #Include <ToolTipOptions> ToolTipOptions.Init() <^>!Esc:: ExitApp() !Esc:: Reload() ~CapsLock:: ~NumLock:: { KeyWait("NumLock") nl := GetKeyState("NumLock", "T") cl := GetKeyState("CapsLock", "T"...
by Bobak
24 Apr 2024, 12:33
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

I did that right after the #include.
I have now tried to move it down in the function but to no avail, just before use of setfont and it is working first time.
The text, title and color is set with first run, but title and color is not changed by subsequent calls in my example
by Bobak
24 Apr 2024, 10:13
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

Ups, the code disappeared #Requires AutoHotkey v2.0+ #SingleInstance Force Persistent #Include <ToolTipOptions> ToolTipOptions.Init() <^>!Esc:: ExitApp() !Esc:: Reload() ~CapsLock:: ~NumLock:: { KeyWait("NumLock") nl := GetKeyState("NumLock", "T")+1 cl := (GetKeyState("CapsLock", "T")+1)*2 0 1 2 4 i...
by Bobak
24 Apr 2024, 09:15
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

Thanks for the reply and fast too. It gives the strange effect that ix is locked and thus it is always the same. The idea is that the color, text and title should change with each press of one of the two hotkeys. In the example here I chose the same text in the title and text, but note that they are...
by Bobak
24 Apr 2024, 06:14
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4763

Re: Class ToolTipOptions - 2024-03-27

I'm about to get crazy. If I change the color and title it is not consistent. I use the same text, namely the col[ix] in both the title and in the Tooltip, but if I press NumLock several times the title is not the same as the text every time. What am I doing (or expecting) wrong? Please help! #Requi...
by Bobak
19 Jan 2024, 02:59
Forum: Ask for Help (v2)
Topic: asynchronous HTTP request.
Replies: 1
Views: 232

Re: asynchronous HTTP request.

Bard new, just had to ask the right way

Code: Select all

	req.setRequestHeader('User-Agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36')
	 req.setRequestHeader('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8')
by Bobak
18 Jan 2024, 03:47
Forum: Ask for Help (v2)
Topic: asynchronous HTTP request.
Replies: 1
Views: 232

asynchronous HTTP request.

Hi, I'm trying to download this page to a variable, but all I got is "status 406" I'm ashamed to say I got help with this problem here before but I (stupidly) got around to deleting everything for this project yesterday and don't remember the answer except it must have been something with SetRequest...
by Bobak
01 Jan 2024, 10:38
Forum: Ask for Help (v2)
Topic: New to Regex - pls help Topic is solved
Replies: 6
Views: 407

Re: New to Regex - pls help Topic is solved

I see that now, my bad. Sorry
by Bobak
01 Jan 2024, 10:17
Forum: Ask for Help (v2)
Topic: New to Regex - pls help Topic is solved
Replies: 6
Views: 407

Re: New to Regex - pls help Topic is solved

Thank you, quick responce. Your solution does'nt seem to give "Hold Horse". I perhaps have to give more of my html, I can see. First a lot html to build the page, then what comes here under, and then even more html <div class="profile-chose-menu__activity-wrapper"><div class="profile-chose-menu__act...
by Bobak
01 Jan 2024, 08:45
Forum: Ask for Help (v2)
Topic: New to Regex - pls help Topic is solved
Replies: 6
Views: 407

New to Regex - pls help Topic is solved

I have:

lots oh html
<span>🍑Eat steak🍑 </span><span>41</span>
more html
<span>🍑Hold horse🍑 </span><span>30</span>
more html
<span>🍑Eat vegies🍑 </span><span>30</span>
more html

I need:

Eat steak - 41
Eat vegies - 30

How the f* do I get that

Go to advanced search