Search found 348 matches

by Alexander2
23 Nov 2023, 22:49
Forum: Ask for Help (v1)
Topic: Activating the Last Active Window Topic is solved
Replies: 17
Views: 3643

Re: Activating the Last Active Window Topic is solved

Thank you very much for an alternative solution.
by Alexander2
14 Aug 2023, 06:55
Forum: Ask for Help (v1)
Topic: Running a Script From Version 1 Topic is solved
Replies: 2
Views: 435

Re: Running a Script From Version 1 Topic is solved

Thank you. I have been able to resolve the problem by installing the older version in addition to the new one.
by Alexander2
13 Aug 2023, 09:55
Forum: Ask for Help (v1)
Topic: Running a Script From Version 1 Topic is solved
Replies: 2
Views: 435

Running a Script From Version 1 Topic is solved

I have a script from AutoHotkey version 1 which does not run in version 2. Can version 2 be configured to run version 1 scripts?
Can you also give a link to the page where the latest version 1 can be downloaded?
by Alexander2
29 Jun 2023, 14:17
Forum: Ask for Help (v1)
Topic: Date and Time Topic is solved
Replies: 5
Views: 470

Re: Date and Time Topic is solved

Thank you for the scripts. FormatTime is a convenient command which can be used to insert a timestamp.
by Alexander2
28 Jun 2023, 13:57
Forum: Ask for Help (v1)
Topic: Date and Time Topic is solved
Replies: 5
Views: 470

Date and Time Topic is solved

Does anyone know how to put the following data into the clipboard?
DD/MM/YYYY, HH:MM.
When the contents of the clipboard are pasted, the format should be like the following:
28/06/2023, 21:55.
by Alexander2
14 Jun 2023, 12:18
Forum: Ask for Help (v1)
Topic: Script for Writing a Note With the Current Date
Replies: 12
Views: 765

Re: Script for Writing a Note With the Current Date

Have you tested with Notepad as your target window to receive the text? Yes, I have tested the script in Notepad without any other script running. The system's text suggestions option was off. When I tested the script in Microsoft Word, it worked as intended. Perhaps it does not work only in Notepa...
by Alexander2
12 Jun 2023, 14:21
Forum: Ask for Help (v1)
Topic: Script for Writing a Note With the Current Date
Replies: 12
Views: 765

Re: Script for Writing a Note With the Current Date

mikeyww wrote:
12 Jun 2023, 14:04
Test in Notepad, with no other code, and no other scripts running.
I have tested the script again in a separate file and without any other script running. There is still the same problem.
The text will have to be pasted from the script instantly rather than typed character by character.
by Alexander2
12 Jun 2023, 13:51
Forum: Ask for Help (v1)
Topic: Script for Writing a Note With the Current Date
Replies: 12
Views: 765

Re: Script for Writing a Note With the Current Date

#Requires AutoHotkey v1.1.33 >+Enter::SendInput % A_MMMM " " A_DD ", " A_YYYY ". Vladislav Kotenko`nConfirmed. No issues." Other examples of variables: https://www.autohotkey.com/boards/viewtopic.php?p=493203#p493203 Thank you for the script. When I use it, only some of the first characters are aut...
by Alexander2
11 Jun 2023, 13:29
Forum: Ask for Help (v1)
Topic: Script for Writing a Note With the Current Date
Replies: 12
Views: 765

Script for Writing a Note With the Current Date

Does anyone know what script can be used to insert the following text (along with the current date) when RShift and Enter are pressed? There should be two lines rather than one.

[month] [day], [year]. Vladislav Kotenko
Confirmed. No issues.
by Alexander2
13 May 2023, 08:38
Forum: Ask for Help (v1)
Topic: LCtrl + LShift + NumpadEnter Combination
Replies: 7
Views: 489

Re: LCtrl + LShift + NumpadEnter Combination

Thank you for the explanations. I will use the code which you suggested, because it is shorter, needing only one line:

Code: Select all

<+<^NumpadEnter::MsgBox TEST
by Alexander2
10 May 2023, 11:35
Forum: Ask for Help (v1)
Topic: LCtrl + LShift + NumpadEnter Combination
Replies: 7
Views: 489

Re: LCtrl + LShift + NumpadEnter Combination

