You are viewing our Forum Archives. To view or take place in current topics click here.
C# Please Help!!!!! Will REP!
Posted:

C# Please Help!!!!! Will REP!Posted:

mfish56
  • Challenger
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
hi im still a bit new to C# and i am now working on a trainer for Portal (game)

and i want to do the following.
i will explain it.

i have a label with a console cmd in it and i want it to press the console key "~" and type the label ONCE! in less than a second!

so it basicly types a label if i press F5. do i need timer/s if so how many and what is the script i could use? if you help me i WILL +rep, thank, and put your name/ttg in the credits (when i release it)(only if u want me too) if this post is still alive (lol portal song) i will post a download link to it!

eg,

"~" "god" "Enter" "~"

also the "god" is a label (without the quotes)

the ""s seperate what i want to happen
~=console cmd key
god=option for trainer
Enter= enter key
~=console again

i hope that makes sense

thanks,
--
mfish56
#2. Posted:
mfish56
  • Challenger
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
cmon please guys!?!?!?
#3. Posted:
ODST_107
  • Resident Elite
Status: Offline
Joined: Oct 07, 201014Year Member
Posts: 247
Reputation Power: 9
Status: Offline
Joined: Oct 07, 201014Year Member
Posts: 247
Reputation Power: 9
Your gonna have to get a handle on the Portal window and use SendKeys to send they keys you want to the program. And if you're trying to make it run in the background while playing portal your gonna have to find a keyboard hook. And no one here will tell you how to make a keyboard hook.
#4. Posted:
Lego
  • New Member
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
ODST_107 wrote Your gonna have to get a handle on the Portal window and use SendKeys to send they keys you want to the program. And if you're trying to make it run in the background while playing portal your gonna have to find a keyboard hook. And no one here will tell you how to make a keyboard hook.


[ Register or Signin to view external links. ]


The keycode for f5 is 74 so

if key == 74 then ....



Best of luck
#5. Posted:
mfish56
  • Challenger
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
what is a key-hook? and why won't anyone teach me how to do it on ttg?
#6. Posted:
Lego
  • New Member
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
Status: Offline
Joined: Aug 21, 201113Year Member
Posts: 28
Reputation Power: 5
mfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?


Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.
#7. Posted:
mfish56
  • Challenger
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Status: Offline
Joined: Jul 28, 201014Year Member
Posts: 167
Reputation Power: 6
Lego wrote
mfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?


Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.



what are the capabilities of them?

also the link u sent me didn't make any sense lol
#8. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
mfish56 wrote
Lego wrote
mfish56 wrote what is a key-hook? and why won't anyone teach me how to do it on ttg?


Keyhooks can be used for good and evil. Sadly more people use them for evil than good. If you are interested Wiki is your friend.



what are the capabilities of them?

also the link u sent me didn't make any sense lol

People use hooks to track what people write into boxes.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.