Search found 17 matches

by Thalon
11 Jun 2024, 06:05
Forum: Scripts and Functions (v2)
Topic: Toggle hide/show taskbar windows 11
Replies: 4
Views: 393

Re: Toggle hide/show taskbar windows 11

This one will toggle all taskbars:

Code: Select all

GroupAdd "TaskBars", "ahk_class Shell_TrayWnd"
GroupAdd "TaskBars", "ahk_class Shell_SecondaryTrayWnd"

^1:: {
    static taskbarVisible := 1
    Win%(taskbarVisible ^= 1) ? 'Show' : 'Hide'%("ahk_group TaskBars")
  }
by Thalon
11 Jun 2024, 05:08
Forum: Scripts and Functions (v2)
Topic: MsgBox Creator for AHK [v2]
Replies: 35
Views: 12026

Re: MsgBox Creator for AHK [v2]

Just found this thread. I'm so glad that my old script is still useful for people after nearly 20 years 😊
Wanted to say a quick hello!
by Thalon
28 May 2024, 06:06
Forum: Ask for Help (v2)
Topic: Moving the Taskbar in Windows 11
Replies: 2
Views: 283

Re: Moving the Taskbar in Windows 11

 You probably won't be able to do this without editing the registry. Even then, it's only possible up to version 21H2. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 Starting with Windows 11, the taskbar is programmed using XAML instead of Win32, and for some reaso...
by Thalon
21 May 2024, 12:15
Forum: Scripts and Functions (v2)
Topic: ADOSQL v6
Replies: 22
Views: 2562

Re: ADOSQL v6

2. The element extraction from the array should look something like: You can also just do something like this: Results := ADOSQL( ConnectionString, " ( Select top 3 No_, Description from [Project] where [No_] like 'SAMPLE-%' )") ;Show first result only MsgBox Results[2][1] "`n" Results[2][2] ;Show ...
by Thalon
21 May 2024, 07:04
Forum: Ask for Help (v2)
Topic: Moving the Taskbar in Windows 11
Replies: 2
Views: 283

Moving the Taskbar in Windows 11

I've been using the windows taskbar on the top for quite a while now, but was forced to upgrade to Windows 11 at work and there is no option to do so anymore (including registry hacks as far as I could find out). I have written my own window manager to move around windows on my multi monitor setup a...
by Thalon
19 Feb 2024, 02:57
Forum: Scripts and Functions (v2)
Topic: Compose an Outlook Email with an embedded picture
Replies: 3
Views: 366

Re: Compose an Outlook Email with an embedded picture

Not that it hardly matters but the proptag should probably be 0x3712001F with an F at the end instead of E. It is just a slight difference in data type that probably will not matter in most cases but it could. Thanks for your great input! I've tested it and I'll update the script. Also, you don't s...
by Thalon
13 Feb 2024, 13:25
Forum: Scripts and Functions (v2)
Topic: Compose an Outlook Email with an embedded picture
Replies: 3
Views: 366

Compose an Outlook Email with an embedded picture

As I needed it for work here is a short script that creates a new mail in outlook with some HTML text and an embedded picture: #Requires AutoHotkey v2.0 #SingleInstance Force UniquePictureId := "MyUniquePictureName" PathToPicture := A_ScriptDir "\P01132.jpg" olMailItem := 0 o:= ComObjActive("Outlook...
by Thalon
12 Feb 2024, 04:06
Forum: Scripts and Functions (v2)
Topic: ADOSQL v6
Replies: 22
Views: 2562

Re: ADOSQL v6

Hey I uploaded a new version. Realized I hadn't properly handled SQL error reporting so I changed that up. All SQL related errors are dumped to an errorlog in the same folder as the script. Let me know if you run into any issues. Didn't have problems so far with the first version, but I've not enco...
by Thalon
07 Feb 2024, 04:50
Forum: Ask for Help (v2)
Topic: Where can I find an AutoHotkey v1 to v2 converter that really works? Topic is solved
Replies: 13
Views: 1344

