Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 12th, 2007, 5:12 PM   #1
fruit
Newbie
 
Join Date: Mar 2007
Posts: 2
Rep Power: 0 fruit is on a distinguished road
Binding program! [EASY CODE]

I am currently new to delphi. I have started to create a program I want to use to bind commands for steam games. So far the program looks like this


What I want to do is simple. I want a person to type somthing like Hello World in the "Type Here box"

Then they go up to "bind key" and press a key on their keyboard and it will automatically come up.

Next is a drop down menu called Say commands. (This program is ment for a steam game.) So if someone wanted to shout, whisper etc they would pick.

Then all they do is press Generate and it would generate like this.

This is the full Bind.

bind "key chosen" "say shout Hello world!"

(bind will have to come up in the generater box inorder for it to work with steam.)

Im not sure how to get all of this to work like that. Any kind of help would be great.

Thank you!
fruit is offline   Reply With Quote
Old Mar 12th, 2007, 6:32 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
What does [EASY CODE] mean?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Mar 12th, 2007, 6:43 PM   #3
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 3 physicist is on a distinguished road
you can do this in visual basic. use KeyDown event and set e.KeyCode to equal the key in the textbox that it is binded to. make a string in the end like bind -p say"hello world" and then make a .cfg file so it puts that in console automatically when Counterstrike or other steam games load.
physicist is offline   Reply With Quote
Old Mar 12th, 2007, 8:46 PM   #4
fruit
Newbie
 
Join Date: Mar 2007
Posts: 2
Rep Power: 0 fruit is on a distinguished road
Quote:
Originally Posted by physicist View Post
you can do this in visual basic. use KeyDown event and set e.KeyCode to equal the key in the textbox that it is binded to. make a string in the end like bind -p say"hello world" and then make a .cfg file so it puts that in console automatically when Counterstrike or other steam games load.
Easy code means it should be an easy code...

I have Delphi though..Any idea on how to do it with that?
fruit is offline   Reply With Quote
Old Mar 12th, 2007, 11:03 PM   #5
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 3 physicist is on a distinguished road
hmm...lemme read up on delphi syntax and get back to you
physicist is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
program resulting in an executable. sagedavis C++ 30 Jan 31st, 2007 3:06 PM
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
Creating a program to test a program sixstringartist C 8 Jan 21st, 2006 1:15 PM
Nonsense Name generator program chillster13 C 14 Jun 17th, 2005 2:05 AM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:16 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC