Search found 194 matches

by gwarble
04 Aug 2017, 15:50
Forum: Scripts and Functions
Topic: [class][v1/v2] taskbar ornaments and controls
Replies: 15
Views: 517

Re: [class][v1/v2] taskbar ornaments and controls

very nice, thanks for sharing
by gwarble
04 Aug 2017, 15:41
Forum: Scripts and Functions
Topic: GUIs via DllCall: MsgBox
Replies: 11
Views: 692

Re: GUIs via DllCall: MsgBox

Thanks for sharing... I have a need to create windows of different class names for EitherMouse... basically I want to add the system window shadow attribute to my normal gui windows (done successfully with ShadowEnabled := DllCall("SetClassLong", "uint", WinExist(), &...
by gwarble
28 Jul 2017, 11:05
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

Edits noted, thanks again!

Its good that its at least reporting in ResHack the same as a cursor added thru itself, but I wouldn't worry about the color depth showing wrong since when used you can clearly see the cursor has more than 2 colors
by gwarble
27 Jul 2017, 19:45
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

Totally kludged together and its working... after two years i have a way (proof of concept at least) to build new EitherMouse binaries on new releases of AHK without using ResourceHacker! Very cool Still need to make sense of it all to wrap it into a nice library for general PE cursor resource manag...
by gwarble
27 Jul 2017, 18:21
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

nice! thanks for the links and code example... it was successful on my end as well... It also made apparent a bug in ResHack, as inspecting the data after adding it reports as a 1 color cursor... and the previous ones i've added in ResHack itself say 2 colors, even though the cursor is really 32 bit...
by gwarble
27 Jul 2017, 15:16
Forum: Ask For Help
Topic: Play sounds simultaneously?
Replies: 3
Views: 83

Re: Play sounds simultaneously?

i think this will work for you, but I didn't test it:

Code: [Select all]GeSHi © Codebox Plus

FileRead,Sound,*c chimes.wav
PlaySoundAsync(Sound)

PlaySoundAsync( ByRef Sound ) {
Return DllCall( "winmm.dll\PlaySound" ( A_IsUnicode ? "W" : "A" ), UInt,&Sound, UInt,0, UInt, 0x7 )
}
by gwarble
25 Jul 2017, 17:45
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

Alright this seems to get rid of the ERROR_RESOURCE_TYPE_NOT_FOUND error, but my MaxIndex is still 0... It does successfully add the Cursor resource item(s) depending on how many are in the .cur file, and adds the Cursor Group resource item, but the data is wrong for the color depth/resolution: 1233...
by gwarble
25 Jul 2017, 14:22
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

Sweet, thanks Helgef!
You're right, it seems I'm not enumerating them properly and MaxIndex() is always an empty string... hmm
I will experiment further with this bit of info, thanks
by gwarble
24 Jul 2017, 19:12
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 952

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

Bumping this up in case any new viewers can help me out with this... I think most if not all resource types can now be read to and written from Exe's and Dll's with AHK except cursors. I would greatly appreciate any advice, tips, solutions, links, etc to help me understand what I'm missing to accomp...
by gwarble
25 Jun 2017, 12:32
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.67 - Multiple mice, individual settings...

You're welcome, i'm glad you use it
I posted in that help thread, but the solution is not trivial... Someday i'll add it to Notify()
by gwarble
25 Jun 2017, 08:03
Forum: Ask For Help
Topic: Notify() - Move all open Notifications down on close Topic is solved
Replies: 1
Views: 88

Re: Notify() - Move all open Notifications down on close Topic is solved

Its probably easier to modify Notify() to do it, but to do it script-side you would have to: Keep track of the gui numbers when creating Notify()s (return value) also compute the shadow's gui number (probably gui number + 25) when one is closed (click, timeout, X...), check the location and height o...
by gwarble
14 Jun 2017, 08:05
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.67 - Multiple mice, individual settings...

@Notify thanks @multiple simultaneous cursors Nice example, and well worded... No matter what, the "solution" to using multiple mice at the same time will always just be an illusion , which is exactly the reason I haven't tried to push this functionality into EitherMouse. Its fun to play a...
by gwarble
13 Jun 2017, 19:15
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.67 - Multiple mice, individual settings...

On a related note: could you upload your Notify() code and documentation to your website again now? The code + docs are now hard for find as the old forum is horrible and the links there to your Notify pages are 404-ing (last time I checked anyway). here you go: https://gwarble.com/ahk/Notify/ http...
by gwarble
13 Jun 2017, 12:00
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.67 - Multiple mice, individual settings...

Yeah that was very awesome of him!

Thanks for the reminder... I will get the last version and (admittedly poor) documentation of Notify() back up tonight, and put creating a new thread for it on this forum higher on my to do list
- Joel
by gwarble
13 Jun 2017, 11:51
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.67 - Multiple mice, individual settings...

On another note, with many thanks to very generous user Tyler, I'm happy to report that EitherMouse.com now has a real web host, not my home server, so speeds are incredibly fast, SSL certificate, all kinds of features I don't know what to do with but I'll probably design a modern site at some point...
by gwarble
13 Jun 2017, 11:47
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.64 - Multiple mice, individual settings...

Thanks for the info and good job. I was able to get the same functionality using info from JGR's thread on the old forum: https://autohotkey.com/board/topic/17820-wineventhook-example/ and a process-injected hook DLL (low level keyboard and mouse hook via dll injection). It looks like some of the in...
by gwarble
16 May 2017, 19:14
Forum: Ask For Help
Topic: How many string elements in an object is practical before a text file to read and write from is more effecient? Topic is solved
Replies: 2
Views: 78

Re: How many string elements in an object is practical before a text file to read and write from is more effecient? Topic is solved

I would say, only use disk access when RAM usage is large enough to affect other parts of your system. A few hundred strings isn't much at all to keep in variables. A few million maybe... Force some ineffeciencies into your script (ie for each process, process it ten times with ten variables or some...
by gwarble
04 May 2017, 17:42
Forum: Scripts and Functions
Topic: My abandoned GUI creator
Replies: 5
Views: 1004

Re: My abandoned GUI creator

very well done, thanks for sharing
by gwarble
12 Apr 2017, 21:25
Forum: Scripts and Functions
Topic: EitherMouse 0.68 - Multiple mice, individual settings...
Replies: 182
Views: 33324

Re: EitherMouse 0.64 - Multiple mice, individual settings...

Thanks Its hard to say if its the "unifying" receiver or the VirtualBox environment, but my guess is if you check the device manager (run devmgmt.msc) you will only have one mouse device... If that's the case EitherMouse won't be able to distinguish the different mouse being used If you tr...

Go to advanced search