rageq3 0 Posted August 31, 2007 I have a problems activating a button "open global data" look screenshot code: ... WinMenuSelectItem("Primavera","", "&Open Global Data") what wrong? sorry for my english- it is reason I can not read documentaion Share this post Link to post Share on other sites
chenxu 0 Posted August 31, 2007 Sends a string of characters to a control.ControlSend ( "title", "text", controlID, "string" [, flag] ) Parameterstitle The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. string String of characters to send to the control. flag [optional] Changes how "keys" is processed: flag = 0 (default), Text contains special characters like + to indicate SHIFT and {LEFT} to indicate left arrow. flag = 1, keys are sent raw. Return ValueSuccess: Returns 1. Failure: Returns 0 if window/control is not found. Share this post Link to post Share on other sites
PsaltyDS 42 Posted August 31, 2007 I have a problems activating a button "open global data" look screenshot code: ... WinMenuSelectItem("Primavera","", "&Open Global Data") what wrong? sorry for my english- it is reason I can not read documentaion That doesn't look hard: Opt("WinTitleMatchMode", 4) ControlClick("[CLASS:TfrmWelcome; TITLE:Primavera]", "", "[CLASS:TCUltraButton; INSTANCE:3]") Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
rageq3 0 Posted August 31, 2007 That doesn't look hard: Opt("WinTitleMatchMode", 4) ControlClick("[CLASS:TfrmWelcome; TITLE:Primavera]", "", "[CLASS:TCUltraButton; INSTANCE:3]") nothing happened Share this post Link to post Share on other sites