Search found 229 matches

by KilliK
29 Jun 2020, 12:45
Forum: Ask For Help
Topic: Strange problem with FileMoveDir
Replies: 0
Views: 343

Strange problem with FileMoveDir

Hello. I discovered a strange behavior when using FileMoveDir to move folders and html files from a specific folder. here is a simple version of my script: Source = C:\Folder1 Destination = C:\Folder2 name1:= "A_files" name2:="A_1_files" FileMoveDir, %Source%\%name1%, %Destination%\%name2%, 0 Folder...
by KilliK
26 Jun 2020, 10:07
Forum: Ask For Help
Topic: Question about OnMessage and Function
Replies: 1
Views: 748

Question about OnMessage and Function

Hello. here is a simple GUI and a function checking the relative coords of the mouse inside the gui. CoordMode, Mouse, Relative Gui, Show, w200 h200 Center, var3:=0 OnMessage(0x200, "TEST") Return TEST() { var1:=0 var2:=5 global var3 MouseGetPos, X,Y,,controlv ;tooltip %X% if (X < 80) { if !(var1 = ...
by KilliK
25 Jun 2020, 10:25
Forum: Ask For Help
Topic: Can not get host name from url with RegExReplace
Replies: 3
Views: 779

Can not get host name from url with RegExReplace

Hello I am trying to extract the host name from an url by using RegExReplace or RegExMatch. I found an old method from here: https://autohotkey.com/board/topic/73754-extract-from-url-only-the-domainhost-name-without-http/ but I would like to use a simpler syntax by using only the above commands if p...
by KilliK
21 Jun 2020, 09:06
Forum: Ask For Help
Topic: How to get the name or number of the hovered tab in a GUI? Topic is solved
Replies: 3
Views: 1487

Re: How to get the name or number of the hovered tab in a GUI? Topic is solved

thanks, but it only get the already focused tab, not the hovered one. And the other options of GuiControlGet are only about getting info for the active gui control. I will have to use coordinates as a last result, but I would like first to see if there is a simpler way to get the number or text of t...
by KilliK
20 Jun 2020, 18:47
Forum: Ask For Help
Topic: How to get the name or number of the hovered tab in a GUI? Topic is solved
Replies: 3
Views: 1487

How to get the name or number of the hovered tab in a GUI? Topic is solved

Hello. I have created a GUI with tabs and I permanently highlight the default or the selected tab with the below code (the selected tab has a blue background) TabDefault:=1 Gui, Add, Tab2, hWndhTab vTabNum gGuiTab AltSubmit Choose%TabDefault%, TabA|TabB|TabC PostMessage, 0x1333, % TabDefault -1, 1, ...
by KilliK
01 Dec 2019, 21:32
Forum: Ask For Help
Topic: Find DeviceNumber of Audio Device Name. How?
Replies: 3
Views: 1654

Re: Find DeviceNumber of Audio Device Name. How?

I figured out how to map the device names with their corresponding mixer numbers using Lexicos' VA.ahk script, but I have discovered another problem with his script. it completely crashes my script when I run it in a loop. Here is my code: #include VA.ahk Loop 14 ;total number of my mixer devices { ...
by KilliK
01 Dec 2019, 18:39
Forum: Ask For Help
Topic: Find DeviceNumber of Audio Device Name. How?
Replies: 3
Views: 1654

Find DeviceNumber of Audio Device Name. How?

Hello. I have created a script which I use in conjunction with VoiceMeeter Banana, to independently alter the volumes of my audio devices (both real and virtual). I use the SoundSet command with the respective DeviceNumber of the audio device, which I got from the soundcard analysis script as it was...
by KilliK
26 Oct 2019, 08:45
Forum: Ask For Help
Topic: Don't reposition tabs rows when clicked.
Replies: 3
Views: 482

Re: Don't reposition tabs rows when clicked.

can I at least change the look of the buttons? how can I configure their layout?
by KilliK
26 Oct 2019, 08:19
Forum: Ask For Help
Topic: Don't reposition tabs rows when clicked.
Replies: 3
Views: 482

Don't reposition tabs rows when clicked.

Hello. I have created a GUI box with two tabs rows. I was wondering if there is a way for the tabs rows to not swap whenever I click one of the tabs in the background row. here is what I mean: normal rows: https://i.imgur.com/8LFZXFK.jpg reversed rows: https://i.imgur.com/qhxZPw4.jpg when I click th...
by KilliK
26 Oct 2019, 08:13
Forum: Ask For Help
Topic: Center GUI button in the x axis. Topic is solved
Replies: 4
Views: 708

Re: Center GUI button in the x axis. Topic is solved

thanks, your code works fine. :bravo:
by KilliK
21 Oct 2019, 20:00
Forum: Ask For Help
Topic: Center GUI button in the x axis. Topic is solved
Replies: 4
Views: 708

Re: Center GUI button in the x axis. Topic is solved

thank you, I will test it right now. I have one question though. why do you subtract 100 in teh function?
by KilliK
21 Oct 2019, 19:55
Forum: Ask For Help
Topic: How to get the screen position of a GUI without the titlebar?
Replies: 2
Views: 341

How to get the screen position of a GUI without the titlebar?

Hello. How do I get the top left coordinates of a GUI without the window's titlebar, relative to the monitor's Screen? here is what I mean, I use the mouse to point out which coordinates I want: AHK's Window Spy gives the position X:1115 and Y:627 https://i.imgur.com/k60bVUO.jpg and here it gives th...
by KilliK
21 Oct 2019, 13:23
Forum: Ask For Help
Topic: Center GUI button in the x axis. Topic is solved
Replies: 4
Views: 708

Center GUI button in the x axis. Topic is solved

Hello. I have created this small GUI. My problem is that I cant center the EXIT button in its x axis. The solutions I have found are for centering the buttons in the GUI box, not to the axis where the button is positioned. So how can I do that? here is the code with the buttons. they are positioned ...
by KilliK
10 May 2019, 20:13
Forum: Ask For Help
Topic: Possible to check if not downloading from internet?
Replies: 2
Views: 603

Re: Possible to check if not downloading from internet?

I'd be interested to know an answer too. Currently I monitor the download directories using a timer and look for files with a .part extension. If there are no such files then I know the download has completed. after some googling, I found a solution. Windows has a native command typeperf which is t...
by KilliK
11 Apr 2019, 11:56
Forum: Ask For Help
Topic: Possible to check if not downloading from internet?
Replies: 2
Views: 603

Possible to check if not downloading from internet?

Hello. I have created a script which opens all my game clients whenever I need to update all my games. The clients open in a sequential order with a 10s gap between each loading. Unfortunately, the file size of the updates are too big and eventually the hdd/network/system clogs by the workload. I ca...
by KilliK
10 Apr 2019, 20:07
Forum: Ask For Help
Topic: Loop, Files with If statements. Need help with file pattern. Topic is solved
Replies: 2
Views: 788

Loop, Files with If statements. Need help with file pattern. Topic is solved

Hello. I have created a script with the Loop,Files command which scans a folder for all its files and depending on the ext/name of each file, it processes it accordingly. I am doing only one Loop and use an if statement for each situation. Most of the if statements have this syntax: if (A_LoopFileEx...
by KilliK
03 Apr 2019, 08:31
Forum: Ask For Help
Topic: How to check if a window is fully behind others? Topic is solved
Replies: 7
Views: 1415

Re: How to check if a window is fully behind others? Topic is solved

iPhilip, I checked your code and it works very well, it does exactly what I need. thank you very much.
by KilliK
26 Mar 2019, 10:54
Forum: Ask For Help
Topic: How to check if a window is fully behind others? Topic is solved
Replies: 7
Views: 1415

How to check if a window is fully behind others? Topic is solved

Hello. Is there a reliable way to check whether a window is fully covered behind other windows? I have a small window which is kept non-activated in the right side of the screen, next to another focused window. That small window sometimes gets hidden behind other windows, and I need to manually brin...

Go to advanced search