 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
xx3nvyxx
Joined: 05 Sep 2005 Posts: 93 Location: Down the hall, on your left.
|
Posted: Tue Oct 11, 2005 1:39 am Post subject: ahk to c++ ? |
|
|
Ok. I just thought i'd ask. Is there a way to get my ahk script into C? The reason I ask is, I have been working with AHK for a few months now and my friend in C for the same ammount of time. I make easy progress (because AHK is easier ) and he get's pissed that i have just made a gui. Now, If i could make my script into C, he would be able to learn from it, and he wouldn't get so pissed.
P.S. It's not that he gets pissed per se just that he wishes he could do the same . _________________ Now the world has gone to bed,
Darkness won't engulf my head,
I can see by infra-red,
How I hate the night.
Now I lay me down to sleep,
Try to count electric sheep,
Sweet dream wishes you can keep,
How I hate the night. |
|
| Back to top |
|
 |
aarondellis
Joined: 15 Aug 2005 Posts: 57
|
Posted: Tue Oct 11, 2005 1:47 am Post subject: |
|
|
| Tell your friend to use AHK! |
|
| Back to top |
|
 |
Dewi Morgan
Joined: 03 Oct 2005 Posts: 186
|
Posted: Tue Oct 11, 2005 3:42 pm Post subject: |
|
|
Nobody has written such a tool, so far as I know, though I'm a newbie, so may be wrong :) However, it SHOULD be possible, since C's abilities are a superset of AHK's.
Probably the best solution for your friend would be to take the AHK manual, and his Windows programmer's reference tomes, and see how to duplicate each function of AHK into C. Some of them are trivial, others would require a great deal of research, which would nontheless be very worthwhile for him to understand windows programming in C.
He could then easily write an ahk-to-C script himself. Even if he didn't, he would have a library of easy-to-use C functions that would do the same things. _________________ Yet another hotkeyer. |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 633
|
Posted: Wed Oct 12, 2005 6:44 am Post subject: |
|
|
Another way would be to create an ahk-programm which communicates per parameters with the C-Source, which would allow him to use many functions of ahk.
I didn't try what's possible, but I think with some work one time he would get nearly full access to ahk...
I will try to create a little programm to create a little GUI from external programm..
Thalon |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|