Search found 135 matches

by marusa122
22 Apr 2023, 13:01
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

I fixed it and removed all duplicate labels. Now there is an error "Call to nonexistent function" (specifically - this MyKeyScreen). How to fix it?
by marusa122
22 Apr 2023, 12:46
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

#SingleInstance Force MsgBox, 4, Program1, Do you want to change launch settings? `nProgram1 will skip this step in a few seconds..., 5 Sleep, 1000 Send, {TAB}{SPACE} ; option "No" is selected automatically after 5 seconds IfMsgBox Yes ; if "Yes" is selected { ; Reading the saved settings from the ...
by marusa122
22 Apr 2023, 12:41
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

I fixed it. Now AutoHotKey throws an error "A label must not point to a function" (line 81). But I indicated everything that this hotkey should do when pressed.
by marusa122
22 Apr 2023, 12:06
Forum: Помощь
Topic: Проблема с горячими клавишами в скрипте Topic is solved
Replies: 8
Views: 1525

Проблема с горячими клавишами в скрипте Topic is solved

Здравствуйте. Есть код - назначение горячих клавиш. В форме редактирования указывается горячая клавиша для создания скриншотов и путь их сохранения. Также в форме есть настройка горячих клавиш для действий в программе (автоматические вызовы). Но Autohotkey не запускает скрипт - появляется ошибка "In...
by marusa122
22 Apr 2023, 11:55
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

But Esc and LWin are the valid names... It's on the lists you sent me. This names are on the lists you sent me.
by marusa122
22 Apr 2023, 11:48
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

For example?.. It seems like valid keys.
LWin is the correct designation for the left Windows key in Autohotkey. Esc - also the correct designation of the Escape key.
by marusa122
22 Apr 2023, 11:36
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

I'm sorry, but I don't see any problems there.
by marusa122
22 Apr 2023, 11:19
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Re: Problem with hotkeys in the script

What's wrong with the keys Esc and LWin?
by marusa122
22 Apr 2023, 11:08
Forum: Ask for Help (v1)
Topic: Problem with hotkeys in the script
Replies: 21
Views: 760

Problem with hotkeys in the script

Hello. There is a code - assignment of hot keys. The editing form specifies the hot key for creating screenshots and the path for saving them. Also in the form there is a hot key setting for actions in the program (automatic calls). But Autohotkey doesn't run the script - an "Invalid hotkey" error a...
by marusa122
22 Apr 2023, 08:49
Forum: Ask for Help (v1)
Topic: The folder is selected and not saved Topic is solved
Replies: 5
Views: 221

Re: The folder is selected and not saved Topic is solved

Question removed. I rewrote this part of the script - after that the folder began to save normally:

Code: Select all

OnButtonFolder:
	FileSelectFolder, vOutFolder, %A_ScriptDir%, Choose folder
	If (ErrorLevel == 0)
	GuiControl, Text, Ed_Folder, %vOutFolder%
by marusa122
22 Apr 2023, 08:31
Forum: Ask for Help (v1)
Topic: The folder is selected and not saved Topic is solved
Replies: 5
Views: 221

Re: The folder is selected and not saved Topic is solved

The user should be able to change the location of the startup folder. This form was made for this.
I tried to remove "OutputVar" - the form does not open and an error appears.
by marusa122
22 Apr 2023, 08:05
Forum: Ask for Help (v1)
Topic: The folder is selected and not saved Topic is solved
Replies: 5
Views: 221

Re: The folder is selected and not saved Topic is solved

I tried to do this - but the form did not open at all.
by marusa122
22 Apr 2023, 07:11
Forum: Ask for Help (v1)
Topic: The folder is selected and not saved Topic is solved
Replies: 5
Views: 221

The folder is selected and not saved Topic is solved

Hello. There is a script. Main code: Tab: Run, D/List of Folders/Folder1 Return But before that, a form opens to select the location of this Folder1 (if in the start Msgbox, answer "Yes" to the question "Do you want to change the launch settings?"). And here is the problem with this form for setting...
by marusa122
22 Apr 2023, 04:12
Forum: Помощь
Topic: Папка выбирается и не сохраняется в настройках Topic is solved
Replies: 1
Views: 695

Папка выбирается и не сохраняется в настройках Topic is solved

Здравствуйте. Есть скрипт. Основной код: Tab: Run, D/Все папки/Папка1 Return Но перед этим открывается форма для выбора расположения этой Папки1 (если в стартовом Msgbox на вопрос "Вы хотите изменить настройки запуска?" ответить "Да"). И вот с этой формой для настройки запуска проблема. Она не сохра...
by marusa122
22 Apr 2023, 03:16
Forum: Помощь
Topic: Как задать папку для сохранения скриншотов? Topic is solved
Replies: 5
Views: 1373

Re: Как задать папку для сохранения скриншотов? Topic is solved

Всё, вопрос снят. Методом тыка изменила скрипт: #NoEnv #SingleInstance Force LWin:: ; Original by SKAN on D293 @ bit.ly/2krOIc9 MakeScreenshot(filename := "Screenshot.png") { count := 0 Loop { count += 1 filename := "D:\Рабочая папка\Изображения\Screenshot(" . count . ").png" if !FileExist(filename)...
by marusa122
22 Apr 2023, 02:15
Forum: Помощь
Topic: Как задать папку для сохранения скриншотов? Topic is solved
Replies: 5
Views: 1373

Re: Как задать папку для сохранения скриншотов? Topic is solved

mcl wrote:
21 Apr 2023, 17:26
В коде ниже три функции. Их нужно добавить в ваш скрипт и вызывать по хоткею MakeScreenShot("C:\MyFolder\MyFile.png").
Можно для особо одаренных - как задавать место сохранения скриншотов? Я попробовала делать скриншоты с его помощью, но скрипт сохраняет их в той же папке, где лежит сам.
by marusa122
21 Apr 2023, 18:14
Forum: Ask for Help (v1)
Topic: How to set a folder for saving screenshots?
Replies: 20
Views: 951

Re: How to set a folder for saving screenshots?

But there are .png files in this folder! There are only such files, no others.
How to fix it?
by marusa122
21 Apr 2023, 18:00
Forum: Ask for Help (v1)
Topic: How to set a folder for saving screenshots?
Replies: 20
Views: 951

Re: How to set a folder for saving screenshots?

Msgbox "Files moved: 0" appeared as response to pressing LWin. The new screenshot remained in the folder and did not move anywhere.
by marusa122
21 Apr 2023, 17:42
Forum: Помощь
Topic: Как задать папку для сохранения скриншотов? Topic is solved
Replies: 5
Views: 1373

Re: Как задать папку для сохранения скриншотов? Topic is solved

mcl wrote:
21 Apr 2023, 17:26
Это встроенная функция Windows 10. На моей Windows 7 такой скрипт будет помещать скриншот не в файл, а в буфер обмена.
Вопрос не по теме: а реально ли настроить Windows 7 или XP так, чтобы в них эта функция тоже работала?..

Go to advanced search