Search found 1275 matches

by Masonjar13
Today, 04:05
Forum: Scripts and Functions
Topic: ScriptUp - Many scripts, One process
Replies: 29
Views: 3140

Re: ScriptUp - Many scripts, One process

Thanks, glad you think so, joedf :) While I'm here, I may as well post an update to the current status of the update. I'm stuck with a bug that I can't get around, which is almost the whole point of creating a v1. It has to do with off-loading the threads to a separate thread. Simply, I can't. I've ...
by Masonjar13
Yesterday, 02:45
Forum: Ask For Help
Topic: Taking a picture with my webcam
Replies: 10
Views: 217

Re: Taking a picture with my webcam

the box asking for the camera source What "box" are you referring to? Anyways, works fine as-is. Cleaned it up a bit, though. SetWorkingDir %A_ScriptDir% detectHiddenWindows,on onExit,clean hModule := DllCall("LoadLibrary", "str", "avicap32.dll") Gui, -captio...
by Masonjar13
16 Aug 2018, 17:55
Forum: Ask For Help
Topic: Taking a picture with my webcam
Replies: 10
Views: 217

Re: Taking a picture with my webcam

Easy enough to just remove the gui elements and have it automate everything instead. But note that the stream needs to be opened first, so the cam control still needs to be in a gui, but you can just hide it.
by Masonjar13
14 Aug 2018, 17:29
Forum: Ask For Help
Topic: Send function to fill webforms
Replies: 2
Views: 37

Re: Send function to fill webforms

Try LastPass . It's significantly safer than keeping your credentials in plain-text like that. As for your problem though, try sendMode,input $#z::send {blind}{lwin up}{rwin up}[username]{tab}[password]{enter} If you're aiming specifically for Z/Shift+z sendMode,input $#+z::send {blind}{lwin up}{rwi...
by Masonjar13
11 Aug 2018, 19:15
Forum: Scripts and Functions
Topic: Masonjar13's Library List
Replies: 31
Views: 7155

Re: Masonjar13's Library List

Update!
Changed the readme; all functions and descriptions are now in a table.
I ripped out the guts from PinAuth/PIN class to make a base class for a db. PIN will now be an extended class of the db class.

Check the commit for more details!
by Masonjar13
08 Aug 2018, 13:52
Forum: Ask For Help
Topic: Script stopped working after updating AutoHotkey
Replies: 1
Views: 33

Re: Script stopped working after updating AutoHotkey

Functions do not need to be defined inside the script. They can be included or auto-included from one of the library folders. That hasn't changed. However, if you look at the change-log, some of the built-in functions have been changed/added, such as min().
by Masonjar13
10 Jul 2018, 14:33
Forum: Ask For Help
Topic: Deleting all lines (except the ones containing a given keyword) in multiple txt documents? Topic is solved
Replies: 3
Views: 70

Re: Deleting all lines (except the ones containing a given keyword) in multiple txt documents? Topic is solved

Sure is, but if they have a lot of lines, it will take some time. Use a file-reading loop , then continue for each that doesn't have the keyword/phrase you're looking for. Use inStr() for checking that. Then, you can put all that into a file-loop , assuming all these files are in the same directory....
by Masonjar13
09 Jul 2018, 17:02
Forum: AutoHotkey_H
Topic: Error using _Struct
Replies: 0
Views: 177

Error using _Struct

Once again, issues while trying to update ScriptUp. The main change is offloading all the child threads to a child thread. The sequence is: main script > offload thread > many child threads . I've tested running a DLL thread from a DLL thread and I recall it working before. I'm still using _MemoryLi...
by Masonjar13
07 Jul 2018, 01:29
Forum: Ask For Help
Topic: Help me Ply
Replies: 10
Views: 206

Re: Help me Ply

