AUTOVRX Posted April 25, 2019 Share Posted April 25, 2019 I'm looking for help This is the s.t.a.l.k.e.r sdk level editor I have two windows open Object List and Object Inspector what I need is a macro or batch script to write to a txt file. name, position, rotation, scale for each object in the Object List Object Inspector updates when selecting a scene object. I run Au3Info.exe The only time I could retrieve visible text is when I open The XYZ value edit window. (This Is for the X Spinner) Class: TMultiObjSpinEdit Instance: 3 ClassnameNN: TMultiObjSpinEdit3 Name: Advanced (Class): [CLASS:TMultiObjSpinEdit; INSTANCE:3] (This Is for the Y Spinner) ClassnameNN: TMultiObjSpinEdit2 Name: Advanced (Class): [CLASS:TMultiObjSpinEdit; INSTANCE:2] (This Is for the Z Spinner) ClassnameNN: TMultiObjSpinEdit1 Name: Advanced (Class): [CLASS:TMultiObjSpinEdit; INSTANCE:1] Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted April 25, 2019 Share Posted April 25, 2019 Hi @AUTOVRX, and welcome to the Autoit forums Use File* and/or _File* functions to interact with files, and Control* functions to interact with the controls on your application. Always remember to post your script here, since we can't help you without it. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
AUTOVRX Posted April 25, 2019 Author Share Posted April 25, 2019 Hi so far I've not got any script code, I'm new to all this, still trying to figure out I need to start at the beginning and work forward. First thing I need is to get the name from Object list It has visible text how levels\pripyat\pripyat_lod0000_0039 I've been looking around for something I could modify https://www.autoitscript.com/autoit3/docs/functions/ControlGetHandle.htm >>>> Window <<<< Title: Object List Class: TfrmObjectList Position: 0, 7 Size: 468, 780 Style: 0x16CF0000 ExStyle: 0x00010108 Handle: 0x00090666 >>>> Control <<<< Class: TElTreeView Instance: 1 ClassnameNN: TElTreeView1 Name: Advanced (Class): [CLASS:TElTreeView; INSTANCE:1] ID: 722164 Text: Position: 1, 1 Size: 336, 715 ControlClick Coords: 190, 414 Style: 0x54010000 ExStyle: 0x00000000 Handle: 0x000B04F4 >>>> Visible Text <<<< levels\pripyat\pripyat_lod0000_0039 Show options Invisible Only Visible Only All Link to comment Share on other sites More sharing options...
Developers Jos Posted April 25, 2019 Developers Share Posted April 25, 2019 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts