Search found 3366 matches

by evilC
Today, 11:01
Forum: Gaming
Topic: Warframe Autofire
Replies: 1
Views: 21

Re: Warframe Autofire

OK, a bunch of issues with this code. 1) Pointless use of IfWinActive, use #IfWinActive instead 2) GetKeyState passed "D" as a param, which is invalid 3) Duplicate checks for state of Lbutton, when only one is needed 4) Your sleep value is probably way too low #ifWinActive, WARFRAME ; Fixe...
by evilC
Today, 10:53
Forum: Ask For Help
Topic: The following variable name contains an illegal character: "this.PosX"
Replies: 3
Views: 50

Re: The following variable name contains an illegal character: "this.PosX"

No "out" parameters for any command ( cmd, param, param syntax) that I can think of allow the use of objects - they all require an intermediate normal variable. Some commands allow certain "in" parameters to be objects, but not all (eg SetTimer will not allow SetTimer, % this.Som...
by evilC
Today, 05:27
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 85
Views: 2692

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

I have developed the code I posted some more. Have sending and receiving of buttons working now - you can do it all totally separately of each other - ie you do not need to receive in order to send. When you start up, call get_hardware_id on numbers 1-20 and you get a complete list of attached devic...
by evilC
Yesterday, 13:02
Forum: Ask For Help
Topic: Reasons for hwnd not being stored via Gui,Add
Replies: 5
Views: 76

Re: Reasons for hwnd not being stored via Gui,Add

Gui,1:Default GuiControlGet,stringHwndTextDebug,Hwnd,GuiTextDebug I see no code that creates a GuiControl, so of course hwnd would be blank This code would get the value of the GuiControl using the Hwnd stored in the variable stringHwndTextDebug Gui, Add,Text,X100 Y100 vGuiTextDebug HwndstringHwndT...
by evilC
Yesterday, 10:21
Forum: Ask For Help
Topic: Make AutoHotKey Press a Key as if you were really pressing a key on your keyboard?
Replies: 6
Views: 86

Re: Make AutoHotKey Press a Key as if you were really pressing a key on your keyboard?

Try putting SetKeyDelay, 0, 50 at the start of your script.
Try running script as admin
by evilC
14 Aug 2017, 14:05
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 85
Views: 2692

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

FYI, I noticed what appears to be an error in the demo script: if (a_ptrsize > 4) DllCall(dll . "\interception_get_hardware_id","Ptr",context,"int",device,"str",buffer,"Uint",500,"Cdecl Int") else if (a_ptrsize < 4) DllCall(dll . "\int...
by evilC
14 Aug 2017, 09:47
Forum: Scripts and Functions
Topic: Class_DD - WingRing0 alternative, a vitual keyboard/mouse library
Replies: 19
Views: 4328

Re: Class_DD - WingRing0 alternative, a vitual keyboard/mouse library

Is Interception not doing the same thing as DD?
Interception has a signed driver and is completely free.
by evilC
14 Aug 2017, 09:22
Forum: Ask For Help
Topic: An instance of the class never calls __Delete()
Replies: 4
Views: 60

Re: An instance of the class never calls __Delete()

AFAIK there is simply no way to have this code auto clean up on exit without implementing some code that deletes the self-refs, so it can free.
by evilC
14 Aug 2017, 09:13
Forum: Ask For Help
Topic: An instance of the class never calls __Delete()
Replies: 4
Views: 60

Re: An instance of the class never calls __Delete()

this._timerFunction is a self-reference, so it will never fire the destructor.
by evilC
14 Aug 2017, 09:12
Forum: Ask For Help
Topic: How to Run at Specific Time in Milliseconds?
Replies: 20
Views: 187

Re: How to Run at Specific Time in Milliseconds?

If you need timers more accurate than the minimum granularity of the system timer (~10ms) then you can use MicroTimer.
by evilC
14 Aug 2017, 09:10
Forum: Ask For Help
Topic: Reasons for hwnd not being stored via Gui,Add
Replies: 5
Views: 76

Re: Reasons for hwnd not being stored via Gui,Add

When working with GuiControls that are part of an AHK gui, you should not be using the ControlXXX commands, you should be using the GuiControlXXX commands.

The ControlXXX commands are for controls of another application.
by evilC
12 Aug 2017, 14:29
Forum: Ask For Help
Topic: How to deal with a comma inside a column of a comma seperated file?
Replies: 9
Views: 103

Re: How to deal with a comma inside a column of a comma seperated file?

This is all very much complicated by the way AHK escapes quotes. I am assuming that the text comes from a different application, one which handles strings in a c-like manner (ie escape char is backslash) In that case, the regex is rather simple: (?<!\\)"(.*)(?<!\\)"...
by evilC
12 Aug 2017, 12:28
Forum: Gaming
Topic: (Fallout4) need some help GUI / console / Send
Replies: 12
Views: 1374

Re: (Fallout4) need some help GUI / console / Send

If you need a script to run as admin, use RunAsTask
That way, the script will auto-elevate, and you do not need to accept the UAC prompt each time.
by evilC
12 Aug 2017, 12:23
Forum: Gaming
Topic: WhiteKnight - Block games from being able to see sticks using ViGEm
Replies: 5
Views: 380

Re: WhiteKnight - Block games from being able to see sticks using ViGEm

Thanks for pointing that out, it seems that the edit post form allowed me to attach the zip, but when I submitted it, I guess it was too big or something and it removed it.
I uploaded it to my website instead and added a download link.
by evilC
11 Aug 2017, 13:16
Forum: Ask For Help
Topic: How to deal with a comma inside a column of a comma seperated file?
Replies: 9
Views: 103

Re: How to deal with a comma inside a column of a comma seperated file?

That won't work on a general CSV file, it is only specific to your "str" format where all fields are surrounded by double-quotes Click download on the sample data in the OP. In that file, each field is surrounded by quotes, so it will indeed work. My sample code merely simulates what you ...
by evilC
11 Aug 2017, 11:11
Forum: Ask For Help
Topic: Variable assosiated to contol updating without Submiting? Topic is solved
Replies: 3
Views: 56

Re: Variable assosiated to contol updating without Submiting? Topic is solved

You do indeed seem to have found something strange.
The vLabel for DateTime controls seems to get updated on change, unlike other controls.
by evilC
11 Aug 2017, 10:58
Forum: Ask For Help
Topic: Binding mouse axis to keyboard
Replies: 3
Views: 31

Re: Binding mouse axis to keyboard

You said you want to bind Mouse axis X and Y to keyboard keys.
To me, that means you want to hold keys (eg Arrow keys or WSAD) in response to you moving the mouse.

That is exactly what my script does
by evilC
11 Aug 2017, 10:53
Forum: Ask For Help
Topic: AHK has smbs' problem
Replies: 3
Views: 82

Re: AHK has smbs' problem

I am not really sure what you are trying to do, what is an "smb"? Using KeyWait or GetKeyState to detect release of a key is the wrong way to do it - I tried to get them to remove it as an example from the docs, but to no avail :( Use the up event SC028 up:: Observe this code: F10:: F11:: ...
by evilC
11 Aug 2017, 10:36
Forum: Ask For Help
Topic: How to deal with a comma inside a column of a comma seperated file?
Replies: 9
Views: 103

Re: How to deal with a comma inside a column of a comma seperated file?

str := """1-8-2017"",""31-7-2018"",""1L"",""Student 1126, Carol"",""24-4-2002"",""PEKZDAS7JT7E""" pos := 1 while (pos := RegExMatch(str, "U)\""(.+)\"...

Go to advanced search