Search found 202 matches

by icuurd12b42
03 May 2018, 23:17
Forum: Ask for Help (v1)
Topic: Help with sendmessage / postmessage (mouse)
Replies: 4
Views: 1762

Re: Help with sendmessage / postmessage (mouse)

what the heck are you passing to wParam and lParam! ;) here are the docs for wm_mousemouve and wm_lbuttondown https://msdn.microsoft.com/en-us/library/windows/desktop/ms645616(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms645607(v=vs.85).aspx long story short you should pa...
by icuurd12b42
02 May 2018, 02:33
Forum: Ask for Help (v1)
Topic: Formatting java code with autohotkey
Replies: 1
Views: 564

Re: Formatting java code with autohotkey

Snooping around in the page (Hitting f12 and playing in the console... This should sortof work.... Clipboard := pwb2.document.getElementsByClassName("ace_content")[1].innerText that will return the content. You will lose tabbing/indentation, but you can address that by parsing the string and find ev...
by icuurd12b42
02 May 2018, 02:00
Forum: Gaming Help (v1)
Topic: red dot middlescreen
Replies: 3
Views: 1456

Re: red dot middlescreen

Using Windows/GUI to add dots or other graphical elements to a game requires the game run in windowed mode, For example, one faking fullscreen by running in a maximized borderless window, as opposed to running in true fullscreen 100% gpu mode.... Not every game has this option.
by icuurd12b42
03 Apr 2018, 01:18
Forum: Ask for Help (v1)
Topic: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?
Replies: 12
Views: 2380

Re: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?

I'm not suggesting anything. I don't know the context... just know that SendMessage does things now in the current thread, like calling a function, and PostMessage puts the message in the message queue to be processed later by the main window thread)
by icuurd12b42
16 Mar 2018, 23:29
Forum: Ask for Help (v1)
Topic: Mapping Logitech MX Master 2S mouse
Replies: 1
Views: 2030

Re: Mapping Logitech MX Master 2S mouse

You can map the Mouse (of KB) GButton to send a key in the Logitech Gaming software and you can catch those keys in AHK

You can map the GButton to send F24,F23,... F13, these are not on most KB so there would not be any problem and they can be captured by AHK
by icuurd12b42
16 Mar 2018, 17:46
Forum: Ask for Help (v1)
Topic: Treeview Help
Replies: 3
Views: 752

Re: Treeview Help

I wrote this https://autohotkey.com/boards/viewtopic.php?f=6&t=36471 In order to map treeview item ids to item extra data for my own project because you need to know what each item is really... and the treeview system does not provide much for it... global MyExtraData = New Dictionary(1000); ... tvI...
by icuurd12b42
16 Mar 2018, 17:22
Forum: Ask for Help (v1)
Topic: Treeview Help
Replies: 3
Views: 752

Re: Treeview Help

the event label or function (better imh) (TreeviewName)_Control() it the one you want [edit] Ooops, _control is in the name of my treeview... Example above shows how it's done TreeviewName_Control() { if(A_GuiEvent = "DoubleClick") { OnDoubleClickedItem() } else if(A_GuiEvent = "S") { if(GetKeyState...
by icuurd12b42
15 Mar 2018, 21:09
Forum: Ask for Help (v1)
Topic: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?
Replies: 12
Views: 2380

Re: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?

Just to put the final nail on SendMessage... Each Window in the Windows Operating System has different sets of behaviours you can trigger or get result from... Because there was no way to know what features a window would support or add to the operating system, the SendMessage system was conceived t...
by icuurd12b42
13 Mar 2018, 04:40
Forum: Ask for Help (v1)
Topic: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?
Replies: 12
Views: 2380

Re: @Lexikos and other experts - any idea why I need a Sleep 0 in this code to make keyboard-specific hotstrings work?

win api sleep has this tidbit https://msdn.microsoft.com/en-us/library/windows/desktop/ms686298(v=vs.85).aspx A value of zero causes the thread to relinquish the remainder of its time slice to any other thread that is ready to run. If there are no other threads ready to run, the function returns imm...
by icuurd12b42
13 Mar 2018, 04:37
Forum: Bug Reports
Topic: FileSelectFile does not display long default filenames properly
Replies: 3
Views: 1738

Re: FileSelectFile does not display long default filenames properly

