Search found 112 matches
- 07 Feb 2024, 21:31
- Forum: Ask for Help (v2)
- Topic: Multiple windows, same script.
- Replies: 4
- Views: 302
Re: Multiple windows, same script.
Can you use Window Spy to see what it shows for the control name (ClassNN) for the text entry control (the big white area) for the window that caused it to fail? Is it something other than Edit1? First of all thank you very much for your code, it does solve the problem. :bravo: :bravo: In Windows7,...
- 06 Feb 2024, 04:11
- Forum: Ask for Help (v2)
- Topic: Multiple windows, same script.
- Replies: 4
- Views: 302
Re: Multiple windows, same script.
Here's an example that will send the word "Hello" to each instance of a Notepad window that you have open (may not work with Windows 11 as it has a new version of Notepad). #Requires AutoHotkey v2.0 IDs := WinGetList('ahk_exe notepad.exe') for ID in IDs ControlSend 'Hello', 'Edit1', 'ahk_id' ID Aft...
- 04 Apr 2023, 03:06
- Forum: Ask for Help (v1)
- Topic: How to send keys when excel is minimized
- Replies: 1
- Views: 225
Re: How toHow to send keys when excel is minimized
Add ‘winactive’ ,or use COM.
- 16 Sep 2022, 20:52
- Forum: Ask for Help (v1)
- Topic: help with syntax Topic is solved
- Replies: 7
- Views: 736
Re: help with syntax Topic is solved
because your the color is #ffffff,and #ffffff=#FFFFFF.So should not use *==* instead of "="
- 16 Sep 2022, 20:37
- Forum: Ask for Help (v1)
- Topic: need to modify Change Language / Keyboard Layout script : Windows 10
- Replies: 4
- Views: 689
Re: need to modify Change Language / Keyboard Layout script : Windows 10
Code: Select all
<^Space::
{
Send {Alt Down}{Shift Down} {Shift Up}
sleep 2000
send {Alt Up}
return
}
$~Ctrl Up::
{
SendInput, {Alt Down}{Shift}
sleep 2000
sendinput {Alt Up}
return
}
- 10 Sep 2022, 04:02
- Forum: Ask for Help (v1)
- Topic: Send numbers in a non-sequential order Topic is solved
- Replies: 3
- Views: 371
Re: Send numbers in a non-sequential order Topic is solved
if mod(number,3)=0 row:=row-2
- 24 Jul 2020, 05:02
- Forum: Ask for Help (v2)
- Topic: How to submit the GUI to get the value of the controls
- Replies: 5
- Views: 1837
Re: How to submit the GUI to get the value of the controls
Thank you!
I don't know if swagfag and guest3456 are the same person,I should accept one answer to mark the topic as Solved.
I don't know if swagfag and guest3456 are the same person,I should accept one answer to mark the topic as Solved.
- 23 Jul 2020, 22:48
- Forum: Ask for Help (v2)
- Topic: How to submit the GUI to get the value of the controls
- Replies: 5
- Views: 1837
Re: How to submit the GUI to get the value of the controls
swagfag G := Gui.New() G.Add('Edit', 'vEdit1', 'asdffasf') NamedCtrlContents := G.Submit() MsgBox NamedCtrlContents.Edit1 The four lines of code are still reporting errors as belove. --------------------------- AutoHotkeyU64.exe --------------------------- Error: This value of type "String" has no ...
- 22 Jul 2020, 05:25
- Forum: Ask for Help (v2)
- Topic: How to submit the GUI to get the value of the controls
- Replies: 5
- Views: 1837
How to submit the GUI to get the value of the controls
---------------------------
AutoHotkeyU64.exe
---------------------------
Error: This value of type "String" has no method named "Submit".
Line#
---> 029: NamedCtrlContents := Gui.Submit()
The current thread will exit.
---------------------------
OK
---------------------------
AutoHotkeyU64.exe
---------------------------
Error: This value of type "String" has no method named "Submit".
Line#
---> 029: NamedCtrlContents := Gui.Submit()
The current thread will exit.
---------------------------
OK
---------------------------
- 05 Jun 2020, 06:27
- Forum: Ask for Help (v1)
- Topic: Problem with Notepad++ Esc Topic is solved
- Replies: 4
- Views: 720
Re: Problem with Notepad++ Esc Topic is solved
#IfWinNotActive Notepad++
ESC::
...
return
ESC::
...
return
- 24 May 2020, 07:16
- Forum: Ask for Help (v1)
- Topic: Opposite of WinMinimizeAll Topic is solved
- Replies: 13
- Views: 1352
Re: Opposite of WinMinimizeAll Topic is solved
Hi poetbox, I spent days on it - and the z-order keeps shuffling no matter what. I'm sure there's a math to it and its not just random in the way it shuffles the order, but it's not worth the headache - I decided to not minimize anything and instead paint a colored border around the active YouTube ...
- 24 May 2020, 07:08
- Forum: Ask for Help (v1)
- Topic: how to automate SendInput at specific window ?
- Replies: 3
- Views: 535
Re: how to automate SendInput at specific window ?
Hello, thanks for answering! It's sending continuously the word "Hello" when i try to answer the letter. P.S. And it's adding new recipients "Hello" when i create new letter. missing "{}"... :headwall: :headwall: :headwall: #Warn #Persistent SetTitleMatchMode, 2 SetTimer, automatesend, 200 return a...
- 23 May 2020, 02:09
- Forum: Ask for Help (v1)
- Topic: Basic Question Newbie Topic is solved
- Replies: 3
- Views: 429
Re: Basic Question Newbie Topic is solved
% A_MyDocuments == %A_MyDocuments% ; Have {Space} or notdarkpersona wrote: ↑23 May 2020, 00:07That works thank you so much. What is it differ from a single % on the variable than before and after?
% A_MyDocuments
% A_MyDocuments %
- 23 May 2020, 02:02
- Forum: Ask for Help (v1)
- Topic: Possible to re-open all windows & programs?
- Replies: 7
- Views: 1243
Re: Possible to re-open all windows & programs?
Interesting idea poetbox, but so radical, it might compromise the so, so many things I am doing. I know nothing about VM etc. anyway. Got any links to learn your suggestions? I am using new Edge a lot lately, on W7 LOL. Works great. Can that get restored, or 10 notepad txt files opened, or 6+ PSPad...
- 23 May 2020, 01:39
- Forum: Ask for Help (v1)
- Topic: Filer listview records in gui Topic is solved
- Replies: 1
- Views: 379
Re: Filer listview records in gui Topic is solved
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. ;#NoTrayIcon SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a cons...
- 17 May 2020, 23:05
- Forum: Ask for Help (v1)
- Topic: Opening a web page in the current browser
- Replies: 8
- Views: 10609
Re: Opening a web page in the current browser
Is there a better way to open a web page in the currently active web browser window (in a new tab) than just using SendInput to literally type out the text for the desired page into the URL bar? That's the method that I'm currently using. It works, but there is a noticeable lag as the text is typed...
- 16 May 2020, 05:00
- Forum: Ask for Help (v1)
- Topic: Possible to re-open all windows & programs?
- Replies: 7
- Views: 1243
Re: Possible to re-open all windows & programs?
There are many reasons for old PC's to shutdown My PC sleeps after about 30 min no activity all day long. I only "reboot", "shutdown", when I have to. Often I just have too many things running. It could be a lot of reasons. Usually it is a freeze. Not often, maybe once a week. A real pain when it d...
- 16 May 2020, 02:13
- Forum: Ask for Help (v1)
- Topic: About WinExist
- Replies: 5
- Views: 504
Re: About WinExist
Code: Select all
if WinExist ("New Text Document - Notepad")
{
WinActivate
SendInput TESTING{ENTER}
}
- 16 May 2020, 02:04
- Forum: Ask for Help (v1)
- Topic: how to automate SendInput at specific window ?
- Replies: 3
- Views: 535
Re: how to automate SendInput at specific window ?
but 1. it work only with key "`" How to automate it ? I want to SendInput sometext when i create new letter or answer ion thunderbird. Thanks #Warn #Persistent SetTitleMatchMode, 2 SetTimer, automatesend, 200 return automatesend: If WinActive("Создание") and WinExist("ahk_class MozillaWindowClass")...
- 15 May 2020, 23:33
- Forum: Ask for Help (v1)
- Topic: I need help getting a script to run on multiple windows at once.
- Replies: 1
- Views: 301
Re: I need help getting a script to run on multiple windows at once.
Well, I wanted to know if it was possible to make a script that pressed the (Alt) and (F) keys all the time, but that this script works in multiple windows at once, the script itself only has to do Alt and F all the time. time We think something like that but I don't know if it's okay, and I'm very...