Re: Where can I find an AutoHotkey v1 to v2 converter that really works? Topic is solved

Well, I don't think it's a good comparison with a self-driving car. There are way too many random aspects that have to be taken into account. I thought that converting v1 to v2 was more like converting 'something 10 cm long, somebody 1,81 meters tall, temperature raise from 32 to 34ºC, paid with Eu...
by Thalon
07 Feb 2024, 04:44
Forum: Ask for Help (v2)
Topic: Switching Win 11 to Hibernate and back need help
Replies: 2
Views: 149

Re: Switching Win 11 to Hibernate and back need help

You have to have hibernation enabled. Run CMD as Administrator and activate it: powercfg.exe /hibernate on That's the code to hibernate your system. To get it back to "live" just press the power button. You can't catch any button presses while the system is off/hibernated. #Backspace:: { DllCall("Po...
by Thalon
05 Feb 2024, 08:17
Forum: Scripts and Functions (v2)
Topic: ADOSQL v6
Replies: 22
Views: 2562

Re: ADOSQL v6

Works like a charm!
It needed just small changes, but I couldn't figure them out myself.
Now I can finally convert my most used script to V2!
by Thalon
05 Feb 2024, 08:12
Forum: Ask for Help (v2)
Topic: Accessing MS SQL Topic is solved
Replies: 6
Views: 668

Re: Accessing MS SQL Topic is solved

Ruevil2 wrote:
29 Jan 2024, 22:21
I ran into this same problem and ended up dealing with it.

Check here for working V2 modification

viewtopic.php?f=83&t=125462
Thank you soo much!
I've just tested it and it works quite fine :-)
by Thalon
13 Jan 2024, 05:31
Forum: Ask for Help (v2)
Topic: Accessing MS SQL Topic is solved
Replies: 6
Views: 668

Re: Accessing MS SQL Topic is solved

Moin @Thalon, would you please show your faulty v2 attempt? Here it is: /* ############################################################################################################### ###### ADOSQL v5.04L - By [VxE] ###### #########################################################################...
by Thalon
10 Jan 2024, 09:27
Forum: Ask for Help (v2)
Topic: Accessing MS SQL Topic is solved
Replies: 6
Views: 668

Re: Accessing MS SQL Topic is solved

garry wrote:
10 Jan 2024, 07:33
there is a converter from AHK-V1 to V2 , but I think not help in this case > how to update the ADOSQL-Script
https://github.com/mmikeww/AHK-v2-script-converter
Yeah, I've tried the converter already. But still have errors when running commands.
by Thalon
10 Jan 2024, 02:57
Forum: Ask for Help (v1)
Topic: Run and Read Powershell from AHK
Replies: 6
Views: 3937

Re: Run and Read Powershell from AHK

BoBo wrote:
11 Mar 2018, 11:34
Thalon? DER Thalon von ganz lang her?? :shock: :o :shifty: 8-)
Ja DER :D
Habe leider keine Benachrichtigung gesehen für deine Nachricht..
by Thalon
09 Jan 2024, 08:46
Forum: Ask for Help (v2)
Topic: Accessing MS SQL Topic is solved
Replies: 6
Views: 668

Accessing MS SQL Topic is solved

Hi! Long time no see :D I've used a script of mine for nearly a decade now and it's latest version made use of ADOSQL written by VXE. It does read and write from/to a MS SQL database. Today I tried to convert my program from AHK V1 to V2 and it at least starts after some changes, but I can't figure ...
by Thalon
02 Jan 2017, 06:14
Forum: Ask for Help (v1)
Topic: Run and Read Powershell from AHK
Replies: 6
Views: 3937

Run and Read Powershell from AHK

Hello! After a long long time away from the forum I'm back with a question regarding the integration of PowerShell into Autohotkey: How is it possible to run several Powershell-Commands from AHK and get the result without piping it into a file and read it from there? Here is a little example (of cou...

Go to advanced search