On Friday, 14 November 2014 at 03:51:17 UTC, Adam D. Ruppe wrote:
On Friday, 14 November 2014 at 02:08:22 UTC, Casey wrote:
Well, I edited the code to add the chat button, and as I
feared it didn't recignise it in game. However, if I manually
press the chat button it'll work fine
What exactl
On Friday, 14 November 2014 at 02:08:22 UTC, Casey wrote:
Well, I edited the code to add the chat button, and as I feared
it didn't recignise it in game. However, if I manually press
the chat button it'll work fine
What exactly happened there?
1)What part of this do I need to keep when addin
Aha! I found a sleep command.
On this page here:
http://forum.dlang.org/thread/diuepu$2ebg$1...@digitaldaemon.com
Looks like I'd do something like this
[code]
import std.c.time
msleep(1)
[/code]
Now I'm looking into if there's a way to send a key down, and
then up. I don't think this will
Well, I edited the code to add the chat button, and as I feared
it didn't recignise it in game. However, if I manually press the
chat button it'll work fine, so all I need to do is add that
delay in, then fine tune it to add all of the different messages
I need now.
1)What part of this do I
On Thursday, 13 November 2014 at 23:59:59 UTC, Casey wrote:
On Thursday, 13 November 2014 at 23:54:13 UTC, Casey wrote:
All on the same line... That makes a lot more sense. Sorry, I
probably just didn't understand what you meant. I'll do that
now and see if I can't get this working. Then I'l
On Thursday, 13 November 2014 at 23:54:13 UTC, Casey wrote:
D:\Documents\Other\Hotkeys\D>dmd Keybinds.d simpledisplay.d
color.d
Keybinds.d(11): Error: undefined identifier KEYEVENTF_UNICODE
That should have been on the last line of the file, maybe it just
got cut off in the copying process.
On Thursday, 13 November 2014 at 23:54:13 UTC, Casey wrote:
All on the same line... That makes a lot more sense. Sorry, I
probably just didn't understand what you meant. I'll do that
now and see if I can't get this working. Then I'll try to get
it working in a game. I think I'll have to com
All on the same line... That makes a lot more sense. Sorry, I
probably just didn't understand what you meant. I'll do that now
and see if I can't get this working. Then I'll try to get it
working in a game. I think I'll have to come up with something
to add a delay in between the chat key d
I just reorganized the code adding that stuff to simpledisplay.d.
I think you should still understand the implementation code so
you can customize it, but the main thing should look simpler now:
// same command to compile as before:
// dmd hotkey.d simpledisplay.d color.d -L/SUBSYSTEM:WINDOWS:5
Maybe a screenshot might help?
https://ooymza.dm2301.livefilestore.com/y2mt_9Z73WLi-1zso3LEjdCiC1x-GQzpjlaaftIFJ2Q0cHX2jd9vvwmVldHj1qRROER9IjiA1WwTzln5zveB9ZKZMrb1eeYNUgbzWQJlztqFAvQroAYm0k7_M4fuU3-XzAL/DMD.png
On Thursday, 13 November 2014 at 22:28:43 UTC, Israel wrote:
On Thursday, 13 November 2014 at 22:20:58 UTC, Casey wrote:
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote:
On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe
wrote:
On Thursday, 13 November 2014 at 07:01:08 UTC,
On Thursday, 13 November 2014 at 22:35:56 UTC, Casey wrote:
Ok so I ran that, and it sends me the error that Windows can't
Once you cd to the folder, it becomes pretty simple, just do:
dmd hotkey.d simpledisplay.d color.d
all three files on one line - that's important because otherwise
it wo
I also just now got it to CD to the right directory. I had a
suspicion it was having an issue with the second drive, and it
was. Just had to type D: and it did the rest.
All right, let's go through each line here too.
On Thursday, 13 November 2014 at 15:59:11 UTC, Adam D. Ruppe
wrote:
void sendString(wstring s) {
This function generates key press and key release events for each
character in the string, making it a bit more convenient to use
than the under
On Thursday, 13 November 2014 at 22:20:58 UTC, Casey wrote:
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote:
On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe
wrote:
On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki
Cattermole wrote:
I did find this [0]. I don't know wh
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote:
On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe
wrote:
On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki
Cattermole wrote:
I did find this [0]. I don't know what state its in for
compilating/running ext. But it might gi
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote:
On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe
wrote:
On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki
Cattermole wrote:
I did find this [0]. I don't know what state its in for
compilating/running ext. But it might gi
On Thursday, 13 November 2014 at 21:56:48 UTC, Casey wrote:
1) Which compiler should I use?
I use the digital mars D. It is pretty easy from the command
line, you put the code files in a directory then pop open a cmd
prompt in that folder. If the compiler is installed, you should
be able to
On Thursday, 13 November 2014 at 16:04:43 UTC, Adam D. Ruppe
wrote:
On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki Cattermole
wrote:
I did find this [0]. I don't know what state its in for
compilating/running ext. But it might give you a good starting
point.
[0] https://github.com/pytho
Argh some of the lines got split and broken on the email.
to compile:
dmd hotkey.d simpledisplay.d color.d -L/SUBSYSTEM:WINDOWS:5.0
should all be on one line.
Here's the code to compile:
http://arsdnet.net/dcode/hotkey.d
Still read the last message though, the lines got split but I
added so
On Thursday, 13 November 2014 at 07:01:08 UTC, Rikki Cattermole
wrote:
I did find this [0]. I don't know what state its in for
compilating/running ext. But it might give you a good starting
point.
[0] https://github.com/pythoneer/XInputSimulator
ooh there's some nice code for Linux in there!
I wrote a program to get you started. It needs simpledisplay.d
and color.d from my github https://github.com/adamdruppe/arsd
Just download those two files and put them in your folder along
with the following contents as hotkey.d and you should get
started.
I tested on Windows 7 to hotkey typ
On 13/11/2014 7:18 p.m., Casey wrote:
On Thursday, 13 November 2014 at 02:58:02 UTC, Rikki Cattermole
wrote:
On 13/11/2014 3:45 p.m., Israel wrote:
On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole
wrote:
On 13/11/2014 2:37 p.m., Casey wrote:
On Thursday, 13 November 2014 at 01:
On Thursday, 13 November 2014 at 02:58:02 UTC, Rikki Cattermole
wrote:
On 13/11/2014 3:45 p.m., Israel wrote:
On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole
wrote:
On 13/11/2014 2:37 p.m., Casey wrote:
On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
On Wednesday,
On Thursday, 13 November 2014 at 02:45:34 UTC, Israel wrote:
Do you have plans for making win32 bindings for the sendkeys?
I'm pretty sure it just calls this function:
http://msdn.microsoft.com/en-us/library/ms646310%28v=vs.85%29.aspx
with appropriate input prepared.
As to listen to keyboard
On 13/11/2014 3:45 p.m., Israel wrote:
On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole
wrote:
On 13/11/2014 2:37 p.m., Casey wrote:
On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
I'll look into that,
On Thursday, 13 November 2014 at 02:00:11 UTC, Rikki Cattermole
wrote:
On 13/11/2014 2:37 p.m., Casey wrote:
On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
I'll look into that, it seems as it might work. If D would
On 13/11/2014 2:37 p.m., Casey wrote:
On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
I'll look into that, it seems as it might work. If D would be too
hard to get working, what would you recommend? I would assume Pty
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
I'll look into that, it seems as it might work. If D would be
too hard to get working, what would you recommend? I would
assume Ptyhon or C++ would be good choices, any chance you can
recommend a forum for these or something? It
On Thursday, 13 November 2014 at 01:35:28 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 23:40:09 UTC, Casey wrote:
I'll look into that, it seems as it might work. If D would be
too hard to get working, what would you recommend? I would
assume Ptyhon or C++ would be good choices, any
On Wednesday, 12 November 2014 at 23:35:33 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 19:43:49 UTC, Casey wrote:
On Wednesday, 12 November 2014 at 19:29:26 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote:
also, you came to the right place. PB is extreme
On Wednesday, 12 November 2014 at 19:43:49 UTC, Casey wrote:
On Wednesday, 12 November 2014 at 19:29:26 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote:
also, you came to the right place. PB is extremely paranoid and
even more so about autohokey, so if you program
On Wednesday, 12 November 2014 at 19:29:26 UTC, Israel wrote:
On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote:
also, you came to the right place. PB is extremely paranoid and
even more so about autohokey, so if you program your own native
macro, its not very likely it will catch it.
On Wednesday, 12 November 2014 at 08:02:06 UTC, ketmar via
Digitalmars-d-learn wrote:
On Wed, 12 Nov 2014 04:56:39 +
Casey via Digitalmars-d-learn
wrote:
D has nothing to do with your task, WinAPI does. and you'll
need alot
of expirience in reverse engineering, 'cause f... punkbuster
sh
On Wednesday, 12 November 2014 at 08:02:06 UTC, ketmar via
Digitalmars-d-learn wrote:
On Wed, 12 Nov 2014 04:56:39 +
Casey via Digitalmars-d-learn
wrote:
D has nothing to do with your task, WinAPI does. and you'll
need alot
of expirience in reverse engineering, 'cause f... punkbuster
sh
On Wednesday, 12 November 2014 at 04:56:40 UTC, Casey wrote:
also, you came to the right place. PB is extremely paranoid and
even more so about autohokey, so if you program your own native
macro, its not very likely it will catch it.
On Wed, 12 Nov 2014 04:56:39 +
Casey via Digitalmars-d-learn wrote:
D has nothing to do with your task, WinAPI does. and you'll need alot
of expirience in reverse engineering, 'cause f... punkbuster shits it's
pants almost for anything. it's a rootkit, and very badly written one.
what you hav
/Long/ story short, I want to pretty much make a macro using this
program. I don't really have time to explain in further detail
at the moment, but /no/ macro program out there will do what I'm
trying to do. I want to basically make it so that when I press a
hotkey, it'll send an in game chat
38 matches
Mail list logo