Search found 110 matches
- 28 Dec 2020, 09:25
- Forum: Ask for Help (v1)
- Topic: Start service from script
- Replies: 2
- Views: 1265
Re: Start service from script
did you find the way to start a service?
- 14 Dec 2020, 05:17
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
- 12 Dec 2020, 10:58
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
- 12 Dec 2020, 09:23
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
- 12 Dec 2020, 09:21
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
- 12 Dec 2020, 09:20
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
Re: Keep the script open until we close the notification
Thank you Rohwedder but it doesn't close the scriptRohwedder wrote: ↑12 Dec 2020, 08:52Hallo,
try:Code: Select all
Splashimage, ,M2 cwolive, test WinWaitClose,% A_ScriptName ExitApp
- 12 Dec 2020, 08:25
- Forum: Ask for Help (v1)
- Topic: Keep the script open until we close the notification
- Replies: 12
- Views: 767
Keep the script open until we close the notification
I'm struggling with this script. The notification only flashes for 1/2 second. It should remain open until I click on the close button (and the script should end). (I want to avoid a "sleep 10000000")
Any idea?
Code: Select all
#Persistent
Splashimage, ,M2 cwolive, test
ButtonCancel:
ExitApp
return
- 27 Nov 2020, 02:04
- Forum: Ask for Help (v1)
- Topic: How to know the SC code of the "sleep" key? Topic is solved
- Replies: 2
- Views: 833
Re: How to know the SC code of the "sleep" key? Topic is solved
Thank you, yes that did it! (And I can still use my laptop power button!)
- 26 Nov 2020, 11:58
- Forum: Ask for Help (v1)
- Topic: How to know the SC code of the "sleep" key? Topic is solved
- Replies: 2
- Views: 833
How to know the SC code of the "sleep" key? Topic is solved
I'm trying to remap (disable) the sleep key from my keyboard
this doesn't work
I would like to try with the "SC code" of this key, but don't know how to get it. (I can't use ahk's inbuild tool since it puts the PC to sleep when I press the sleep button)
Thanks!
this doesn't work
Code: Select all
Sleep:: return
Thanks!
- 26 Nov 2020, 11:51
- Forum: Ask for Help (v1)
- Topic: Make the sleep button to do something else?
- Replies: 7
- Views: 3306
Re: Make the sleep button to do something else?
but how do you get the SC code of the sleep button ? (I can't use the "key history" inbuilt tool since it put the PC to sleep...)
- 26 Nov 2020, 11:34
- Forum: Ask for Help (v1)
- Topic: How to remap Wake, Sleep and Power keys?
- Replies: 4
- Views: 2386
Re: How to remap Wake, Sleep and Power keys?
How did you do it to remap the sleep button?
- 06 Nov 2020, 08:47
- Forum: Ask for Help (v1)
- Topic: SOLVED: Error: #Include file "myfile.ahk" cannot be opened
- Replies: 10
- Views: 15076
Re: SOLVED: Error: #Include file "myfile.ahk" cannot be opened
be careful the error mesage isn't accurate:
I got the error:
Try to comment stuff on your script to check if it comes from there.
I got the error:
but the path was ok, it's only the script I included which contained an error.Error: This parameter contains a variable name missing its ending percent sign.
Try to comment stuff on your script to check if it comes from there.
- 06 Nov 2020, 05:40
- Forum: Scripts and Functions (v1)
- Topic: copy google doc comments I can't edit wile keeping the formatting
- Replies: 0
- Views: 419
copy google doc comments I can't edit wile keeping the formatting
1) get the WinClip module (which contains 2 file) in WinClip.ahk replace this GetHtml() { if !( clipSize := this._fromclipboard( clipData ) ) return "" if !( out_size := this._getFormatData( out_data, clipData, clipSize, "HTML Format" ) ) return "" return strget( &out_data, out_size, "CP0" ) } by Ge...
- 03 Sep 2020, 15:46
- Forum: Scripts and Functions (v2)
- Topic: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
- Replies: 53
- Views: 16678
Re: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
It isn't healthy, nor smart to trust anyone on the web, and to download stuff simply because the author declares it "malware-free". (Some of your arguments sound rights, but no, we simply can't check your code). It would be easier to simply reveal your identity, where you work, and as much proof of ...
- 02 Sep 2020, 11:12
- Forum: Scripts and Functions (v2)
- Topic: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
- Replies: 53
- Views: 16678
Re: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
@Lisa19 Did you installed it? I have the Same problem than you, the .exe has been flagged by virustotal (which belong to google) https://www.virustotal.com/gui/file/4d3698e964f514db5ec214a065441080aad85240414352309e2419f846e4332c/relations . It says the app contact 10+ domains, 7contacted URL, 6cont...
- 05 Aug 2019, 04:39
- Forum: Scripts and Functions (v1)
- Topic: how to detect the current browser
- Replies: 0
- Views: 854
how to detect the current browser
Find the browser in a code that works specifically on google docs (pressing alt+q) : #If WinActive("Google Docs ahk_class Chrome_WidgetWin_1", Tweaks) !q:: ; find the browser browser = none If winactive("ahk_exe msedge.exe") { browser = Edge ; msgbox u're on edge } If winactive("ahk_exe chrome.exe")...
- 08 Apr 2019, 04:19
- Forum: Ask for Help (v1)
- Topic: hotkey bugs if I keep pressing it too long (how to release the key that I'm pressing?) Topic is solved
- Replies: 1
- Views: 806
Re: hotkey bugs if I keep pressing it too long (how to release the key that I'm pressing?) Topic is solved
the solution was : KeyWait LWin, L It means: wait for windows key to be released before resuming the code Full code: #If WinActive("Google Docs ahk_class Chrome_WidgetWin_1") #a:: { KeyWait LWin, L ; Wait for # to be released. send, ^; ; set upperscript sleep, 100 ; send, al ; sleep, 200 ; time to s...
- 04 Apr 2019, 10:15
- Forum: Ask for Help (v1)
- Topic: script needs to be reload twice to take in account the changes
- Replies: 0
- Views: 624
script needs to be reload twice to take in account the changes
In my ahk scripts that stores all my key remapping, I have this little piece of code so that I can easily reload it after I made some edits. ^+r:: If WinActive("ahk_shortcuts.ahk") ; this will be called when I run the shortcut when my active window is my script in VS Code { Send ^s ; send ctrl s sav...
- 04 Apr 2019, 03:32
- Forum: Ask for Help (v1)
- Topic: hotkey bugs if I keep pressing it too long (how to release the key that I'm pressing?) Topic is solved
- Replies: 1
- Views: 806
hotkey bugs if I keep pressing it too long (how to release the key that I'm pressing?) Topic is solved
This code work as expected, until I press the # for too long. In this case it send another "#a" (the # I press + the a of the "al" it sent) which log off the computer (it's an inbuilt hotkey I would desactivate if I could). #a:: { Send {# up} send, al } return I also tried using {Blind} (I first tho...
- 31 Mar 2019, 14:26
- Forum: Scripts and Functions (v1)
- Topic: (using only the mouse to go forward/backward on youtube) + (enable/disable all youtube hotkeys with a single hotkey)
- Replies: 0
- Views: 1033
(using only the mouse to go forward/backward on youtube) + (enable/disable all youtube hotkeys with a single hotkey)
When you right click + left click this code activates/deactivates some custom hotkeys for youtube (eg: jump forward, backward...). It works only when the active window is youtube (so it won't bother you elsewhere). ; ********************************* (using only the mouse to go forward/backward on y...