Arestides Posted July 24, 2006 Share Posted July 24, 2006 i am writing a program to Read the msn window as a event i have that down.. i need it so i can have the name of the Msn Changeable ( So its not always like a Set in concrete type thing WinActivate (" IniRead("$ini", "Acess Code", "code", "NotFound") - Conversation") Thats what i have atm.. i want it to be able to Change The first Name part of the Msn Window it be changeable like a Code .. i just need to know how i can get like my code in my ini to be put into that spot so that That part is changeable I wand - Conversation to stay Just the First part before it to be interchangeable VIA The Settings.ini... i cant use $Code because i want it to be Changeable Any help anyone ? i know im a noob but any help would be appriciated Link to comment Share on other sites More sharing options...
Arestides Posted July 24, 2006 Author Share Posted July 24, 2006 ok i have kinda cleaned it up i fixed it to This This SHOULD be what im close to looking for how do i make a Variable work in the WinActivate ? $war_code = IniRead("settings.ini", "code", "war_code", "Necro") While 1 = 1 If WinExists("$war_code - Conversation") Then sleep(2000) WinActivate ("$war_code - Conversation") Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 24, 2006 Share Posted July 24, 2006 (edited) HI, that should be poosible. I would put / read the values into an array and then go through them in a loop. Change this WinActivate ("$war_code - Conversation") into WinActivate ($war_code & "- Conversation") So long, Mega Edited July 24, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Arestides Posted July 24, 2006 Author Share Posted July 24, 2006 i <3 u that worked YAY u Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 24, 2006 Share Posted July 24, 2006 i <3 u that worked YAY uWow, I <3 u! :"> So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now