Search found 1734 matches

by Rohwedder
Yesterday, 02:52
Forum: Ask For Help
Topic: google translation in tooltip Topic is solved
Replies: 4
Views: 111

Re: google translation in tooltip Topic is solved

Hallo,
your link is outdated, also the WebArchive has nothing.
Just like SL5, I ask howto get such a voice like it
https://quest-app.appspot.com/
is using?
by Rohwedder
Yesterday, 02:06
Forum: Ask For Help
Topic: Script draws letters - how to alter line thickness?
Replies: 4
Views: 98

Re: Script draws letters - how to alter line thickness?

Hallo,
you must first adjust the line thickness in Paint.
This script apparently simply uses the values set for line type, color und thickness.
Regarding: Broken Link for safety
I don't think you should have changed the license notice from AutomatedWriter.ahk!
by Rohwedder
Yesterday, 01:39
Forum: Gaming
Topic: Looking how to make a script to press multiple buttons with single keystroke
Replies: 5
Views: 213

Re: Looking how to make a script to press multiple buttons with single keystroke

Hallo,
SetKeyDelay should work unless of course you are using SendMode input.
Try:

Code: Select all

m::
Loop, Parse,% "5v5v5v5ve"
{
	Send,% A_LoopField
	Sleep, 100
}
by Rohwedder
18 Apr 2019, 01:17
Forum: Ask For Help
Topic: Hold
Replies: 12
Views: 142

Re: Hold

Hallo, your imprecise question: Anyone can help me to make it when I hold LButton to hold RButton? has at least two answers: If you want to mask LButton: LButton::RButton If you don't: ~LButton::RButton After the masking variant already appeared in your script, I assumed you needed the other one. I ...
by Rohwedder
17 Apr 2019, 12:55
Forum: Ask For Help
Topic: Hold
Replies: 12
Views: 142

Re: Hold

The line ~LButton::RButton is already included.
I wanted to show you, LButton and RButton are pressed with different modes.
LButton physical from you, RButton logical from Autohotkey.
Probably your target application does not accept logical mode.
by Rohwedder
17 Apr 2019, 10:51
Forum: Ask For Help
Topic: Hold
Replies: 12
Views: 142

Re: Hold

Hallo, try this. All currently pressed keys and buttons are displayed. P: physical, L: logical only. #Persistent #InstallKeybdHook #InstallMouseHook SetTimer, KeyCombination, 200 Return ~LButton::RButton KeyCombination: ToolTip, % KeyCombination() Return KeyCombination(ExcludeKeys:="") { ExcludeKeys...
by Rohwedder
17 Apr 2019, 08:39
Forum: Ask For Help
Topic: Hold
Replies: 12
Views: 142

Re: Hold

Hallo,
if you hold LButton, RButton will be held additionally.

Code: Select all

~LButton::RButton
by Rohwedder
16 Apr 2019, 09:58
Forum: Ask For Help
Topic: Cycle Keys Topic is solved
Replies: 3
Views: 74

Re: Cycle Keys Topic is solved

Hallo,
try:

Code: Select all

key = 0
Return
^!+F1::
IF key++ > 16
	key = 0
key2 := Mod(key,10)+(key>9)
Send, ^{Numpad%key2%}
Return
^!F1::
IF key-- < 0
	key = 16
key2 := Mod(key,10)+(key>9)
Send, ^{Numpad%key2%}
Return
by Rohwedder
15 Apr 2019, 23:51
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo, output 04/18/2019 with format yyyy/MM/dd then there's definitely something wrong! With starting date: 2019/04/16, (w)days: 3w and Holidays = 20191225,20200101,20201225,20190416,20190417,20190418 the script will output here: 2019/04/23. By the way, the Easter holidays in Germany are 20190419,2...
by Rohwedder
15 Apr 2019, 10:07
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo, something like that: Holidays = 20191225,20200101,20201225 FormatTime, Date,, yyyy/MM/dd ;formats YYYYMMDD… to YYYY/MM/DD InputBox, Date, Date, starting date?,, 170, 125,,,,, %Date% If !RegExMatch(Date, "(\d+)/(\d+)/(\d+)", Out) Return ;reformats YYYY/MM/DD or Y/M/D to YYYYMMDD… Date := SubSt...
by Rohwedder
15 Apr 2019, 07:11
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo,
extend the IF OnlyWorkDays branch:

