Search found 510 matches

by Tom
May 12th, ’21, 20:37
Forum: General Discussion
Topic: paste the content of a txt file line after line
Replies: 1
Views: 62

Re: paste the content of a txt file line after line

This code will read the text file and paste each line, following by Enter key.
Is this what you are looking for?

Code: Select all

FileRead, OutputVar, presets.txt

Loop, Parse, OutputVar, `n, `r
	Send, %A_LoopField%{Enter}
by Tom
May 6th, ’21, 17:45
Forum: General Discussion
Topic: A shortcut not working, without the window field...
Replies: 2
Views: 81

Re: A shortcut not working, without the window field...

This cannot be, are you sure the Window field is empty? If the problem persists, please contact our support mail.
by Tom
May 4th, ’21, 16:02
Forum: User Commands and Scripts
Topic: Paste without formatting and removing line breaks
Replies: 1
Views: 77

Re: Paste without formatting and removing line breaks

This command replaces new line characters in the clipboard content with spaces:

Code: Select all

StringReplace, Clipboard, Clipboard, `r`n, %A_Space%, All 
https://www.autohotkey.com/docs/command ... eplace.htm
by Tom
Apr 23rd, ’21, 17:41
Forum: User Commands and Scripts
Topic: Endless mouse
Replies: 18
Views: 9248

Re: Endless mouse

You could use the following code to get the far left and far right coordinates of all monitors. SysGet, monCount, 80 MonLeft:=MonRight:=0 Loop, % monCount { i := A_Index SysGet, mon%i%, Monitor, %i% MonLeft := (mon%i%Left<MonLeft) ? mon%i%Left : MonLeft MonRight := (mon%i%Right>MonRight) ? mon%i%Rig...
by Tom
Apr 23rd, ’21, 17:29
Forum: Suggestions
Topic: Scroll page
Replies: 8
Views: 190

Re: Scroll page

we tested on the lasted Win10 and it worked on our computers.
by Tom
Apr 23rd, ’21, 17:28
Forum: General Discussion
Topic: Using Text Expander content with MS Teams chat messages
Replies: 2
Views: 137

Re: Using Text Expander content with MS Teams chat messages

I tried in MS Teams, Desktop app and it worked in chat. What exactly you struggle with?
If you get some unexpected characters then you may need to introduce a small Key Delay in Preferences/Text Expander/Advanced.
by Tom
Apr 12th, ’21, 20:27
Forum: Suggestions
Topic: Scroll page
Replies: 8
Views: 190

Re: Scroll page

We use the latest Win10.
by Tom
Apr 10th, ’21, 18:43
Forum: General Discussion
Topic: How to automate attaching files on WhatsAppWeb
Replies: 1
Views: 90

Re: How to automate attaching files on WhatsAppWeb

Thanks for your kind words. :D

File contents macro does not insert a file. It reads and inserts the file content - the supported formats are non formatted text, html, rtf and image files.
by Tom
Apr 4th, ’21, 20:00
Forum: Suggestions
Topic: Scroll page
Replies: 8
Views: 190

Re: Scroll page

Can you post the command example?
by Tom
Apr 4th, ’21, 11:41
Forum: User Commands and Scripts
Topic: Moving the Mouse - Three Monitors
Replies: 1
Views: 81

Re: Moving the Mouse - Three Monitors

MouseMove command has issues in certain multi-monitor configurations. Try changing it with

Code: Select all

DllCall("SetCursorPos", int, -1093, int, 178)
The first number is the X-coordinate and the second is the Y-coordinate.