Search found 78 matches

by drozdman
30 Apr 2023, 19:55
Forum: Ask for Help (v2)
Topic: [?] is there a preferred way of dynamically creating a new variable now, after the most recent v2 update?
Replies: 8
Views: 1895

Re: [?] is there a preferred way of dynamically creating a new variable now, after the most recent v2 update?

Variable assignment notations ":=" and "=" were very useful for creating variables dynamically. The quickness of it was the beauty of AHK. Though, the change is understandable. Still... Why is the notation ":=" maintained if there is no need for distinguishing it from literal assignments? It would b...
by drozdman
25 Apr 2023, 17:00
Forum: Ask for Help (v2)
Topic: Disable left windows key on Windows 11 with AHK 2 beta 3
Replies: 13
Views: 3971

Re: Disable left windows key on Windows 11 with AHK 2 beta 3

Is there any chance it will work in v2 as it did in v1? It still doesn't seem to. I try to migrate to v2, but the most important key remapping doesn't work. I use "LWin" as "copy" (ctrl+c) and "LWin & Space" as "view clipboard" (to simplify the code). Windows key doesn't get blocked and Start Menu o...
by drozdman
01 Nov 2019, 15:12
Forum: Scripts and Functions (v1)
Topic: Weather gadget (Gdip). Accuweather
Replies: 10
Views: 5868

Re: Weather gadget (Gdip). Accuweather

Should be updated. Fix for negative temperatures.
by drozdman
19 Oct 2019, 15:17
Forum: Scripts and Functions (v1)
Topic: Weather gadget (Gdip). Accuweather
Replies: 10
Views: 5868

Re: Weather gadget (Gdip). Accuweather

I tried again with MSN website. It may not block the traffic, if too many people use it. ● One has to choose web address for data in Fahrenheit or Celsius degrees and choose units: unit:="C" or unit:="F". It's mainly done for Celsius (barometer in metric). ● I added icons. with_icon:=1 or 2 or 3 (po...
by drozdman
06 Oct 2019, 14:55
Forum: Scripts and Functions (v1)
Topic: Weather gadget (Gdip). Accuweather
Replies: 10
Views: 5868

Re: Weather gadget (Gdip). Accuweather

@sevenwenty I tried to change user agent to Firefox, but still it doesn't get anything. They are blocking it, for sure. weather_url:="https://www.accuweather.com/en/us/new-york-ny/10007/current-weather/349727" Contents:=DownloadToString2(weather_url) MsgBox,4096,, % "Contents`n" Contents DownloadToS...
by drozdman
30 Aug 2019, 14:28
Forum: Scripts and Functions (v1)
Topic: Weather gadget (Gdip). Accuweather
Replies: 10
Views: 5868

Re: Weather gadget (Gdip). Accuweather

Sorry. I didn't think people used it anymore and I moved to something local. I updated this script for Accuweather. This should work. I did it quickly, so if something doesn't work I will fix it later. Edit: I added also normal and record temperatures in tooltip, since it's easily retrievable from J...
by drozdman
27 Feb 2019, 12:20
Forum: Forum Issues
Topic: What is with the IP bans and other aggressive security?
Replies: 21
Views: 21780

Re: What is with the IP bans and other aggressive security?

You mean report it as a cyber crime ? Yes. Otherwise, how do you expect they will do something about it? I'm surprised people don't report such attacks and demand action. It's difficult in USA, because NSA is a military agency. NSA is the agency which oversees the flow of information in USA (that's...
by drozdman
26 Feb 2019, 21:11
Forum: Forum Issues
Topic: What is with the IP bans and other aggressive security?
Replies: 21
Views: 21780

Re: What is with the IP bans and other aggressive security?

Who is doing it and for what purpose? That's an attack that has no value for scammers. Who has interest in disrupting this forum? What is the source of the attack? Obviously, IP's are spoofed or it's 'man in the middle' attack (or DNS hack), but it can be easily detected by NSA. If spammers are doin...
by drozdman
16 Jan 2019, 19:49
Forum: Scripts and Functions (v1)
Topic: DrozdTool - buttons for lists of 'favorites' in Notepad++, SciTE, Notepad2
Replies: 1
Views: 1335

Re: DrozdTool - buttons for lists of 'favorites' in Notepad++, SciTE, Notepad2

After minimizing Notepad2, there is a problem with controls being hidden. Mouse over shows them again. I tried to use SetWinEventHook in this version of the script, though in the end I'm not using it (animation with minimizing/maximizing is not synchronized). DrozdTool class hook.ahk #SingleInstance...
by drozdman
16 Jan 2019, 19:46
Forum: Scripts and Functions (v1)
Topic: DrozdTool - buttons for lists of 'favorites' in Notepad++, SciTE, Notepad2
Replies: 1
Views: 1335

DrozdTool - buttons for lists of 'favorites' in Notepad++, SciTE, Notepad2

