Lebovski Posted August 30, 2006 Posted August 30, 2006 After $Select=ControlCommand ( "", "", "ComboBox1", "GetCurrentSelection", "" ) MsgBox(4096,"Test",$Select,10) I get only first letter, e.g. instead of "first" I get "f". Have any you idea?
Moderators SmOke_N Posted August 30, 2006 Moderators Posted August 30, 2006 Have any you idea?Yep Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Moderators SmOke_N Posted August 30, 2006 Moderators Posted August 30, 2006 And what is this idea?Ohhhhhhhhhhhhhhhhhhh ... You wanted details My idea is simple.... Ready?1. Welcome to the forums!2. Provide enough information (ie.. Application name / Application language it was written in / AutoInfo text / a working script (other than the issue your having .. preferably just a short version)) to get an answer to your questions your asking... I gave you as much of an answer as I saw a question.... I could give more if there were more to work with. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Lebovski Posted August 30, 2006 Author Posted August 30, 2006 OK.Thank you for your help. I feel good in this forum:) This is brief information: 1.Application Name:Tariff Studio (I can send you this application) 2.Application language: Visual C++ (Visual Studio 6.0) 3.AutoInfo text: >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 541 Y: 92 W: 120 H: 22 Control ID: 1286 ClassNameNN: ComboBox1 Text: Style: 0x56000413 ExStyle: 0x00000000 4.A working script: $Select=ControlCommand ( "", "", "ComboBox1", "GetCurrentSelection", "" ) MsgBox(4096,"Test",$Select,10) I get only first letter, e.g. instead of "first" I get "f". Screenshot in Attachment Thank you.Screen.bmp
Moderators SmOke_N Posted August 30, 2006 Moderators Posted August 30, 2006 Yeah, find a download link for it and I'll have a look... screen shot and the autoInfo information doesn't say much... Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Azu Posted August 30, 2006 Posted August 30, 2006 instead of "first" I get "f".Have any you idea?AutoIt somehow managed to find your report card grades..
Lebovski Posted August 30, 2006 Author Posted August 30, 2006 To SmOke_N: I'm sorry, but this is product of our company.I can send this program to your e-mail, if you want. To Azu: And what I can do with it?
Azu Posted August 30, 2006 Posted August 30, 2006 To SmOke_N:I'm sorry, but this is product of our company.I can send this program to your e-mail, if you want.To Azu:And what I can do with it?Show your parents.
Lebovski Posted August 30, 2006 Author Posted August 30, 2006 >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: Q:\DB\Database.trd - user: Andrey Class: Afx:400000:8:10011:0:40c6d Size: X: -4 Y: -4 W: 1032 H: 748 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Window: X: 622 Y: 143 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0xFFFFFF Dec: 16777215 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 541 Y: 92 W: 120 H: 22 Control ID: 1286 ClassNameNN: ComboBox1 Text: Style: 0x56000413 ExStyle: 0x00000000 >>>>>>>>>>> Status Bar Text <<<<<<<<<<< (1): (2): Ready >>>>>>>>>>> Visible Window Text <<<<<<<<<<< [ Group: A02 - Break Call 12:12 No Conn Fee ] Pricing Plans: A02_01 - Break Call 12:12 No Conn Fee Name : A02_01 - Break Call 12:12 No Conn Fee ? Enable Pricing Plan Inherit From Parent Pricing Plan Pricing Plan Type : ? Parent Pricing Plan : ? Carrier : ? Service Name : to Cellcom Add Delete Tab1 Tab1 List1 Remove Spin1 Action Type : Use Accumulator (System or User) Update Add Action Description : Editing Rating Scheme Name : Special Add Delete Tools OK Cancel Apply Fees From 01/01/1900 to eternity Options... Effective - expiration : Ready Filter : Set Filter none Calls Q:\DB\Database.trd - user: Andrey >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< Use Accumulator ? Set Ranking
Moderators SmOke_N Posted August 30, 2006 Moderators Posted August 30, 2006 Sent you a PM Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Lebovski Posted August 31, 2006 Author Posted August 31, 2006 Sent you a PMI'm sorry. Did you receive my e-mail?
Moderators SmOke_N Posted August 31, 2006 Moderators Posted August 31, 2006 I'm sorry. Did you receive my e-mail?Yes, as I said in the other thread, I'm missing the last part of the DB... the 1.1 something or nother that actually has the controls to work with.Thinking about this... did you try....Opt('WinSearchChildren', 1) before the ControlCommand() call? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Lebovski Posted August 31, 2006 Author Posted August 31, 2006 Yes, as I said in the other thread, I'm missing the last part of the DB... the 1.1 something or nother that actually has the controls to work with.Thinking about this... did you try....Opt('WinSearchChildren', 1) before the ControlCommand() call?Hi, Ron.Thank you for your help.I tried Opt('WinSearchChildren', 1) before the ControlCommand(). Unfortunately it's not working.I don't understand,where you are missing the last part of the DB.I can send you DB again.But it was possible to you open DB In Tariff Studio?How I can help you in it?Thank you again.
GaryFrost Posted August 31, 2006 Posted August 31, 2006 Think it would be a good idea to fill in the title information or partial title to make sure your retrieving from the correct window: Opt("WinTitleMatchMode", 2) $Select=ControlCommand ( "Database.trd - user:", "", "ComboBox1", "GetCurrentSelection", "" ) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Lebovski Posted August 31, 2006 Author Posted August 31, 2006 Think it would be a good idea to fill in the title information or partial title to make sure your retrieving from the correct window: Opt("WinTitleMatchMode", 2) $Select=ControlCommand ( "Database.trd - user:", "", "ComboBox1", "GetCurrentSelection", "" )Same result
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