dufaure2
03-11-2010, 06:50 AM
Hello,
I use is dos batch the cmd : Find /c "think" file.txt
Pease help me to find this command is AMS
Thancks :lol
dufaure2
03-11-2010, 08:00 AM
So i try
getfile = TextFile.ReadToString("AutoPlay\\Docs\\"..Input.GetText("REGATE")..".txt");
test = String.Find(getfile, Application.LoadValue("Ident", "Ident"), 1, false);
result = Dialog.Message("Test", test, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
The variable is ok and result is 307
So want dos it meen "307" ?
...:D
RizlaUK
03-11-2010, 08:34 AM
it means the word 'Ident' was found at position 307 in the file
use String.Mid to retrieve the text at that position :yes
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.