Search found 1308 matches

by Masonjar13
12 Feb 2019, 17:45
Forum: Ask For Help
Topic: Drawing a blank! AHK Gods Unite!
Replies: 4
Views: 98

Re: Drawing a blank! AHK Gods Unite!

Alternatively, you could put the terms in an array/index-based object and use a for-loop. ; sometime after submitting the GUI info termsObj:=strSplit(terms,"`n") ; inside file-read loop for i,a in termsObj{ if(inStr(a_loopReadLine,a)) fileAppend,% a_loopReadLine,file.txt } Considering that using a m...
by Masonjar13
12 Feb 2019, 17:28
Forum: Ask For Help
Topic: Stop Windows Beep
Replies: 6
Views: 135

Re: Stop Windows Beep

Here would be a starting point. You may be able to just use "System Sounds" as the window name, but probably not. So, you'd need to either figure out which process is connected to the mixer entry and hope it has a window, or maybe check the other VA functions, see if there's another way to get the ...
by Masonjar13
12 Feb 2019, 00:04
Forum: Ask For Help
Topic: Connecting a script containing several IFs & several result commands
Replies: 1
Views: 74

Re: Connecting a script containing several IFs & several result commands

Else ? Unless you mean you want them all on one line. if(winExist("Windows Media Player")||winExist("Groove Music")||winExist("VLC")||winExist("YouTube")){ winActivate ; uses last found window winWaitActive } If that doesn't work (not sure if it would correctly set the last found window), could loo...
by Masonjar13
11 Feb 2019, 23:54
Forum: Ask For Help
Topic: Speed typing error
Replies: 2
Views: 113

Re: Speed typing error

Something like this maybe?

Code: Select all

$n::nt:=a_msec
$n up::
if(a_msec-nt>500)
    run C:\Windows\System32\Notepad
else
    send,n
return
It will only open notepad after n is released.
by Masonjar13
09 Feb 2019, 00:20
Forum: Ask For Help
Topic: Better syntax for this if-statement? Topic is solved
Replies: 3
Views: 98

Re: Better syntax for this if-statement? Topic is solved

You can combine them using the || (or) operator.

Code: Select all

