Search found 1376 matches

by Masonjar13
20 Mar 2019, 14:45
Forum: Ask for Help (v1)
Topic: Auto fil username & password
Replies: 7
Views: 9541

Re: Auto fil username & password

As another pre-made option, I also have PIN, simple encrypted data class, using key-value pairs as entries. Each individual value is encrypted (not the keys), so you can use different encrypt keys/passwords for each entry, if you so choose.
by Masonjar13
19 Mar 2019, 15:51
Forum: Ask for Help (v1)
Topic: Finding 2nd and 3rd largest integers in a set
Replies: 2
Views: 786

Re: Finding 2nd and 3rd largest integers in a set

You would need to append the variables first, but Sort is probably what you're looking for. If you really want to keep them separate, consider making a function that will iterate through all the variables and compare. You can get the whole list of vars into a function by either using an object or va...
by Masonjar13
19 Mar 2019, 15:44
Forum: Ask for Help (v1)
Topic: Auto fil username & password
Replies: 7
Views: 9541

Re: Auto fil username & password

To answer your question, yes, you could use an ini file. However, I would recommend against this, as storing passwords in plaintext is never a good idea. Proceed as you will, but I suggest using LastPass or similar.
by Masonjar13
10 Mar 2019, 19:47
Forum: Forum Issues
Topic: Google Chrome AHK tab freeze vs "Select All" button with big content in code box Topic is solved
Replies: 10
Views: 3012

Re: Google Chrome FREEZE vs "Select All" button with big content Topic is solved

Delay is present on Firefox as well, noticed that immediately, but isn't related to the "Select All" button. Doesn't affect my browser either, just the document data/object. but i rather think it has more to do with over 3200 lines of code loading You're saying I can't download/cache text instantane...
by Masonjar13
10 Mar 2019, 18:32
Forum: Forum Issues
Topic: Google Chrome AHK tab freeze vs "Select All" button with big content in code box Topic is solved
Replies: 10
Views: 3012

Re: Google Chrome FREEZE vs "Select All" button with big content Topic is solved

No issue with Firefox, which shifts blame onto Chrome rather than the forum. Not entirely, just more likely.

You could also be running out of RAM, virtual or physical, or have a slow RAM speed. Lots of potential issues, honestly.
by Masonjar13
08 Mar 2019, 02:56
Forum: Ask for Help (v1)
Topic: What's the meaning of 'ByRef'?
Replies: 3
Views: 663

Re: What's the meaning of 'ByRef'?

Typically, params stated for a function will copy the variable contents. ByRef means to use the pointer to the original variable instead, rather than make a copy. That means, if the function changes the variable, it will affect the original one as well. Taking one step back, assuming you know nothin...
by Masonjar13
26 Feb 2019, 23:21
Forum: Ask for Help (v1)
Topic: Attempted "middle click emulation", now can't click and hold with left of right mouse buttons
Replies: 4
Views: 975

Re: Attempted "middle click emulation", now can't click and hold with left of right mouse buttons

This seems to work pretty well #if getKeyState("LButton","P") && getKeyState("RButton","P") $LButton:: $RButton:: t:=1 mouseClick,middle,,,,,d hotkey,~$LButton up,bu,on hotkey,~$RButton up,bu,on return #if bu: hotkey,% a_thisHotkey,off if(t){ mouseClick,middle,,,,u t:=0 } return Bit complicated. Her...
by Masonjar13
26 Feb 2019, 22:56
Forum: Gaming Help (v1)
Topic: How to achieve the lowest level of access to keys?
Replies: 5
Views: 3819

Re: How to achieve the lowest level of access to keys?

Using the keyboard hook should be good enough.

Code: Select all

#installKeybdHook
; or
$F1::
I've never had an in-game keybind take precedence over AHK with the hook active.
by Masonjar13
12 Feb 2019, 17:45
Forum: Ask for Help (v1)
Topic: Drawing a blank! AHK Gods Unite!
Replies: 4
Views: 945

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 (v1)
Topic: Stop Windows Beep
Replies: 6
Views: 2068

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 (v1)
Topic: Connecting a script containing several IFs & several result commands
Replies: 1
Views: 570

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 (v1)
Topic: Speed typing error
Replies: 2
Views: 771

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 (v1)
Topic: Better syntax for this if-statement? Topic is solved
Replies: 3
Views: 801

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 (v1)
Topic: Debugging Web App That Uses Websockets, Loaded By Gui Component
Replies: 3
Views: 869

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 Help (v1)
Topic: Left and right click key auto cycle
Replies: 17
Views: 5748

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 Help (v1)
Topic: Left and right click key auto cycle
Replies: 17
Views: 5748

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 Help (v1)
Topic: Left and right click key auto cycle
Replies: 17
Views: 5748

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 (v1)
Topic: Microsoft Defender deleting my apps
Replies: 14
Views: 5904

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 (v1)
Topic: Microsoft Defender deleting my apps
Replies: 14
Views: 5904

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 (v1)
Topic: Copy Lab Data to Medical Note
Replies: 7
Views: 1568

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...

Go to advanced search