Ja bei mir kommt auch eine leere MsgBox !!
Weiß jemand warum? ![]()
Beiträge von Chris
-
-
Lade ScITE von hier: http://www.autoitscript.com/autoit3/scite/downloads.shtml
Download die erste Zeile wo steht:
SciTE4AutoIt3.exe
(4375Kb) -
Warum geht das nicht?
[autoit]#include <GUIConstants.au3>
[/autoit][autoit][/autoit][autoit]
#include "GuiRichEdit.au3"
$gui = GUICreate("",500,500)
$rich_edit = _GUICtrlRichEdit_Create($gui,20,20, 200, 200,0,15)
$text = _GUICtrlRichEdit_SetText($rich_edit,"hallo bist du online?")_GUICtrlRichEdit_SetFontName($text,"Comic Sans MS")
[/autoit][autoit][/autoit][autoit][/autoit][autoit]
_GUICtrlRichEdit_SetFontColor($text,0x6666FF)GUISetState (@SW_SHOW)
[/autoit][autoit][/autoit][autoit]While 1
[/autoit]
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend -
Im autoit.de Forum find ich nix!
Auch die Suche findet nichts!
-
Hall Autoit-Community,
Wie kann man in einem GuiCtrCreateEdit() verschiedene Farben machen?
also z.b wenn das das Edit ist:
_____________________________
| Ich bin Gelb |
| Ich bin rot |
| Ich bin grün |
| Ich bin Lila |
| Schwarz |
_____________________________
Ich hoffe ihr versteht was ich meine!Danke im Vorraus!
mfg FireTiger
-
Poste doch mal ein Beispiel!

-
Ich meinte nicht so, sondern das auch wirklich
Send(""{ENTER}"") Send(""{SPACE}"") also Enter und Leertaste gesendet werden! -
Hi Community,
Ich will z.b. vom folgendem Text, alle Leerzeichen in ein Send("{SPACE}") und alle leeren ganten Zeilen in Send("{ENTER}") umwandeln!
Und an einem Zeilen Ende soll auch Send("{ENTER}") gemacht werden!Codeööö fff ööö fff ööö fff ööö fff ööö fff ööö fff ööö fff ööö asd dsa asd dsa asd dsa asd dsa asd dsa asd dsa asd dsa asd fff jjj fff jjj fff jjj fff jjj fff jjj fff jjj fff jjj fff fjf jfj fjf jfj fjf jfj fjf jfj fjf jfj fjf jfj fjf jfj fjf ddd kkk ddd kkk ddd kkk ddd kkk ddd kkk ddd kkk ddd kkk ddd dkd kdk dkd kdk dkd kdk dkd kdk dkd kdk dkd kdk dkd kdk dkd
Ich hoffe ihr habt mein Problem verstanden!
Ich glaube das das sehr schwer ist, deshalb poste ich es ja hier!
L.G. FireTiger
-
Wie kann ich in ein Input den Cursor setzen?
Ich hoffe es kann mir jemand helfen!
-
Ja schon, nur bei mir funktionieren z.b $ES_CENTER nicht!
Es kommt immer die Fehlermeldung: "Error: Variable used without declared"
Meine GuiConstantsEx.au3 da fehlt z.b. $ES_CENTER:Spoiler anzeigen
[autoit]#include-once
[/autoit] [autoit][/autoit] [autoit]; ------------------------------------------------------------------------------
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
;
; AutoIt Version: 3.2
; Description: Constants to be used in GUI applications.
;
; ------------------------------------------------------------------------------; Events and messages
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_EVENT_CLOSE = -3
Global Const $GUI_EVENT_MINIMIZE = -4
Global Const $GUI_EVENT_RESTORE = -5
Global Const $GUI_EVENT_MAXIMIZE = -6
Global Const $GUI_EVENT_PRIMARYDOWN = -7
Global Const $GUI_EVENT_PRIMARYUP = -8
Global Const $GUI_EVENT_SECONDARYDOWN = -9
Global Const $GUI_EVENT_SECONDARYUP = -10
Global Const $GUI_EVENT_MOUSEMOVE = -11
Global Const $GUI_EVENT_RESIZED = -12
Global Const $GUI_EVENT_DROPPED = -13Global Const $GUI_RUNDEFMSG = 'GUI_RUNDEFMSG'
[/autoit] [autoit][/autoit] [autoit]; State
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_AVISTOP = 0
Global Const $GUI_AVISTART = 1
Global Const $GUI_AVICLOSE = 2Global Const $GUI_CHECKED = 1
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_INDETERMINATE = 2
Global Const $GUI_UNCHECKED = 4Global Const $GUI_DROPACCEPTED = 8
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_NODROPACCEPTED = 4096
Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED ; to be suppressedGlobal Const $GUI_SHOW = 16
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_HIDE = 32
Global Const $GUI_ENABLE = 64
Global Const $GUI_DISABLE = 128Global Const $GUI_FOCUS = 256
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_NOFOCUS = 8192
Global Const $GUI_DEFBUTTON = 512Global Const $GUI_EXPAND = 1024
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_ONTOP = 2048; Font
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_FONTITALIC = 2
Global Const $GUI_FONTUNDER = 4
Global Const $GUI_FONTSTRIKE = 8; Resizing
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_DOCKAUTO = 0x0001
Global Const $GUI_DOCKLEFT = 0x0002
Global Const $GUI_DOCKRIGHT = 0x0004
Global Const $GUI_DOCKHCENTER = 0x0008
Global Const $GUI_DOCKTOP = 0x0020
Global Const $GUI_DOCKBOTTOM = 0x0040
Global Const $GUI_DOCKVCENTER = 0x0080
Global Const $GUI_DOCKWIDTH = 0x0100
Global Const $GUI_DOCKHEIGHT = 0x0200Global Const $GUI_DOCKSIZE = 0x0300 ; width+height
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_DOCKMENUBAR = 0x0220 ; top+height
Global Const $GUI_DOCKSTATEBAR = 0x0240 ; bottom+height
Global Const $GUI_DOCKALL = 0x0322 ; left+top+width+height
Global Const $GUI_DOCKBORDERS = 0x0066 ; left+top+right+bottom; Graphic
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_GR_CLOSE = 1
Global Const $GUI_GR_LINE = 2
Global Const $GUI_GR_BEZIER = 4
Global Const $GUI_GR_MOVE = 6
Global Const $GUI_GR_COLOR = 8
Global Const $GUI_GR_RECT = 10
Global Const $GUI_GR_ELLIPSE = 12
Global Const $GUI_GR_PIE = 14
Global Const $GUI_GR_DOT = 16
Global Const $GUI_GR_PIXEL = 18
Global Const $GUI_GR_HINT = 20
Global Const $GUI_GR_REFRESH = 22
Global Const $GUI_GR_PENSIZE = 24
Global Const $GUI_GR_NOBKCOLOR = -2; Background color special flags
[/autoit] [autoit][/autoit] [autoit]
Global Const $GUI_BKCOLOR_DEFAULT = -1
Global Const $GUI_BKCOLOR_TRANSPARENT = -2
Global Const $GUI_BKCOLOR_LV_ALTERNATE = 0xFE000000; Other
[/autoit]
Global Const $GUI_WS_EX_PARENTDRAG = 0x00100000
Kann mir mal jemand seine GuiConstantsEx.au3 posten?
-
-
Ich hab's jetzt so, aber jetzt kann man nicht mehr mir der eingabetaste in die neie Zeile springen!
[autoit]
Was muss man machen, dass das geht?$text= GUICtrlCreateEdit("Hier kommt der Text hin!",10,80,400,180,0x00200000)
[/autoit] -
Wie bekomme ich den horizontale Scrollbaken von einem GuiCtrlCreateEdit weg!
Die vertikale soll aber noch da bleiben!
Hab schon alles versucht!
-
-
Hi Autoit Community,
Wie kann man prüfen ob eine Variable exestier?

-
Es funktioniert einfach nicht! Ich muss es irgendwie ander lösen!
Wie kann man noch ein animiertes GIF einlesen?
-Ich finde leider keine andere möglchkeit :wacko: -
Geht nicht!
[autoit]
So heißt die Func jetzt:Func _GUICtrlCreateGIF($gif,$x=0,$y=0,$border=0)
[/autoit]
Local $pwidth,$pheight,$oIE,$GUIActiveX
_GetGifPixWidth_Height($gif, $pwidth, $pheight)
$oIE = ObjCreate("Shell.Explorer.2")
$GUIActiveX = GUICtrlCreateObj($oIE, $x, $y, $pwidth, $pheight)
$oIE.navigate ("about:blank")
While _IEPropertyGet($oIE, "busy")
Sleep(100)
WEnd
$oIE.document.body.background = $gif
$oIE.document.body.scroll = "no"
if $border=0 then $oIE.document.body.style.border = "0px"
SetExtended($GUIActiveX)
Return $oIE
EndFunc
[autoit]
und mein code:$oIE = _GUICTRLSTOPGIF("loader.gif")
[/autoit]
$GUIIE = @extendedEs geht aber leider nicht!

-
So wie es aussieht gez wohl nicht!

-
UP's ich meinte diese Function:
[autoit]Func _GUICtrlCreateGIF($gif,$x=0,$y=0,$border=0)
[/autoit]
Local $pwidth,$pheight,$oIE,$GUIActiveX
_GetGifPixWidth_Height($gif, $pwidth, $pheight)
$oIE = ObjCreate("Shell.Explorer.2")
$GUIActiveX = GUICtrlCreateObj($oIE, $x, $y, $pwidth, $pheight)
$oIE.navigate ("about:blank")
While _IEPropertyGet($oIE, "busy")
Sleep(100)
WEnd
$oIE.document.body.background = $gif
$oIE.document.body.scroll = "no"
if $border=0 then $oIE.document.body.style.border = "0px"
Return $oIE
EndFunc
Wie kann ich also das Objekt Shell.Explorer.2 löschen oder unsichtbar machen das es nicht mehr da ist?

-
Du hast ja nicht mal die Variable $Bild definiert!
L.G. FireTiger