Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



AutoIT frage

Discussion on AutoIT frage within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
koolsavas1's Avatar
 
elite*gold: 2
Join Date: Oct 2009
Posts: 395
Received Thanks: 54
AutoIT frage

hi ich habe mal mit AutoIT einen browser gemacht klappt auch alles usw aber kann ich irgentwie mache das wenn die seite läd das unten rechts sowas wie ein lade balken kommt der das dann anzeigt?
und kann ich auch im browser das der oben so aussihet also der hinter grund so sollte das dann aussehen
mfg koolsavas1
koolsavas1 is offline  
Thanks
1 User
Old 05/08/2011, 23:01   #2
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,064
Received Thanks: 256
ja und ja^^ kanst misch ja skype adden wen du willst kan dir was zsm basteln oder wir machen zsm^^

oder halt wen du alleine machen wilst
naja also ein richtiges hindergrund bild kriegste mit
Quote:
Guictrlcreatepic(..)
hin

und ein hindergrund mit farbe bekomste so
Quote:
GUISetBkColor(0xFFFFFF)
hin
wen ich geholfen habe thx wen nich add mich^^
★JustKeys★ is offline  
Thanks
1 User
Old 05/09/2011, 18:38   #3
 
koolsavas1's Avatar
 
elite*gold: 2
Join Date: Oct 2009
Posts: 395
Received Thanks: 54
thx aber naja bin autoIT noob ;/ kenne mich noch nicht so gut aus
koolsavas1 is offline  
Thanks
1 User
Old 05/10/2011, 00:05   #4
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,064
Received Thanks: 256
ja is ja nich schlim meine skype addy:kin0streamz
★JustKeys★ is offline  
Old 05/10/2011, 00:08   #5
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Hier ist ein Beispiel mit einem Ladebalken, dass ich aus einem anderem Forum hab.
PHP Code:
#cs ----------------------------------------------------------------------------
    
    
AutoIt Version3.3.6.1
    Author
:                        AutoBert:    http://www...de/index.php?page=Thread&postID=164679#post164679
    
    
Skriptbeispiel für den Umgang mit _IECreateEmbedded_IEErrorHandlerRegister_IENavigate_IEAction GuiCtrlCreateProgress_IEPropertyGet
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister()

$oIE _IECreateEmbedded()
$SinkObject ObjEvent($oIE"IEEvent_""DWebBrowserEvents2") ; Ereignisse den UDFs zuweisenbeginnend mit IEEvent_
GUICreate
("Embedded Web control Test"640600_
        
(@DesktopWidth 640) / 2, (@DesktopHeight 580) / 2_
        $WS_OVERLAPPEDWINDOW 
$WS_VISIBLE $WS_CLIPSIBLINGS $WS_CLIPCHILDREN)
$hInput GUICtrlCreateInput("Hier URL eingeben: "1010500)
$hGo GUICtrlCreateButton("&Go"5201050)
$GUIActiveX GUICtrlCreateObj($oIE040640480)
GUICtrlSetResizing($GUIActiveX$GUI_DOCKAUTO)
$GUI_Button_Back GUICtrlCreateButton("Back"1052510022)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)
$GUI_Button_Forward GUICtrlCreateButton("Forward"12052510022)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)
$GUI_Button_Home GUICtrlCreateButton("Home"23052510022)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)
$GUI_Button_Stop GUICtrlCreateButton("Stop"34052510022)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)
$GUI_Button_Print GUICtrlCreateButton("PRINT"45052510022)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)
$idProgress GUICtrlCreateProgress(055564018)
GUICtrlSetResizing(-1$GUI_DOCKSTATEBAR)

GUISetState() ;Show GUI

_IENavigate
($oIE"http://www.....de/index.php?page=Thread&postID=164679#post164679")

Waiting for user to close the window
While 1
    $msg 
GUIGetMsg()
    
Select
        
Case $msg $GUI_EVENT_CLOSE
            ExitLoop
        
Case $msg $hGo
            _IENavigate
($oIEGUICtrlRead($hInput))
        Case 
$msg $GUI_Button_Home
            _IENavigate
($oIE"http://www.....com")
        Case 
$msg $GUI_Button_Back
            _IEAction
($oIE"back")
        Case 
$msg $GUI_Button_Forward
            _IEAction
($oIE"forward")
        Case 
$msg $GUI_Button_Stop
            _IEAction
($oIE"stop")
        Case 
$msg $GUI_Button_Print
            _IEAction
($oIE"print")
    
EndSelect
    $surl1 
_IEPropertyGet($oIE"locationurl")
    
$surl2 GUICtrlRead($hInput)
    ;        
ConsoleWrite($surl1 " " $surl2 " " GUICtrlRead($idProgress) & @CRLF)
    If 
$surl1 <> $surl2 And GUICtrlRead($idProgress) > 90 Then GUICtrlSetData($hInput$surl1)
WEnd


$SinkObject 
IE Eventzuweisung aufheben
$oIE
.Quit IE beenden
$oIE 
0
GUIDelete
()
Exit

Func IEEvent_ProgressChange($Progress$ProgressMax)
    
$percent Int(($Progress 100) / $ProgressMax)
    If 
$percent >= And $percent <= 100 Then GUICtrlSetData($idProgress$percent)
EndFunc   ;==>IEEvent_ProgressChange 
BlackHybrid is offline  
Thanks
1 User
Old 05/10/2011, 00:23   #6
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,064
Received Thanks: 256
habs mal versucht der ladebalken rührt sich nich bei mir^^
★JustKeys★ is offline  
Old 05/10/2011, 10:53   #7
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Also bei mir bewegt er sin weis ja nicht was du falsch machst.
BlackHybrid is offline  
Old 05/10/2011, 12:55   #8
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,064
Received Thanks: 256
haha ne eig mach ich nichts falsch egal^^
★JustKeys★ is offline  
Old 05/10/2011, 13:25   #9
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Oben was in die leiste was eingegeben und go gedrückt?
BlackHybrid is offline  
Old 05/10/2011, 14:43   #10
 
elite*gold: 0
Join Date: Dec 2010
Posts: 3,064
Received Thanks: 256
xDD ja^^ woltem eig edit jz klapps hab ausversehn meins gestartet xD da war der fehler^^
★JustKeys★ is offline  
Old 05/10/2011, 16:18   #11
 
koolsavas1's Avatar
 
elite*gold: 2
Join Date: Oct 2009
Posts: 395
Received Thanks: 54
ja son ladebalken habe ich gesucht nur soll der sich wenn die seite fertig geladen ist auch wieder verschwinden.Und kann mir einer den code vllt so posten? bekommt auch nen thx ;D
koolsavas1 is offline  
Old 05/13/2011, 16:58   #12

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
Adroxxx is offline  
Closed Thread




All times are GMT +2. The time now is 16:59.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.