Search found 49 matches
- 20 Mar 2024, 08:47
- Forum: Ask for Help (v1)
- Topic: Make a script halt another one Topic is solved
- Replies: 13
- Views: 271
Re: Make a script halt another one Topic is solved
Hi, this probably is not the most elegant solution but it is simple and it worked for me. Doesn't work if you want to counts loops etc though I create a kill list by putting this at the beggining of all my ahk scripts. ; Get the PID of the current script Process, Exist PID := ErrorLevel ; Define the...
- 20 Mar 2024, 08:26
- Forum: Ask for Help (v1)
- Topic: Toggle Mouse Pointer Transparency
- Replies: 1
- Views: 129
Toggle Mouse Pointer Transparency
I was wondering if it is possible to toggle mouse pointer transparency without having to download/create a transparent cursor and then select it through the Windows control panel. If anyone has knowledge of such Wizardry, I would be very grateful if you could point me in the right direction. I have ...
- 17 Mar 2024, 09:46
- Forum: Ask for Help (v1)
- Topic: Search for folder with partial folder name
- Replies: 5
- Views: 78
Re: Search for folder with partial folder name
Hi andymbody, thank you for your help.
- 17 Mar 2024, 08:27
- Forum: Ask for Help (v1)
- Topic: Search for folder with partial folder name
- Replies: 5
- Views: 78
Re: Search for folder with partial folder name
Hi andymbody, Thank you for your help. I am a relative newbie and I'm not sure how I would actually incorporate your suggestion in my script. I'm still struggling with syntax. Are you able to show me how it would be incorporated?
- 17 Mar 2024, 08:06
- Forum: Ask for Help (v1)
- Topic: Search for folder with partial folder name
- Replies: 5
- Views: 78
Search for folder with partial folder name
Hi, I need to check if a directory exists using a partial folder name "[S######]". "[SQ######]" will actually be a variable determined by information contained in an active control. "F:\Records\Name – [SQ123456] Description" is an example of the type of folder I will be looking for. This works for a...
- 27 Nov 2023, 02:48
- Forum: Ask for Help (v1)
- Topic: Assistance required, prepared to pay for services
- Replies: 1
- Views: 193
Assistance required, prepared to pay for services
Hi I hope this isn't a breach of forum rules. I am a small business owner who is looking for someone to write a bit of code in AHK v1.1. I am prepared to pay for services rendered. We are located in Sydney, Australia. I am familiar with AHK v1.1 and have basic skills. I have written several scripts ...
- 13 Jun 2023, 07:22
- Forum: Ask for Help (v1)
- Topic: Hotstring firing twice. Topic is solved
- Replies: 1
- Views: 212
Hotstring firing twice. Topic is solved
Hi I have pieced together a hotstring for our team members and it almost works as intended. Initially it works as intended, however if you hit SPACE or ENTER immediately after the hotstring has been triggered, it deletes a few characters of the text that just pasted then it appears triggers the hots...
- 11 Sep 2022, 16:21
- Forum: Ask for Help (v1)
- Topic: GUI button for external application
- Replies: 7
- Views: 798
Re: GUI button for external application
It is still a work in progress but this sees to work really well. ;#NoTrayIcon #Persistent IDs := {} ; = already running list SetTimer, Counter, 200 Counter: IDNew := WinActive("Supplies") Counter := True For Key, IDOld in IDs { If !WinExist("ahk_id " IDOld) ;already closed IDs.RemoveAt(Key) ;remove...
- 11 Sep 2022, 07:47
- Forum: Ask for Help (v1)
- Topic: Window Title + PID as a parent for a GUI
- Replies: 0
- Views: 234
Window Title + PID as a parent for a GUI
Hi, I have managed to piece together the following code to overlay a GUI button on another applications window by making that window a parent of the GUI and it works beautifully. The code at the top detects each time a new instance of the parent application is started and attaches the GUI to the mos...
- 11 Sep 2022, 07:18
- Forum: Ask for Help (v1)
- Topic: GUI button for external application
- Replies: 7
- Views: 798
Re: GUI button for external application
Thanks garry. I have decided to pursue another avenue.
- 06 Sep 2022, 06:30
- Forum: Ask for Help (v1)
- Topic: GUI button for external application
- Replies: 7
- Views: 798
Re: GUI button for external application
Thank you mikeyww. I have used set timer to acheive what I want but it doesn't move as smoothly as this. I am on a very steep learning curve. I started using AHK with no coding experience at all. I have come a long way but I still really struggle trying to get my head around the more complex code. T...
- 06 Sep 2022, 05:37
- Forum: Ask for Help (v1)
- Topic: GUI button for external application
- Replies: 7
- Views: 798
GUI button for external application
Hi, I am trying to create a button for an application that moves with the window if the window is minimized and moved. I have the following code (Borrowed from Fanatic Guru & modified) which works, but the scaling of the button, text and screen position don't seem to be correct. I am trying to set t...
- 06 Sep 2022, 03:19
- Forum: Ask for Help (v1)
- Topic: Having Trouble Returning Mouse To Starting Position on a Multi Monitor Setup? Try this. Topic is solved
- Replies: 11
- Views: 2133
Re: MouseMove stops working part way through script. Could this be a Bug? Topic is solved
Okay I have finally worked out what is going on here. I have a Multi Monitor Setup and I was using the following code to return the mouse to its starting position. #IfWinActive, (WindowTitle, ....) [Hotkey]:: CoordMode, Mouse, Client MouseGetPos, StartX, StartY ;;;;;Script Body;;;;; MouseMove, Start...
- 05 Sep 2022, 04:56
- Forum: Ask for Help (v1)
- Topic: Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
- Replies: 4
- Views: 999
Re: Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
Hi Rohwedder, it appears to work perfectly.
Thank you so much.
Thank you so much.
- 05 Sep 2022, 01:33
- Forum: Ask for Help (v1)
- Topic: Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
- Replies: 4
- Views: 999
Re: Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
Hi Rohwedder, thanks for your assistance.
Your script works fine for when I open a new window but it won't let me unmaximise (Restore Down) any of the windows that have been opened.
Any suggestions?
Your script works fine for when I open a new window but it won't let me unmaximise (Restore Down) any of the windows that have been opened.
Any suggestions?
- 04 Sep 2022, 18:50
- Forum: Ask for Help (v1)
- Topic: Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
- Replies: 4
- Views: 999
Multiple Windows with the same name - Script to Maximize each window the first time it is opened only Topic is solved
Hi I use the following script to maximise an application window the first time it is opened only. #SingleInstance Force #NoTrayIcon #Persistent Loop { WinWait, Supplies - Metal Roofing and More Sleep, 100 Send, !{Space} Send, x WinWaitClose } It works perfectly but I run into an issue when I open an...
- 04 Sep 2022, 09:08
- Forum: Ask for Help (v1)
- Topic: Having Trouble Returning Mouse To Starting Position on a Multi Monitor Setup? Try this. Topic is solved
- Replies: 11
- Views: 2133
Re: MouseMove stops working part way through script. Could this be a Bug? Topic is solved
This also doesn't work properly. Occasionly it will execute the MouseMove, maybe 1 in 20 times. If ErrorLevel=0 ; Pixel is found, confirmed with MsgBox { Send, {Tab 4} MouseMove, StartX, StartY Sleep, 1000 Return ; This is not normally here, I have just put it here to test what is going on. Loop, 10...
- 04 Sep 2022, 04:05
- Forum: Ask for Help (v1)
- Topic: Having Trouble Returning Mouse To Starting Position on a Multi Monitor Setup? Try this. Topic is solved
- Replies: 11
- Views: 2133
Re: MouseMove stops working part way through script. Could this be a Bug? Topic is solved
Hi Boiler, sorry I have written my response poorly, let me clarify. I was trying to demonstrate where the MouseMove stops working. I don't acutally want the MouseMove here, I want it at the end of a much longer script. The only variance to my usual code (^a ^c) is, Send, {Tab 4} Loop, 10 { Send, ^a ...
- 04 Sep 2022, 03:47
- Forum: Ask for Help (v1)
- Topic: Having Trouble Returning Mouse To Starting Position on a Multi Monitor Setup? Try this. Topic is solved
- Replies: 11
- Views: 2133
Re: MouseMove stops working part way through script. Could this be a Bug? Topic is solved
Hi Rohwedder, that is how I had my script coded intially and it didn't wor so I moved it under the hotkey to see if that changed the behaviou which it didn't. I have replaced the {Tab 4} with a Mouse Click and I can get 2 line further into the code before it stops working properly. Amended code belo...
- 04 Sep 2022, 03:11
- Forum: Ask for Help (v1)
- Topic: Having Trouble Returning Mouse To Starting Position on a Multi Monitor Setup? Try this. Topic is solved
- Replies: 11
- Views: 2133
Re: MouseMove stops working part way through script Topic is solved
Okay, I have tracked down where the MouseMove Stops working and I have no idea why. The problem only seems to manifest itself after multiple TAB's in this code. I get the same result with Up/Down Arrows as well. Could this be a bug? See code below woth comments ImageSearch,,,1272, 186, 1284, 198, *8...