Not sure what you're going for at this point. What I posted was a working example. Why your last code isn't working is because you have an else-else, which isn't a thing that you can do, because it doesn't make sense. I'll put what you have into words so that it might make more sense: do a search if...
by Masonjar13
07 Jul 2018, 01:11
Forum: Ask For Help
Topic: Please Help, New To AHK
Replies: 2
Views: 84

Re: Please Help, New To AHK

Loop isn't reachable. A hotkey encountered by the auto-execute section prompts a return, so the loop will never execute. Easy solution: put the hotkeys below the loop.
by Masonjar13
07 Jul 2018, 01:05
Forum: Ask For Help
Topic: Weird stuff when using monitor through USB3->HDMI
Replies: 2
Views: 73

Re: Weird stuff when using monitor through USB3->HDMI

Seems obvious to me: screen 3 is your "main" screen, the one that contains the task bar. Also, can't see the point of your script. Excessive amount of useless code there. The function isn't being called, nor is it needed: A_Ptr=8?"64-bit":"32-bit" . Monitor variables ar...
by Masonjar13
06 Jul 2018, 20:27
Forum: AutoHotkey_H
Topic: Lib stays encrypted, gets decrypted automatically
Replies: 3
Views: 238

Re: Lib stays encrypted, gets decrypted automatically

In terms of keeping the library itself encrypted, but still have the ability to auto-include (if that's what you're going for), I have no idea how to do that. But, there's a few options for keeping encrypted library files. 1) Use Deo's library. You can encrypt the file[s] beforehand, decrypt them in...
by Masonjar13
05 Jul 2018, 00:18
Forum: Ask For Help
Topic: Help me Ply
Replies: 10
Views: 206

Re: Help me Ply

Using blocks will help the structure. ~e:: ImageSearch, X, Y, 935, 667, 1028, 754, Zerfleischen.png if ErrorLevel { ; 1st image not found ImageSearch, X, Y, 935, 667, 1028, 754, HauenBär.png if errorlevel { ; 2nd image not found send 3 }else{ ; 2nd image found send 2 } }else{ ; 1st image found send ...
by Masonjar13
24 Jun 2018, 13:44
Forum: Ask For Help
Topic: How to use GDIP Image Search?
Replies: 1
Views: 37

Re: How to use GDIP Image Search?

You can use this library, which includes the unicode/ansi version of the GDIP library as well as the image search made by MasterFocus. I have a working example here.
by Masonjar13
21 Jun 2018, 10:48
Forum: Ask For Help
Topic: Hotstrings with modifier keys Topic is solved
Replies: 5
Views: 153

Re: Hotstrings with modifier keys Topic is solved

You can use both.

Code: [Select all]GeSHi © Codebox Plus

#if getKeyState("CapsLock","P") && winActive("WinTitle")
by Masonjar13
19 Jun 2018, 10:39
Forum: Wish List
Topic: New subforum for Arduino
Replies: 5
Views: 423

Re: New subforum for Arduino

If you're using Windows on an Arduino board, you're doing it wrong.
by Masonjar13
19 Jun 2018, 08:27
Forum: Gaming
Topic: Making the left click autoclick using ahk shift work while shift key is held down Topic is solved
Replies: 1
Views: 88

Re: Making the left click autoclick using ahk shift work while shift key is held down Topic is solved

Code: [Select all]GeSHi © Codebox Plus

~*$LButton:: ; * allows any other keys to be held at the same time

Also, 00 = 0, which is no sleep, but checks the queue to allow other threads to do something.
by Masonjar13
13 Jun 2018, 00:20
Forum: Ask For Help
Topic: ^+Backspace:: inside of ^+Backspace::
Replies: 8
Views: 173

Re: ^+Backspace:: inside of ^+Backspace::

do you think following style is better? this stack directives right? #IfWinActive,Visual Studio Code #IfWinActive,ahk_class Chrome_WidgetWin_1 No . Directives do not stack like that. I'm saying the way you have it set up doesn't work like you think it does. The line I gave you DOES stack all the id...

Go to advanced search