Thank you very much for giving the code which works.
I am interested to know why the original script did not work without the * symbol.
by Alexander2
09 May 2023, 09:28
Forum: Ask for Help (v1)
Topic: LCtrl + LShift + NumpadEnter Combination
Replies: 7
Views: 489

LCtrl + LShift + NumpadEnter Combination

I need to know how to use the LCtrl + LShift + NumpadEnter combination. I have tried the following commands but have not been successful.

Code: Select all

#If GetKeyState("LShift", "P")
<^NumpadEnter::
MsgBox TEST
return
#If
by Alexander2
03 Mar 2023, 09:40
Forum: Ask for Help (v1)
Topic: LShift + NumpadDot Combination
Replies: 3
Views: 262

Re: LShift + NumpadDot Combination

mikeyww wrote:
03 Mar 2023, 06:59

Code: Select all

#Requires AutoHotkey v1.1.33
#If GetKeyState("LShift", "P")
NumpadDel::Send {Shift up}123
#If
Explained: Numpad keys
Thank you very much. The GetKeyState command is the solution.
by Alexander2
03 Mar 2023, 04:53
Forum: Ask for Help (v1)
Topic: LShift + NumpadDot Combination
Replies: 3
Views: 262

LShift + NumpadDot Combination

Does anyone know how to use the LShift + NumpadDot combination? I have tried various hotkeys in the script but they do not work.
by Alexander2
21 Feb 2023, 12:06
Forum: Ask for Help (v1)
Topic: Using Functions to Open Folders in the Same Window
Replies: 2
Views: 311

Re: Using Functions to Open Folders in the Same Window

The navigate method doesn't swallow paths with the # character. Use navigate2 : NavigateInActiveExplorer(folderPath) { WinGetClass, winClass, A if (winClass != "CabinetWClass") Return shellWindows := ComObjCreate("Shell.Application").Windows hwnd := WinExist("A") Loop % shellWindows.Count() { try w...
by Alexander2
20 Feb 2023, 08:33
Forum: Ask for Help (v1)
Topic: Using Functions to Open Folders in the Same Window
Replies: 2
Views: 311

Using Functions to Open Folders in the Same Window

Someone previously wrote for me the following commands to open a folder in the same Explorer window which is currently open rather than in a separate window. GetActiveExplorer() { static objShell := ComObjCreate("Shell.Application") WinHWND := WinActive("A") ; Active window for Item in objShell.Wind...
by Alexander2
14 Feb 2023, 11:13
Forum: Ask for Help (v1)
Topic: Commands to Close an Application
Replies: 4
Views: 393

Re: Commands to Close an Application

I'm not sure. It looks like a custom funky window and might also be elevated. The standard windowing commands do not always find every window. Note that closing the process means that the program is no longer running. The second script clicks on the "X" in the window, as WinClose here seemed to end...
by Alexander2
13 Feb 2023, 11:55
Forum: Ask for Help (v1)
Topic: Commands to Close an Application
Replies: 4
Views: 393

Re: Commands to Close an Application

#Requires AutoHotkey v1.1.33 If !A_IsAdmin && !((cLine := DllCall("GetCommandLine", "str")) ~= " /restart(?!\S)") { params := RegExReplace(cLine, ".+\.exe.*? ") Try Run *RunAs "%A_AhkPath%" /restart %params% ExitApp } ^F3::Process Close, FxSound.exe Or: #Requires AutoHotkey v2.0 #HotIf WinActive('a...
by Alexander2
12 Feb 2023, 13:37
Forum: Ask for Help (v1)
Topic: Commands to Close an Application
Replies: 4
Views: 393

Commands to Close an Application

FxSound is a free program for equalizing and boosting system sound. The program window is not closed when I use the command WinClose ahk_exe FxSound.exe.
Does anyone know what other commands may be tried in order to close the program?
by Alexander2
03 Feb 2023, 08:58
Forum: SciTE4AutoHotkey
Topic: Changing the Font Size and Backup Settings
Replies: 4
Views: 1637

Re: Changing the Font Size and Backup Settings

DrReflex wrote:
03 Feb 2023, 02:28
CHANGE TEXT SIZE
Magnify <Ctrl><Keypad+>
Shrink <Ctrl><Keypad->
Restore <Ctrl><Keypad/>
Thank you. Yes, I was aware that these shortcuts are a convenient way to quickly change font size. They also make it possible to go beyond the allowed sizes given in the options of the program.

Go to advanced search