Search found 14 matches

by shakebeast
13 Apr 2023, 01:31
Forum: Ask for Help (v1)
Topic: Bind key picked in combobox
Replies: 3
Views: 275

Re: Bind key picked in combobox

Hello, You have neither described any problem nor asked any question. I suggest looking at :arrow: Hotkey , which will allow you to define a hotkey as the script runs. I need that when the user selects the button he likes, from this combobox: And the button selected by the user should be assigned t...
by shakebeast
12 Apr 2023, 05:52
Forum: Ask for Help (v1)
Topic: Bind key picked in combobox
Replies: 3
Views: 275

Bind key picked in combobox

Hello i need to get picked key from combobox and bind an action to this key, which in turn will move to a fixed position on the screen and click a random number of times (from 0 to 9) and each time this number must be random. So my code is below. Thanks in advance! #Include, bruteforce.ahk ; combobo...
by shakebeast
14 Mar 2023, 11:07
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

You either use a parsing loop or a for loop , not both, and which one you use depends on whether you're operating on the string or if you've split that string into an array (which you didn't do). Whether you parse or split, you have to act on the delimiter (the character separating the entries). Kn...
by shakebeast
14 Mar 2023, 08:49
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

Then you need to take the resulting list and cycle through them either with a parsing loop or by enumerating the array created via StrSplit() so you can execute FileCopy for each of them. Can you please edit, the first time it works with loop, parse. The code is below! Loop, Parse, % Explorer_GetSe...
by shakebeast
14 Mar 2023, 08:13
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

Maybe your user profile doesn't have authority to write into that directory. Try this as a standalone script to see if it works: FileCopy, C:\Users\LENOVO\Downloads\v4 purple trees\GJ_GameSheet02-hd.png, D:\Steam\steamapps\common\Geometry Dash\Resources, 1 Also try it with a trailing \ : FileCopy, ...
by shakebeast
14 Mar 2023, 08:05
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

Maybe your user profile doesn't have authority to write into that directory. Try this as a standalone script to see if it works: FileCopy, C:\Users\LENOVO\Downloads\v4 purple trees\GJ_GameSheet02-hd.png, D:\Steam\steamapps\common\Geometry Dash\Resources, 1 Also try it with a trailing \ : FileCopy, ...
by shakebeast
14 Mar 2023, 07:25
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

FileCopy doesn’t work with a list of files. It works with a single file or a single pattern of files. Did you try it with one selected file? Yes i do. This is how the path to the texture pack(purple trees v4) and the path to the "Resources" folder with the letters A and D are displayed MsgBox below...
by shakebeast
14 Mar 2023, 06:47
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

boiler wrote:
14 Mar 2023, 06:40
So did the function return anything? I would hope you checked that already without me even having to ask.
Of course, the function returned a list of all selected files
by shakebeast
14 Mar 2023, 05:29
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

So it’s not getting the source file info. If you’re clicking a GUI button to cause that subroutine to execute, then that would seem to be the problem. The function that gets the selected file is expecting the File Explorer window to be the active window unless you pass its hwnd to it, but it’s not ...
by shakebeast
14 Mar 2023, 04:09
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Re: Problem with file replacing Topic is solved

Replace your subroutine with the one below for testing purposes. What does it display? You can press Ctrl+C while the MsgBox is active to copy its contents and paste them into a post here. GD_TP_Installer: RegRead, OutputVar, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\St...
by shakebeast
14 Mar 2023, 03:31
Forum: Ask for Help (v1)
Topic: Problem with file replacing Topic is solved
Replies: 15
Views: 954

Problem with file replacing Topic is solved

Hello! I need help with a script that, when clicking on a button, should find out the directory from the value of the registry key and transfer the files selected by the user to the "Resources" folder, which is located in the directory that was found out earlier thereby installing the texture pack b...
by shakebeast
13 Mar 2023, 16:02
Forum: Ask for Help (v1)
Topic: Help with RegRead Topic is solved
Replies: 2
Views: 262

Re: Help with RegRead Topic is solved

How about F2:: RegRead, OutputVar, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 322170, InstallLocation MsgBox, %OutputVar% return ? (Making sure that the Regread line gets executed; otherwise it should be in the auto-execute section of the script or somewhere el...
by shakebeast
13 Mar 2023, 15:48
Forum: Скрипты и библиотеки
Topic: Работа с Cfg файликом
Replies: 2
Views: 2293

Re: Работа с Cfg файликом

FileAppend, Твой текст, config.cfg ;Создаем cfg файл (config можно поменять на желанное имя, а "Твой текст" на желанный текст в файле) FileRead, OutputVar, config.cfg ;Читает ранее созданый файл и сохраняет его содержимое в переменную "OutputVar" MsgBox %OutputVar% ;Показывается MsgBox в котором вы...
by shakebeast
13 Mar 2023, 15:23
Forum: Ask for Help (v1)
Topic: Help with RegRead Topic is solved
Replies: 2
Views: 262

Help with RegRead Topic is solved

Hello! I have a problem with my script in the RegRead function. When I press F2, the MsgBox opens, of course, but it is empty, although the value of the corresponding key should be displayed. Thanks in advance! Code below! RegRead, OutputVar, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVers...

Go to advanced search