It may be because the file dialog was opened smaller than shown and then resized. not that this thought would help to a solution
by icuurd12b42
13 Mar 2018, 04:23
Forum: Ask for Help (v1)
Topic: can't figure out how to remove digits after decimal
Replies: 14
Views: 3492

Re: can't figure out how to remove digits after decimal

I can say that the help system is not beginner friendly, I been at this programming business for 30 years. it's a reference manual, and it is as friendly as a reference manual can be, which means it's made for people who know what they are looking for but unsure how to proceed, but there are many ex...
by icuurd12b42
13 Mar 2018, 04:02
Forum: Ask for Help (v1)
Topic: can't figure out how to remove digits after decimal
Replies: 14
Views: 3492

Re: can't figure out how to remove digits after decimal

One would need to realise why round is needed in this case though. Alien, you will be lost in many help files if you don't have experience under your belt to guide your thoughts... And a help file is not a "search and find solution" system, if you treat it as such you will never find anything to rea...
by icuurd12b42
10 Mar 2018, 12:35
Forum: Gaming Help (v1)
Topic: Nothing is being sent to the app
Replies: 5
Views: 1122

Re: Nothing is being sent to the app

turns out I now have to run the script as administrator... less trouble than I originally thought... still very anoying
by icuurd12b42
10 Mar 2018, 01:45
Forum: Gaming Help (v1)
Topic: Nothing is being sent to the app
Replies: 5
Views: 1122

Re: Nothing is being sent to the app

I read that topic a few hours back. the fact is aaa passes through tells me it's reading the keyboard differently than it did previous version. I tried a compiled version of that simple test in all possible exe types
by icuurd12b42
09 Mar 2018, 23:26
Forum: Gaming Help (v1)
Topic: Nothing is being sent to the app
Replies: 5
Views: 1122

Re: Nothing is being sent to the app

looks like I might need to implement a virtual keyboard and mouse to make the game think the actions are coming in from an actual keyboard and mouse... This may be of interest https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/829c1ba5-fde8-420b-9424-482e2835cbc6/virtual-keyboard-device?f...
by icuurd12b42
09 Mar 2018, 22:32
Forum: Gaming Help (v1)
Topic: Nothing is being sent to the app
Replies: 5
Views: 1122

Re: Nothing is being sent to the app

Here's some test code to demonstrate

Code: Select all

#NoEnv
#InstallKeybdHook
#InstallMouseHook
#UseHook On
#Persistent
SendMode Input

a::
Send, b
In every app typing aaaa gives bbbb
In the game it's aaaa
by icuurd12b42
09 Mar 2018, 21:00
Forum: Gaming Help (v1)
Topic: Nothing is being sent to the app
Replies: 5
Views: 1122

Nothing is being sent to the app

I have a set of scripts for this game,simple voice recognition tacked to sending the game's keystroke equivalent to my request... It worked well for a year but since the new game patch, nothing is going through, no keystrokes, no (regular) mouse movement, no mouse_event dll calls, playing a sound wo...
by icuurd12b42
05 Mar 2018, 03:56
Forum: Scripts and Functions (v1)
Topic: Syntax Highlighting Edit Box
Replies: 8
Views: 2443

Re: Syntax Highlighting Edit Box

You can define your own language. I got Javascript 3.0 defined along with a mix of other things in the test files. you can take a peek at the .lng files. > did you write the dll yourself? Yes, after I gave up trying to find a highlighter that was easy to use, g33k link excluded, I decided to brush u...
by icuurd12b42
04 Mar 2018, 07:09
Forum: Scripts and Functions (v1)
Topic: Syntax Highlighting Edit Box
Replies: 8
Views: 2443

Re: Syntax Highlighting Edit Box

darnit why is it always after you search and gave up and work for days one end that something pops up like that. that thing looks well made... but I'm too committed now :)
by icuurd12b42
03 Mar 2018, 15:42
Forum: Scripts and Functions (v1)
Topic: Syntax Highlighting Edit Box
Replies: 8
Views: 2443

Re: Syntax Highlighting Edit Box

Same... and none of these syntax highlighters I found are for "any" language... they usually are language specific or use the .net interface for plugging into your project... which is not usable in AHK.


I still need to test the dll on all the versions of AHK...

Go to advanced search