DrozdTool - buttons for lists of 'favorites' in Notepad++, SciTE, Notepad2 I was supposed to post it last year, but I got some other stuff on my mind and then there were the forum update problems. I almost forgot about this script. In short: This script creates buttons for lists of 'favorites' in No...
by drozdman
16 Oct 2018, 10:02
Forum: Forum Issues
Topic: Maintenance
Replies: 51
Views: 11243

Re: Maintenance

What happened? Is this the desired outcome of the change?
Nothing works. Code cannot be downloaded, no syntax highlighting, etc.
And this terrible dark theme.
What is the reason for the change, anyway? It was working well, now it's a mess.
by drozdman
12 Oct 2018, 12:22
Forum: Scripts and Functions (v1)
Topic: Quick Notes. RichEdit version.
Replies: 10
Views: 5280

Re: Quick Notes. RichEdit version.

Updated: ● Added default font, background color (change after restart). Subroutine ResetFormat now uses those defaults. ● Added color palette option for Settings (double click on the edit control to open it) ● I modified the original RichEditDlgs.ChooseColor() function to fix the cancel option and b...
by drozdman
29 Sep 2018, 17:19
Forum: Scripts and Functions (v1)
Topic: Stick window to another, move together (SetWinEventHook)
Replies: 1
Views: 2131

Re: Stick window to another, move together (SetWinEventHook)

I didn't give an example, so this search tool from this Windows Explorer Toolbar may be used. Window Explorer Search /* • Ctrl+G - start search in active Explorer window • Escape - hide search windows • Ctrl+Q - exit program ; or double click on tray icon */ #SingleInstance force ;Menu, Tray, Icon, ...
by drozdman
29 Sep 2018, 17:09
Forum: Scripts and Functions (v1)
Topic: ComboBox with delete icon
Replies: 2
Views: 1364

ComboBox with delete icon

When I saw this nice TAB library by jballi with delete icons for tabs, I got an idea to make something like that for ComboBox. It can't be done with the same method (owner draw), though. I used SetWinEventHook with the event EVENT_OBJECT_SELECTION . To paint the delete icon I used either TextOut or ...
by drozdman
29 Sep 2018, 14:47
Forum: Scripts and Functions (v1)
Topic: Toolbars for 'Windows Explorer', for 'Open/Save As' dialogs. Double-click on windows' title bar
Replies: 4
Views: 4389

Re: Toolbars for 'Windows Explorer', for 'Open/Save As' dialogs. Double-click on windows' title bar

I have been using my own search file program, not only because I prefer RegEx search, but also because the Windows search is unreliable and slow. For instance, the Windows search misses newly added files (not yet in database). It matches whole words, so one can't find "subfolder" while searching for...
by drozdman
13 Sep 2018, 13:30
Forum: Scripts and Functions (v1)
Topic: Scripts management. AHK process list
Replies: 9
Views: 5483

Re: Scripts management. AHK process list

Adding files manually to "Misc" list and "Startup scripts" list was a little annoying (even though startup is not changing for me, the "Misc" list may have some temporary scripts). So I added context menu options: ● adding items and sorting of the lists and .ini file ● moving items into a position (...
by drozdman
11 Sep 2018, 13:53
Forum: Scripts and Functions (v1)
Topic: Scripts management. AHK process list
Replies: 9
Views: 5483

Re: Scripts management. AHK process list

@Alguimist I made some quick changes. A_AhkPath instead of the usual AHK path. Added default edit. The reload message may be better, indeed (for the routine with 32 bit version for instance). I changed the "on top" icon to something from 'shell32.dll', although I prefer the one in "wmploc.dll". BTW:...
by drozdman
09 Sep 2018, 22:56
Forum: Scripts and Functions (v1)
Topic: Scripts management. AHK process list
Replies: 9
Views: 5483

Re: Scripts management. AHK process list

@jeeswg
Thanks. This works great. :)
I will update the main script.
Edit: Although the side effect is higher CPU usage (WmiPrvSE.exe).
by drozdman
09 Sep 2018, 14:15
Forum: Scripts and Functions (v1)
Topic: Scripts management. AHK process list
Replies: 9
Views: 5483

Re: Scripts management. AHK process list

@FangLeone I usually use RegisterShellHookWindow for detecting starting programs, but there are some problems here. Windowless AHK scripts and closing scripts are sometimes missed. I tried to use SetWinEventHook here. It creates too many closing messages for child windows, so I made some checks. I p...
by drozdman
06 Sep 2018, 12:34
Forum: Scripts and Functions (v1)
Topic: Quick Notes. RichEdit version.
Replies: 10
Views: 5280

Re: Quick Notes. RichEdit version.

@mtodd Cool... :) BTW: If double-click is slowed down, the function OnStaticDoubleClick (DisableWindowsFeature) may be disabled. Though, when the static controls (like "Find", "Next") are double-clicked, their name will be copied to clipboard (such is the Windows "feature"). I don't use buttons here...

Go to advanced search