Search found 21 matches
- 17 Apr 2024, 18:15
- Forum: Ask for Help (v2)
- Topic: Control screen to be turned off with a hotkey
- Replies: 1
- Views: 185
Control screen to be turned off with a hotkey
There are several tools to turn off the monitor available online but I want to be able to control which one to be turned off when there is more than one screen being connected to the Windows PC. [Mod edit: Moved topic from 'Scripts and Functions (v2)' - which is meant for publishing working scripts ...
- 18 Apr 2022, 08:29
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
All Done!
Thanks!
Thanks!
- 18 Apr 2022, 06:45
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
I assume the new changes that you made should not include the last two lines. It should be just like the below without the Reload again there, as it is in your script. #Persistent SysGet, OldCount, MonitorCount ; set intial value of "old" count SetTimer, MonitorCheck, 15000 Sleep, 600000 Reload Retu...
- 18 Apr 2022, 06:33
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
I am using the Reload from before I added the new modifications. I am not using it because of this. I am aware that the settimer does the check every 15 seconds.
I use it because the script does not work sometimes and needs to be reloaded to work again.
Will your new script take care of that?
I use it because the script does not work sometimes and needs to be reloaded to work again.
Will your new script take care of that?
- 18 Apr 2022, 05:53
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
Please assist in with the below. Below is the start of my script. If I use this 1st then it will not detect monitor switching anymore. Sleep 600000 Reload, #Persistent SysGet, OldCount, MonitorCount ; set intial value of "old" count SetTimer, MonitorCheck, 15000 Return MonitorCheck: SysGet, MonCount...
- 17 Apr 2022, 17:11
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
Ok.
Well anyway. Thanks for all your help and support.
Well anyway. Thanks for all your help and support.
- 17 Apr 2022, 15:45
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
It had to go on the top, before everything. Even before the sleep command. I hope It won't effect it. I tried adding a 2nd program and added another Run, my programs after the 1st one but it just kept on looping. Starting the program over and over again. Is there a safe way to run another program af...
- 17 Apr 2022, 13:31
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
WOW!
It actually works!!!
It seems to be conflicting with my original scripts. I had to delete everything else and just keep it there by itself...
Do I have to run a separate AHK file to get it to work?
It actually works!!!
It seems to be conflicting with my original scripts. I had to delete everything else and just keep it there by itself...
Do I have to run a separate AHK file to get it to work?
- 17 Apr 2022, 11:23
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
I tried a couple of changes but not sure what I am suppose to change. Nothing worked so far...
- 17 Apr 2022, 09:59
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
Fine but not sure if it will be totally wrong or what...
SysGet, Mon1, Monitor, 1
Run "My file location"
SetTimer,, 5000
Return
SysGet, Mon2, Monitor, 2
Run "My file location"
SetTimer,, 10000
Return
SysGet, Mon1, Monitor, 1
Run "My file location"
SetTimer,, 5000
Return
SysGet, Mon2, Monitor, 2
Run "My file location"
SetTimer,, 10000
Return
- 17 Apr 2022, 09:34
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
Would a settimer command keep running the command it detects the monitors count of one or two over and over each time the timer restarts.?
Can you assist in writing the script for one and for two monitors?
Can you assist in writing the script for one and for two monitors?
- 17 Apr 2022, 09:04
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Re: Auto launch program on 2nd monitor detection. Topic is solved
I already use AHK script and the script restarts every 10 min by using sleep command.
I would need to use another sleep command in the same script that works every few seconds and not sure if 2 sleep commands would work in the same script...
I would need to use another sleep command in the same script that works every few seconds and not sure if 2 sleep commands would work in the same script...
- 17 Apr 2022, 08:40
- Forum: Ask for Help (v1)
- Topic: Auto launch program on 2nd monitor detection. Topic is solved
- Replies: 21
- Views: 1533
Auto launch program on 2nd monitor detection. Topic is solved
I tried configuring the program called displayfusion to do the task for me. It works but with bugs. I am still working with them to resolve it but it does not seem that there is an easy way to resolve it. The below is the thread for that discussion. https://www.displayfusion.com/Discussions/View/iss...
- 20 Mar 2022, 13:57
- Forum: Ask for Help (v1)
- Topic: Trigger a hotkey with Mouse Topic is solved
- Replies: 6
- Views: 660
Re: Trigger a hotkey with Mouse Topic is solved
Perfect!
Thank you very much.
Thank you very much.
- 20 Mar 2022, 12:47
- Forum: Ask for Help (v1)
- Topic: Trigger a hotkey with Mouse Topic is solved
- Replies: 6
- Views: 660
Re: Trigger a hotkey with Mouse Topic is solved
An updated version did not resolve it.
The error occurs during loading.
I attached an image to view the error.
The error occurs during loading.
I attached an image to view the error.
- 20 Mar 2022, 11:30
- Forum: Ask for Help (v1)
- Topic: Trigger a hotkey with Mouse Topic is solved
- Replies: 6
- Views: 660
Re: Trigger a hotkey with Mouse Topic is solved
Thanks.
The coordinates script kept giving errors.
Not sure if it is because I am using an old version of AutoHotkey.
It worked well with clicking the two buttons at the same time.
The coordinates script kept giving errors.
Not sure if it is because I am using an old version of AutoHotkey.
It worked well with clicking the two buttons at the same time.
- 20 Mar 2022, 09:16
- Forum: Ask for Help (v1)
- Topic: Trigger a hotkey with Mouse Topic is solved
- Replies: 6
- Views: 660
Trigger a hotkey with Mouse Topic is solved
I have the Win+F2 button ready to trigger an event on a program that I have.
I want to either trigger it by clicking both mouse keys or coordinates + one mouse key.
Coordinates will be 0x0 because it is the left top corner.
I tried
{RButton}{LButton}::#F2
but failed.
I want to either trigger it by clicking both mouse keys or coordinates + one mouse key.
Coordinates will be 0x0 because it is the left top corner.
I tried
{RButton}{LButton}::#F2
but failed.
- 25 Jan 2022, 16:32
- Forum: Ask for Help (v1)
- Topic: Open folder in new window using mouse middle click
- Replies: 3
- Views: 876
Re: Open folder in new window using mouse middle click
Thanks because the script did work.
Can it be improved even further.
It is a bit slow. I have to select the folder before I use the middle button to launch it.
I would also like it to launch folders from the navigation pane of the file explorer.
Can it be improved even further.
It is a bit slow. I have to select the folder before I use the middle button to launch it.
I would also like it to launch folders from the navigation pane of the file explorer.
- 25 Jan 2022, 14:28
- Forum: Ask for Help (v1)
- Topic: Open folder in new window using mouse middle click
- Replies: 3
- Views: 876
Open folder in new window using mouse middle click
I found this already solved in the below link but it did not work for me.
I tried several of the codes in that thread but none of them worked.
Can someone recheck them and post the correct one here?
viewtopic.php?t=9832
I am trying it on Windows 8.1.
I tried several of the codes in that thread but none of them worked.
Can someone recheck them and post the correct one here?
viewtopic.php?t=9832
I am trying it on Windows 8.1.
- 21 May 2020, 07:57
- Forum: Ask for Help (v1)
- Topic: [Solved] Running Snipping Tool
- Replies: 8
- Views: 11214
Re: [Solved] Running Snipping Tool
I know that is 4 years too late. I was looking for a solution to this issue today and found this thread which did not contain a proper solution. Then I tried to place the snipping tool in another directory and it worked (SnippingTool.exe). It worked in "D:\SnippingTool.exe" It should work in any oth...