Search found 221 matches

by DyaTactic
09 Dec 2020, 05:55
Forum: Ask for Help (v1)
Topic: Dropdown Issues
Replies: 9
Views: 393

Re: Dropdown Issues

I edited more then only the LVDelted() lines. Can you try to use whole the code I send back? I belive most of it is fixed there already. Let me know.
by DyaTactic
09 Dec 2020, 05:22
Forum: Ask for Help (v1)
Topic: How to use varible within RunWait command
Replies: 1
Views: 219

Re: How to use varible within RunWait command

Assigning a string value to the variables and using precent signs: Video_Orig_Loc := "Orig\test.mp4" Video_Edited_Loc := "Edited\FFMETADATAFILE" RunWait ffmpeg -i %Video_Orig_Loc% -f ffmetadata %Video_Edited_Loc%,,Hide Or force RunWait to use an expression: Video_Orig_Loc := "Orig\test.mp4" Video_Ed...
by DyaTactic
09 Dec 2020, 05:11
Forum: Ask for Help (v1)
Topic: Dropdown Issues
Replies: 9
Views: 393

Re: Dropdown Issues

I think I got it covered. Using LVDelete() is the solution I used too. Let me know if this works for you. I changed some paths for testing but I belive I changed them back to your original values. For detailed infomation see my comments starting with 'Dya:'. ; ************ READ TEXT FILE TO DETERMIN...
by DyaTactic
22 Sep 2020, 07:36
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

dyatactic

Ah, well. The Regular Expression was searching for 'word characters' and non-'word characters' followed by more optional 'word characters'. I guess the . (dot) is not a 'word character'. I just discovered that a reg-key can contain pretty much any character so that makes it quite hard filter weird c...
by DyaTactic
18 Sep 2020, 02:17
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

Re: how to combine code below?

I use the Regex Tester from rbrtryn to test the expressions in combination with the RegEx Quick reference from the AHK help file. Especialy the Regex Tester allowed me to really start building regular expressions. I do not know of a script like you mentioned, would be really cool though. Regex Teste...
by DyaTactic
17 Sep 2020, 04:15
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

Re: how to combine code below?

I see, this is indeed possible. In addition to the right code I'll tell something more about how functions work. With nested functions you start with the function that does the final action. In this case the overall action you want to perform is RegJump() , isn't it? So that's where you start: RegJu...
by DyaTactic
16 Sep 2020, 07:55
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

Re: how to combine code below?

This would do the reg key thingy: Clip := ":“HKEY_LOCAL_MACHINE” > “SOFTWARE” > “Policies” > “Google” > “Chrome" 20SubKeys := "O)(HKEY_\w+)[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]*(\w+)?[^\w]...
by DyaTactic
14 Sep 2020, 04:07
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

Are you sure it is something with a limit? Could it be that there is sill another item selected and 'Link Program' changes the selected row instead? Does the replacement happen when Linking a program or when you press the Add button?
by DyaTactic
11 Sep 2020, 03:06
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

Re: how to combine code below?

Ah, I get it. I 'd say it's done like this: (for the first hotkey, you can paste the same change in the second if you want) ;; Go to anything that is in the currently selected text: URLs, email addresses, Windows paths, or just "Google it" USING WIN+Q $#Q:: ~LButton & RButton:: ; Open in existing Ch...
by DyaTactic
11 Sep 2020, 02:17
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

Good to hear that.
The question about the search function is still open. I do not know about such a function to hide rows or something. Maybe someone else or Google knows some DLLCall() that's does the trick?
by DyaTactic
10 Sep 2020, 09:35
Forum: Ask for Help (v1)
Topic: how to combine code below?
Replies: 12
Views: 568

Re: how to combine code below?

What's wrong with putting the scripts together in one file? Do I miss something? ;; Go to anything that is in the currently selected text: URLs, email addresses, Windows paths, or just "Google it" USING WIN+Q $#Q:: ~LButton & RButton:: ; Open in existing Chrome Window ;Tip("Clipping...") ;; include ...
by DyaTactic
10 Sep 2020, 02:47
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

Is there a way to remove the highlight though? You can use +LV0x8000 in the ListView options (when you add it to the GUI) to prevent the icon from being heighlighted. And with -0x8 in the options the selection is no longer visible after the ListView loses keyboard focus. In my example below I also ...
by DyaTactic
09 Sep 2020, 05:31
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

I choose a program that I want to add to the listview, then I choose the icon for that program, then I click the add button to show the icon and the program in the listview. Alright, so you kinde use the buttons from right to left^^. My intuition wanted to use them from left to right, so first the ...
by DyaTactic
08 Sep 2020, 14:06
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

I took the whole code and ajusted a few things. Most of itwas the icon system as -just me- did, I implemented my own solotion however so if you like the code of -just me- more go ahead and change it. This code does take an icon from the file automatically and allows to pick an icon from an icon reso...
by DyaTactic
07 Sep 2020, 07:30
Forum: Ask for Help (v1)
Topic: wingetpos with respect to virtual dimensions Topic is solved
Replies: 4
Views: 285

Re: wingetpos with respect to virtual dimensions Topic is solved

Maybe this works on all monitor setups: SysGet, VirtualWidth, 78 SysGet, VirtualHeight, 79 loop { Pos := WinGetRelativePos("A") ToolTip, % VirtualWidth . " " . VirtualHeight . "`n" . Pos.x . " " . Pos.y Sleep, 50 } return WinGetRelativePos(winTitle="A") { WinGetPos, x, y,,, % winTitle PosIsOnMonitor...
by DyaTactic
07 Sep 2020, 05:36
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

This is with icons added from shell32.dll. Just like the example in the documentation for IL_Create . EnvGet, UserProfile, USERPROFILE Gui Add, ListView, w250 gLVEvents +Icon, Name|URL ImageListID := IL_Create(10,, 1) ; Create an ImageList to hold 10 large icons. LV_SetImageList(ImageListID) ; Assig...
by DyaTactic
07 Sep 2020, 05:12
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

You can change the listview to another view which hides the file path. Though adding actual buttons like the ones from "Gui, Add, Button" is not a thing with de default functions of Autohotkey. You can even add the AltSubmit option to detect normal clicks. That way it can run the URL with a single c...
by DyaTactic
07 Sep 2020, 04:38
Forum: Ask for Help (v1)
Topic: Url to Button
Replies: 30
Views: 2768

Re: Url to Button

So you want the newly selected file to become a new row in the ListView and when you click the row/item in the ListView the file/URL is opened? This code should get you far I guess. Let me know what you need more. EnvGet, UserProfile, USERPROFILE Gui Add, ListView, gLVEvents, Name|URL LV_Add(, "User...
by DyaTactic
07 Sep 2020, 03:52
Forum: Ask for Help (v1)
Topic: Disable Autohotkey on certain program
Replies: 3
Views: 665

Re: Disable Autohotkey on certain program

The line must be above the first hotkey that must be disabled. See also https://www.autohotkey.com/docs/commands/WinActive.htm. Another method is to set a timer which keep checking if your window is active and if so, disables all hotkeys via the Suspend command. But the method mentioned by Rohwedder...
by DyaTactic
07 Sep 2020, 03:02
Forum: Gaming Help (v1)
Topic: Bind arrow keys to WASD keys at the same time?
Replies: 1
Views: 913

Re: Bind arrow keys to WASD keys at the same time?

I belive you need the tilde prefix. This retains the original function of the key and triggers the hotkey at the same time.

Code: Select all

~Left::a
~Right::d
~Up::w
~Down::s
I am not sure if the wasd-keys are properly held down this way though. Let me know if there is a problem.

Go to advanced search