if (FileExist("C:\" name ".*.part") || !fileExist("C:\" name ".*")) { ; ! inverts the statement, making false return true, like "if not"
    Msgbox File wasn't downloaded
    Do A
}
by Masonjar13
27 Jan 2019, 20:57
Forum: Ask For Help
Topic: Debugging Web App That Uses Websockets, Loaded By Gui Component
Replies: 3
Views: 88

Re: Debugging Web App That Uses Websockets, Loaded By Gui Component

AHK doesn't have IE, it simply uses what is installed on the computer. Your best bet would be to setup a RESTful (or similar) API, and use WinHttpRequest, using a completely client-side UI.
by Masonjar13
26 Jan 2019, 12:12
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 682

Re: Left and right click key auto cycle

Mason there are some stuff that are not working right like what mast said but in all honesty mason ur code works fine thank you so much Apologies for not getting back to you sooner, I've been very busy! You can slow it down with a sleep inside the loops. As for why it's skipping some, probably beca...
by Masonjar13
14 Jan 2019, 03:46
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 682

Re: Left and right click key auto cycle

.. I'll just blatantly ignore your response, seeing as it makes no sense and that code is.. pretty bad. Though, yes, I did miss where OP asked to keep the cycle when stopped. Easy fix. setKeyDelay,25,25 ; good starting point for games arr1:=[1,2,3] arr2:=[4,5,6] arr1L:=arr2L:=1 $^F1::t:=!t #if t $LB...
by Masonjar13
12 Jan 2019, 17:45
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 682

Re: Left and right click key auto cycle

It's explained quite clearly. You just need to have a loop that checks if the particular key is still being held, along with a hotkey. $LButton:: while(getKeyState("LButton","P")) send 123 return $RButton:: while(getKeyState("RButton","P")) send 456 return As it's written here, it won't work if both...
by Masonjar13
03 Dec 2018, 23:48
Forum: Ask For Help
Topic: Microsoft Defender deleting my apps
Replies: 14
Views: 437

Re: Microsoft Defender deleting my apps

You don't have to turn Microsoft Defender off. You can make an exception, so that Defender ignores the file. Also, Malwarbytes is for malware, but doesn't exactly do Anti-Virus the best. It's arguably not complete protection, unless it's run with an Anti-Virus program that is more specifically dedi...
by Masonjar13
03 Dec 2018, 11:38
Forum: Ask For Help
Topic: Microsoft Defender deleting my apps
Replies: 14
Views: 437

Re: Microsoft Defender deleting my apps

Sure, just disable Defender. Use something better, like Malwarebytes.
by Masonjar13
27 Oct 2018, 10:29
Forum: Ask For Help
Topic: Copy Lab Data to Medical Note
Replies: 7
Views: 283

Re: Copy Lab Data to Medical Note

How would this be a HIPAA violation? By technically (as in technologically) moving or altering data without utilizing reasonable encryption. If said information is protected by HIPAA, you would have to use encryption when using this data. The way around that is if the data is never in plain-text in...
by Masonjar13
26 Oct 2018, 20:12
Forum: Ask For Help
Topic: Copy Lab Data to Medical Note
Replies: 7
Views: 283

Re: Copy Lab Data to Medical Note

Assuming this is actual medical data, automating it in this way may indict a HIPAA violation. Could get you fired, or worse, so make sure your supervisor/manager allows for you to do so. If you don't, well, you assume all liability. Depending on the type of interface, you might be able to grab the i...
by Masonjar13
17 Oct 2018, 00:23
Forum: Ask For Help
Topic: Illegal character error with Run command
Replies: 5
Views: 217

Re: Illegal character error with Run command

Expression syntax > traditional syntax

Code: Select all

Run,% """C:\Program Files (x86)\Youtube-dl\youtube-dl.exe"" -f ""best[height=720]"" -o ""C:/Storage/%(title)s.%(ext)s"" URL"
If that also doesn't work, try running it through comspec.
by Masonjar13
15 Oct 2018, 23:41
Forum: Scripts and Functions
Topic: Masonjar13's Library List
Replies: 33
Views: 8782

Re: Masonjar13's Library List

CyL0N wrote:
15 Oct 2018, 23:05
Sup dude,Awesome lib.
Thanks, glad you like it!
CyL0N wrote:
15 Oct 2018, 23:05
externalIP() returns ipInfo instead of ipInfoList,just thought you'd want to fix that...
:eh: Strange.. My local copy is correct. Thanks for pointing that out, fixed :thumbup:
by Masonjar13
21 Sep 2018, 13:46
Forum: Offtopic
Topic: Thank you for the music
Replies: 171
Views: 61349

Re: Thank you for the music

My dude dropped a new single under a side-project band: https://soundcloud.com/leavenothingtolu ... ingle-2018
by Masonjar13
16 Sep 2018, 20:33
Forum: Ask For Help
Topic: Imagesearch between computers and resolutions
Replies: 2
Views: 139

Re: Imagesearch between computers and resolutions

Resolutions don't scale the image, unless whatever it is you're searching scales for some reason. The only time I've encountered this issue is when it's on W10 with DPI scaling. You could scale the image with GDI+ prior to searching, based on the DPI scale, or you could create another set of images ...
by Masonjar13
15 Sep 2018, 21:22
Forum: Editors
Topic: Notepad++ Function List
Replies: 0
Views: 564

Notepad++ Function List

I know there is already a function list available , but it's buggy and over-the-top. This one supports just functions and classes, giving just the names (not parameters or extended classes), and properly ignores comments (at least for what I've tested). As noted as a bug on the other thread, the clo...
by Masonjar13
13 Sep 2018, 12:22
Forum: Scripts and Functions
Topic: ScriptUp - Many scripts, One process
Replies: 34
Views: 4524

Re: ScriptUp - Many scripts, One process

If it were any of the aforementioned issues, it would also fail on my host and other computers I've tried it on. It works fine everywhere else though, just not in the VM. I didn't write or modify _MemoryLibrary or _Struct, those are both written by HotKeyIt. He's actually going to be the guest host ...
by Masonjar13
11 Sep 2018, 15:37
Forum: Scripts and Functions
Topic: ScriptUp - Many scripts, One process
Replies: 34
Views: 4524

Re: ScriptUp - Many scripts, One process

So I was making a new W7 VM to run tests with and I got a curious error in _MemoryLibrary/_Struct: ERROR: BuildImportTable failed Here's the last page of ran lines. ---- C:\Users\t\Desktop\data\_Struct.ahk 422: if (_key_="") 424: if !(idx:=p.MaxIndex()) 425: _field_:=_key_,opt:="~" 432: if this[" "]...

Go to advanced search