LOGO
General Discussion Undecided where to post - do it here.

Prev Previous Post   Next Post Next
Old 04-06-2007, 10:40 AM   #1
CializCialiscsqw

Join Date
Nov 2005
Posts
395
Senior Member
Default Programming/scripting question
What VB are you talking about? Visual Basic, VBScript or Visual Basic for Applications?

The simplest way I can think of is by using the SendKeys function. I'm not familiar with Civ4, but I think that should work. I did something like that for Civ2 anyway.

Write a program where you can select the game info from a list, say. It will then launch or activate Civ4, and navigate to the correct menu and type in the necessary text by sending keypresses.

I'm not sure how to do it with that program running in the background without actually having to change focus to it while you're pressing the keyboard shortcut.


Another way I can think of is to find the location in memory where Civ4 stores this information and directly write it to memory.
CializCialiscsqw is offline




« Previous Thread | Next Thread »

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

All times are GMT +1. The time now is 06:15 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity