Tweek Posted June 2, 2009 Share Posted June 2, 2009 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Input1 = GUICtrlCreateInput("Willkommen','[color="#FFFF00"]200000000[/color]'); -- ", 32, 56, 81, 21) $Button1 = GUICtrlCreateButton("Button1", 120, 56, 75, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd200000000 Dear user, I did not ask again andhow can I pay the yellow so the change when I click on the button because there still is ^ ^Welcome ',' THE NUMBER When input '); --thanks in advance Link to comment Share on other sites More sharing options...
KaFu Posted June 2, 2009 Share Posted June 2, 2009 Ähh, ich befürchte die Übersetzung ist nicht verständlich. Was willst du? Und den Titel bitte ein wenig eindeutiger, vielleicht "How do I change Color of Label/Button" o.ä.. Gruß OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
oMBRa Posted June 2, 2009 Share Posted June 2, 2009 if you mean to change the text color of the input use this: GUICtrlSetColor($Input1, 0xFFFF00) P.S use a translator, its very hard to understand what you are asking for Link to comment Share on other sites More sharing options...
JackDinn Posted June 2, 2009 Share Posted June 2, 2009 is this a question? Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
Tweek Posted June 2, 2009 Author Share Posted June 2, 2009 Ähh, ich befürchte die Übersetzung ist nicht verständlich. Was willst du? Und den Titel bitte ein wenig eindeutiger, vielleicht "How do I change Color of Label/Button" o.ä..Grußhallo ich bin auch deutsch gut ich wollte die zahlen darin verändern und nich die farbe so das ich wenn z.B 300 anstatt 200000eingebe das halt der code gleich bleibt nur die zahl sich värdnert so das Willkommen',''); -- das noch schreibt aber halt die zahl input die mann schreib .Gurß Link to comment Share on other sites More sharing options...
KaFu Posted June 2, 2009 Share Posted June 2, 2009 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Input1 = GUICtrlCreateInput("200000000", 32, 56, 281, 21) $Input2 = GUICtrlCreateInput("", 32, 86, 281, 21) GUICtrlSetData($Input2,"Willkommen','[color=""#FFFF00""]" & GUICtrlRead($Input1) &"[/color]'); -- ") $Button1 = GUICtrlCreateButton("Change Input 2", 32, 116, 100, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GUICtrlSetData($Input2,"Willkommen','[color=""#FFFF00""]" & GUICtrlRead($Input1) &"[/color]'); -- ") EndSwitch WEnd OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Tweek Posted June 2, 2009 Author Share Posted June 2, 2009 #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Input1 = GUICtrlCreateInput("200000000", 32, 56, 281, 21) $Input2 = GUICtrlCreateInput("", 32, 86, 281, 21) GUICtrlSetData($Input2,"Willkommen','[color=""#FFFF00""]" & GUICtrlRead($Input1) &"[/color]'); -- ") $Button1 = GUICtrlCreateButton("Change Input 2", 32, 116, 100, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GUICtrlSetData($Input2,"Willkommen','[color=""#FFFF00""]" & GUICtrlRead($Input1) &"[/color]'); -- ") EndSwitch WEnd nich so, so das ich ...kuk mal #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Global $Button1, $Button2 $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState (@SW_SHOW, $Form1) HotKeySet ("{F7}", "Start") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ("RoS-Patcher.exe") Case $Button2 Send ("Hallo") EndSwitch WEnd Func Start () ClipPut (GUICtrlRead($Button2)) Send ("Willkommen','200000000'); -- ") Send ("{ENTER}") EndFunc; ==> Start so das wenn ich f7 drücke die zahl verändern kann. Link to comment Share on other sites More sharing options...
Sundance Posted June 2, 2009 Share Posted June 2, 2009 Hallo Tweek, auch wenn die Lösung für dein Problem mit Hilfe deutscher User möglich ist, wäre es trotzdem besser die Konversation auf englisch zu führen. Viele Grüße Sundance Link to comment Share on other sites More sharing options...
Yashied Posted June 2, 2009 Share Posted June 2, 2009 По английски было бы лучше и всем понятнее. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Arterie Posted June 2, 2009 Share Posted June 2, 2009 (edited) Probably like this? With this code you can change the number by pressing "q" expandcollapse popup#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> HotKeySet("q","Zahl") Global $Button1, $Button2 Global $Zahl = 200000000 $Form1 = GUICreate("Form1", 235, 264, 187, 114) $Button1 = GUICtrlCreateButton("Start", 32, 184, 161, 33, $WS_GROUP) $Button2 = GUICtrlCreateButton("Hallo", 32, 144, 161, 33, $WS_GROUP) $Label1 = GUICtrlCreateLabel("Copyright By Tweek", 136, 240, 96, 17) GUISetState (@SW_SHOW, $Form1) HotKeySet ("{F7}", "Start") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Run ("RoS-Patcher.exe") Case $Button2 Send ("Hallo") EndSwitch WEnd Func Start () ClipPut (GUICtrlRead($Button2)) Send ("Willkommen',"& $Zahl &"'); -- ") Send ("{ENTER}") EndFunc; ==> Start Func Zahl() $Zahl = InputBox("Zahl ändern","Neue Zahl eingeben","200000000") EndFunc Edited June 2, 2009 by Arterie Link to comment Share on other sites More sharing options...
James Posted June 2, 2009 Share Posted June 2, 2009 This is not a German forum. Use a translator. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Tweek Posted June 2, 2009 Author Share Posted June 2, 2009 This is not a German forum. Use a translator. So I think so if I've accepted I willne as the input and the number 200000 is easily changed. Link to comment Share on other sites More sharing options...
herewasplato Posted June 2, 2009 Share Posted June 2, 2009 maybe: http://www.german-autoit.de/ [size="1"][font="Arial"].[u].[/u][/font][/size] 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