Code: Select all

While, Amo
{
	Date += Dir, Days ;EnvAdd needs YYYYMMDD…
	FormatTime, WDay, %Date%, WDay
	IF OnlyWorkDays
	{
		IF WDay in 1,7 ;WeekEnd
			Continue
		IF (Date = Holiday) ;does not work yet!
			Continue
	}
	Amo--
}
by Rohwedder
15 Apr 2019, 02:53
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo, Now: with Add the option to add workdays instead of calendar days Input: -10w means: 10 workdays back. Try: FormatTime, Date,, yyyy/MM/dd ;formats YYYYMMDD… to YYYY/MM/DD InputBox, Date, Date, starting date?,, 170, 125,,,,, %Date% If !RegExMatch(Date, "(\d+)/(\d+)/(\d+)", Out) Return ;reforma...
by Rohwedder
14 Apr 2019, 11:34
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo, your script was MM/DD/YYYY! But you prever YYYY/MM/DD? Try: FormatTime, Date,, yyyy/MM/dd ;formats YYYYMMDD… to YYYY/MM/DD InputBox, Date, Date, starting date?,, 170, 125,,,,, %Date% If !RegExMatch(Date, "(\d+)/(\d+)/(\d+)", Out) Return ;reformats YYYY/MM/DD or Y/M/D to YYYYMMDD… Date := SubS...
by Rohwedder
14 Apr 2019, 03:20
Forum: Ask For Help
Topic: Script for LCtrl & F gets activated with Shift & LCtrl & F
Replies: 1
Views: 74

Re: Script for LCtrl & F gets activated with Shift & LCtrl & F

Hallo,
try:

Code: Select all

$<^f:: ;Hotkey LCtrl & F key, $ avoids self-activation
ClipBoard =
Send ^c
ClipWait, 1
Send ^f
Sleep, 100
Send ^v
return
by Rohwedder
14 Apr 2019, 02:19
Forum: Ask For Help
Topic: Changing script to calculate new date based on days
Replies: 13
Views: 249

Re: Changing script to calculate new date based on days

Hallo, just this: Add a input to put in a different date rather than today's date, but pre-fill the input with today's date. because it interested me: InputBox, Date, Date, starting date?,, 170, 125,,,,, %Date% If !RegExMatch(Date, "(\d+)/(\d+)/(\d+)", Out) Return Date := SubStr(2 Format("{:03}{:02}...
by Rohwedder
13 Apr 2019, 11:19
Forum: Ask For Help
Topic: %COMSPEC% command doesn´t work
Replies: 1
Views: 67

Re: %COMSPEC% command doesn´t work

Hallo,
perhaps:

Code: Select all

RunWait, %ComSpec% /c "for /f "tokens=4" `%A in ('mode^|findstr "COM[0-9]:"') do echo `%A>>ports"
It creates here a file ports in my A_WorkingDir with the content:
COM1:
(I don't know what I'm doing!)
by Rohwedder
13 Apr 2019, 08:48
Forum: Ask For Help
Topic: problem with variable
Replies: 22
Views: 379

Re: problem with variable

Hallo,
the way you've been trying to control remaps and hotkeys, it doesn't work.
See https://autohotkey.com/docs/Hotkeys.htm#Context
and try:

Code: Select all

^!+t::variable := !variable ;toogles 1/0
#If variable ;means if variable <> 0
Space::Ctrl
#If
by Rohwedder
13 Apr 2019, 04:51
Forum: Ask For Help
Topic: Mouse Shortcut for volume change
Replies: 1
Views: 36

Re: Mouse Shortcut for volume change

Hallo,
try with a Tilde:

Code: Select all

~LButton & WheelUp::Send {Volume_Up}
by Rohwedder
13 Apr 2019, 04:42
Forum: Ask For Help
Topic: toggle works only the first time. Topic is solved
Replies: 5
Views: 149

Re: toggle works only the first time. Topic is solved

Autohotkey is also only a human being!
Better use a Execute Hotstring:

Code: Select all

:*X:v::
	Send, v
	Hotkey, WheelDown, Toggle
return
or shorter a Tilde Hotkey:

Code: Select all

~v::Hotkey, WheelDown, Toggle

Go to advanced search