AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ahk to c++ ?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
xx3nvyxx



Joined: 05 Sep 2005
Posts: 86
Location: Down the hall, on your left.

PostPosted: Tue Oct 11, 2005 2:39 am    Post subject: ahk to c++ ? Reply with quote

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 Very Happy) 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 Smile.
_________________
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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
aarondellis



Joined: 15 Aug 2005
Posts: 57

PostPosted: Tue Oct 11, 2005 2:47 am    Post subject: Reply with quote

Tell your friend to use AHK!
Back to top
View user's profile Send private message
Dewi Morgan



Joined: 03 Oct 2005
Posts: 178

PostPosted: Tue Oct 11, 2005 4:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Oct 12, 2005 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group