Search found 106 matches

by poetbox
24 Jul 2020, 05:02
Forum: AutoHotkey v2 Help
Topic: How to submit the GUI to get the value of the controls
Replies: 5
Views: 899

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.
by poetbox
23 Jul 2020, 22:48
Forum: AutoHotkey v2 Help
Topic: How to submit the GUI to get the value of the controls
Replies: 5
Views: 899

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 ...
by poetbox
22 Jul 2020, 05:25
Forum: AutoHotkey v2 Help
Topic: How to submit the GUI to get the value of the controls
Replies: 5
Views: 899

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
---------------------------
by poetbox
05 Jun 2020, 06:27
Forum: Ask For Help
Topic: Problem with Notepad++ Esc Topic is solved
Replies: 4
Views: 145

Re: Problem with Notepad++ Esc Topic is solved

#IfWinNotActive Notepad++
ESC::
...
return
by poetbox
24 May 2020, 07:16
Forum: Ask For Help
Topic: Opposite of WinMinimizeAll Topic is solved
Replies: 13
Views: 732

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 ...
by poetbox
24 May 2020, 07:08
Forum: Ask For Help
Topic: how to automate SendInput at specific window ?
Replies: 3
Views: 252

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...
by poetbox
23 May 2020, 02:09
Forum: Ask For Help
Topic: Basic Question Newbie Topic is solved
Replies: 3
Views: 214

Re: Basic Question Newbie Topic is solved

darkpersona wrote:
23 May 2020, 00:07
That works thank you so much. What is it differ from a single % on the variable than before and after?

% A_MyDocuments
% A_MyDocuments %
% A_MyDocuments == %A_MyDocuments% ; Have {Space} or not
by poetbox
23 May 2020, 02:02
Forum: Ask For Help
Topic: Possible to re-open all windows & programs?
Replies: 7
Views: 550

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...
by poetbox
23 May 2020, 01:39
Forum: Ask For Help
Topic: Filer listview records in gui Topic is solved
Replies: 1
Views: 170

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...
by poetbox
17 May 2020, 23:05
Forum: Ask For Help
Topic: Opening a web page in the current browser
Replies: 8
Views: 411

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...
by poetbox
16 May 2020, 05:00
Forum: Ask For Help
Topic: Possible to re-open all windows & programs?
Replies: 7
Views: 550

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...
by poetbox
16 May 2020, 02:13
Forum: Ask For Help
Topic: About WinExist
Replies: 5
Views: 247

Re: About WinExist

Code: Select all

  if WinExist ("New Text Document - Notepad")
  {
  WinActivate
  SendInput TESTING{ENTER}
  }
You can write like this without "ID"
by poetbox
16 May 2020, 02:04
Forum: Ask For Help
Topic: how to automate SendInput at specific window ?
Replies: 3
Views: 252

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")...
by poetbox
15 May 2020, 23:33
Forum: Ask For Help
Topic: I need help getting a script to run on multiple windows at once.
Replies: 1
Views: 107

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...
by poetbox
15 May 2020, 23:08
Forum: Ask For Help
Topic: How center align text in Ms Word Topic is solved
Replies: 8
Views: 348

Re: How center align text in Ms Word Topic is solved

rosa wrote:
15 May 2020, 20:12
I think I found it thanks to you guys!!! :D
Send, ^e`nText`n^e
NO!
Your code is wrong when the line was center align currently.
You should test my code,it can be used anywhere.

Code: Select all

1::Send, `nText`n{up}^l^e{Down}{Home}
by poetbox
15 May 2020, 19:03
Forum: Ask For Help
Topic: How center align text in Ms Word Topic is solved
Replies: 8
Views: 348

Re: How center align text in Ms Word Topic is solved

I am using a hotkey to send a text to a Microsoft Word. How can I center align a text with the following method? Send, `nText`n Thank you! 1::Send, `nText`n{up}^l^e To avoid the center align ,use ^l first.To make the code can be used anywhere in the document,u should use up arrow to control the cur...
by poetbox
15 May 2020, 00:00
Forum: Ask For Help
Topic: Opposite of WinMinimizeAll Topic is solved
Replies: 13
Views: 732

Re: Opposite of WinMinimizeAll Topic is solved

+z:: SetTitleMatchMode, 2 WinGet, id, list ,,, new_id:={} Loop, %id% { this_id := id%A_Index% WinGet, window_state, MinMax, ahk_id %this_id%,,, ;MsgBox %this_id% if (window_state != -1) ;this means the window is currently minimized ;GroupAdd, winminimizeall,ahk_id %this_id% ;restores the minimized ...
by poetbox
14 May 2020, 20:51
Forum: Ask For Help
Topic: Understanding Gui fonts use Topic is solved
Replies: 4
Views: 320

Re: Understanding Gui fonts use Topic is solved

Gui, Font, s%fnt% bold, arial Gui, Font, s%fnt% bold, Comic Sans MF Gui, Font, s%fnt% bold, %name% Does this add to the font table three times total or three times every time the function is called? Thanks You changed the font three times."myownfont" should be actually used, that is the third one.
by poetbox
12 May 2020, 21:05
Forum: Ask For Help
Topic: #SingleInstance, Force doesn't work?
Replies: 2
Views: 224

Re: #SingleInstance, Force doesn't work?

IF (exist one),winkill( it).start (your code)
by poetbox
12 May 2020, 20:59
Forum: Ask For Help
Topic: WinExist and winactivate
Replies: 4
Views: 252

Re: WinExist and winactivate

boiler wrote:
12 May 2020, 20:15
To be clear, The first one is a command that activates the indicated window... The second one ...returns a result indicating whether or not the indicated window title is active ....
:bravo: Thx

Go to advanced search