Search found 94 matches
- 05 Nov 2021, 16:42
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Solved. Both scripts must be placed above lines: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkin...
- 05 Nov 2021, 15:41
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
I have found that if I start Window Spy, everything work flawless, but as soon as I close WIndow Spy, the script stop work. I tried in Notepad, and with Window Spy opened, work perfectly. When I close it, then script no longer work. Why? I added it to exception to antivirus too, runed as administrat...
- 05 Nov 2021, 13:01
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
@Prazul, I'm not sure where to go now. This is now beyond my VERY limited expertise. The script works perfectly for me as you defined it. Tested it in Notepad, Word, Chrome and VS Code. It works the same whether I user the numeric keypad or the upper row of numbers. When I type `714 , the output is...
- 05 Nov 2021, 06:37
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
@Prazul, I'm not sure where to go now. This is now beyond my VERY limited expertise. The script works perfectly for me as you defined it. Tested it in Notepad, Word, Chrome and VS Code. It works the same whether I user the numeric keypad or the upper row of numbers. When I type `714 , the output is...
- 04 Nov 2021, 09:45
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Ok, did you copy and paste @Rohwedder's script into a separate file and test it all by itself, or did you manually type it in (possible typo) or have you inserted it in another script? Try copy/pasting it and test it completely by itself within Notepad. Russ Created a fresh autohotkey file and Copy...
- 04 Nov 2021, 09:09
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
- 04 Nov 2021, 07:13
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Why do you think that? The concept is simple. Using @rohwedder's script within Notepad, first type ` and the characters "P0" appear. Then immediately type 7 1 4 and the script sends two x Tab . As I said, it works properly in Notepad. It only sends one Tab if I trigger the script within VS Code. Th...
- 04 Nov 2021, 06:50
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
I can confirm that @Rohwedder's script works as intended in Notepad and in Chrome, however, when triggered within VS Code, only a single tab was sent (or captured by VS Code). Interesting behavior. Russ I think nobody understand the ideea. So, it is already wrote "P0"because I first run Script no.1...
- 04 Nov 2021, 05:54
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Anybody can help ?
- 24 Oct 2021, 04:33
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
replaced with Q also and issue persistRohwedder wrote: ↑24 Oct 2021, 04:03Here it works. Do you have the question mark in the 2nd script?
On my keyboard, Grave Accent is dead key.
https://en.wikipedia.org/wiki/Dead_key
Therefore I replaced `:: with q::
- 24 Oct 2021, 04:31
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
- 24 Oct 2021, 04:13
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Here it works. Do you have the question mark in the 2nd script? Yes. Is simple as that : I press key "`" (without quotes) then it send "P0" (without quotes). Then I press keys "714" (without quotes) and nothing happen. If I press keys "P0714" (without quotes) , that is, the entire sequence, then it...
- 24 Oct 2021, 03:56
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Re: Script inside script Topic is solved
Hi. Thanks but it doesnt work.Rohwedder wrote: ↑24 Oct 2021, 03:51Hallo,
try:Code: Select all
`:: ; the script no.1 SendLevel 1 Send P0 return :?B0*:P0714:: ; the script no.2 SendInput {Tab 2} Return
When I execute first script it send "P0" . Then when I manually press "714" nothing happen.
- 24 Oct 2021, 03:44
- Forum: Ask for Help (v1)
- Topic: Script inside script Topic is solved
- Replies: 22
- Views: 1665
Script inside script Topic is solved
Hi, I have the following codes `:: ; the script no.1 Send P0 return :B0*:P0714:: ; the script no.2 SendInput {Tab 2} Return When I press "`" it send P0 . Now I am programming to send 2x Tab when P0714 is detected. The second script It work ok if I manually type P0714 , but if I execute the script no...
- 31 Aug 2021, 10:07
- Forum: Ask for Help (v1)
- Topic: auto delete script after 7 days ? Topic is solved
- Replies: 22
- Views: 2309
Re: auto delete script after 7 days ? Topic is solved
Do you think he was mistakenly off by a factor of 1000? Period: Creates or updates a timer using the absolute value of this parameter as the approximate number of milliseconds that must pass before the timer is executed. I supposed they are miliseconds but was unsure. :think: I will test it for 1 d...
- 31 Aug 2021, 09:49
- Forum: Ask for Help (v1)
- Topic: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
- Replies: 29
- Views: 1437
Re: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
I don't really have a lot of secrets. Most of my scripts are adapted directly from the AHK documentation. tomorrow := "" tomorrow += 1, D FormatTime, tomorrow, %tomorrow%, d MMMM SendInput %tomorrow% Explained: FormatTime • More examples I will not tell you again because you know it already that yo...
- 31 Aug 2021, 09:29
- Forum: Ask for Help (v1)
- Topic: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
- Replies: 29
- Views: 1437
Re: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
Wow, Great! Really? Didn't knew that! That's so cool.
Do you offer a solution or you just uppset me because you know and I don't ?
Do you offer a solution or you just uppset me because you know and I don't ?
- 31 Aug 2021, 06:42
- Forum: Ask for Help (v1)
- Topic: auto delete script after 7 days ? Topic is solved
- Replies: 22
- Views: 2309
Re: auto delete script after 7 days ? Topic is solved
Thaaaanks Mikey! !
But one question :
Is that correct? I am just wondering because 60minutes = 3600 seconds but here we have 3600000 .
But one question :
Code: Select all
checkFreq = 3600000 ; Check for expiration hourly
- 31 Aug 2021, 06:27
- Forum: Ask for Help (v1)
- Topic: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
- Replies: 29
- Views: 1437
Re: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
:lol: Yeah you're right. It was my explanation error because my software automatically complete the month but not when it is the last day of month. (E.g if the month has 30 days and today is 29 august, then typing 1103 will autocomplete 30/08/2021 . Also typing manually the number 30 in the date fie...
- 31 Aug 2021, 04:05
- Forum: Ask for Help (v1)
- Topic: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
- Replies: 29
- Views: 1437
Re: Send multiple keys when typing 1103 , 1105 and 4418 Topic is solved
:B0*:1103:: :B0*:1105:: Input, key, VL3, -()[]{}':;""/\`,.?! `n If (key != "`t`t`t") Return tomorrow := "" tomorrow += 1, D FormatTime, tomorrow, %tomorrow%, d SendInput %tomorrow%{Tab 3} Return If you mean to send the Tabs instead: :B0*:1103:: :B0*:1105:: tomorrow := "" tomorrow += 1, D FormatTime...