|
You last visited: Today at 06:37
Advertisement
Tratsch rund um Autoit / Autoit Talk | kleinere Fragen
Discussion on Tratsch rund um Autoit / Autoit Talk | kleinere Fragen within the AutoIt forum part of the Coders Den category.
05/10/2013, 17:01
|
#1216
|
elite*gold: 0
Join Date: Sep 2009
Posts: 1,489
Received Thanks: 1,221
|
Habs grad ausprobiert, du willst also, dass wenn jedes Zeichen, das du eingegeben hast mindestens einmal in dem Namen vorkommt, der Name gesendet wird?
|
|
|
05/10/2013, 17:09
|
#1217
|
elite*gold: 0
Join Date: Dec 2012
Posts: 17
Received Thanks: 2
|
Nein, andersherum ich möchte dass die Eingabe einer Auswahl ist und wenn jeder Buchstabe des namens in der Auswahl vorkommt, soll er diesen Namen aufschreiben...
|
|
|
05/10/2013, 17:48
|
#1218
|
elite*gold: 0
Join Date: Sep 2009
Posts: 1,489
Received Thanks: 1,221
|
Quote:
Originally Posted by Greaka
Nein, andersherum ich möchte dass die Eingabe einer Auswahl ist und wenn jeder Buchstabe des namens in der Auswahl vorkommt, soll er diesen Namen aufschreiben...
|
So, endlich ne Lösung gefunden:
PHP Code:
#include <File.au3>
$Open = @ScriptDir & "/lbwords.txt"
$Lines = _FileCountLines( $Open )
$Zeichen = InputBox( "", "Zeichen eingeben" )
For $i = 1 To $Lines
$Result = 0
$Wort = StringSplit( FileReadLine( $Open, $i ), "" )
For $j = 1 To $Wort[0]
If StringInStr( $Zeichen, $Wort[$j] ) Then $Result += 1
Next
If $Result = $Wort[0] Then Send( FileReadLine( $Open, $i ) & "{Enter}" )
Next
|
|
|
05/10/2013, 22:47
|
#1219
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by omer36
GUICtrlSetColor mal versucht? ^^
|
Hat bei mir heue nicht geklappt hatte gegoogelt da kahm die gleiche loesung .... geht es denn so bei dir ?
|
|
|
05/10/2013, 23:41
|
#1220
|
elite*gold: 0
Join Date: Sep 2009
Posts: 1,489
Received Thanks: 1,221
|
Quote:
Originally Posted by »FlutterShy™
Hat bei mir heue nicht geklappt hatte gegoogelt da kahm die gleiche loesung .... geht es denn so bei dir ?
|
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
GUICreate( "Farbige Progressbar", 500, 100, -1, -1 )
DllCall( "uxtheme.dll", "none", "SetThemeAppProperties", "int", 0 )
$Progress = GUICtrlCreateProgress( 10, 10, 480, 80 )
GUICtrlSetColor( -1, 0xFF0000 )
GUICtrlSetData( -1, 75 )
GUISetState( @SW_SHOW )
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Die Progressbar als letztes Element in die GUI setzen und direkt davor das DllCall, ansonsten hast du die ganze GUI im UXTheme.
|
|
|
05/11/2013, 00:23
|
#1221
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
joa, klappt bei mir
PHP Code:
#include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 625, 443, 192, 124) $Progress1 = GUICtrlCreateProgress(240, 192, 150, 17) GUICtrlSetColor(-1, 0xFF0000) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit
EndSwitch WEnd
|
|
|
05/11/2013, 01:48
|
#1222
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Eine DLC UDF für AutoIt gibt es noch nicht, oder?
Wie könnte ich einen DLC mit AutoIt erstellen?
MfG
|
|
|
05/11/2013, 07:29
|
#1223
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by Achat
Eine DLC UDF für AutoIt gibt es noch nicht, oder?
Wie könnte ich einen DLC mit AutoIt erstellen?
MfG
|
DLC = Download-Container ?
|
|
|
05/11/2013, 09:31
|
#1224
|
elite*gold: 95
Join Date: May 2011
Posts: 982
Received Thanks: 189
|
da erfüllt jdownloader schon alle meine wünsche^^
|
|
|
05/11/2013, 14:16
|
#1225
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by butter123
da erfüllt jdownloader schon alle meine wünsche^^
|
ok also meint ihr das was ich meine , also achat wenn du sowas umbeding machen willst dann kucke dir was beim jdownloader ab ist ja open source oder ?
Quote:
Originally Posted by omer36
joa, klappt bei mir
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 443, 192, 124)
$Progress1 = GUICtrlCreateProgress(240, 192, 150, 17)
GUICtrlSetColor(-1, 0xFF0000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|
klappt nicht !
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 443, 192, 124)
$Progress1 = GUICtrlCreateProgress(240, 192, 150, 17)
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetData($Progress1,100)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Quote:
Originally Posted by .xD1997™
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
GUICreate( "Farbige Progressbar", 500, 100, -1, -1 )
DllCall( "uxtheme.dll", "none", "SetThemeAppProperties", "int", 0 )
$Progress = GUICtrlCreateProgress( 10, 10, 480, 80 )
GUICtrlSetColor( -1, 0xFF0000 )
GUICtrlSetData( -1, 75 )
GUISetState( @SW_SHOW )
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Die Progressbar als letztes Element in die GUI setzen und direkt davor das DllCall, ansonsten hast du die ganze GUI im UXTheme.
|
geht aber sehr unschön ^^
|
|
|
05/11/2013, 14:24
|
#1226
|
elite*gold: 1445
Join Date: Sep 2011
Posts: 199
Received Thanks: 177
|
Quote:
Originally Posted by »FlutterShy™
[...]
|
Liegt an deinem Windows-Theme. Die neueren (Win Vista/7) unterstützen die Farbeinstellungen wahrscheinlich nicht.
Quote:
Originally Posted by .xD1997™
PHP Code:
#include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <WindowsConstants.au3>
GUICreate( "Farbige Progressbar", 500, 100, -1, -1 ) DllCall( "uxtheme.dll", "none", "SetThemeAppProperties", "int", 0 ) $Progress = GUICtrlCreateProgress( 10, 10, 480, 80 ) GUICtrlSetColor( -1, 0xFF0000 ) GUICtrlSetData( -1, 75 ) GUISetState( @SW_SHOW ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
Die Progressbar als letztes Element in die GUI setzen und direkt davor das DllCall, ansonsten hast du die ganze GUI im UXTheme.
|
Aus diesem Grund funktioniert auch der Script.
|
|
|
05/11/2013, 14:41
|
#1227
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
habe windows 8 , gibts da keine schöne lösung für ? ansonsten schreib ich mal microsoft an
|
|
|
05/11/2013, 14:49
|
#1228
|
elite*gold: 1445
Join Date: Sep 2011
Posts: 199
Received Thanks: 177
|
Quote:
Originally Posted by »FlutterShy™
habe windows 8 , gibts da keine schöne lösung für ? ansonsten schreib ich mal microsoft an
|
Mir würde nurnoch das einfallen:
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#include <SendMessage.au3>
GUICreate( "Farbige Progressbar", 500, 100, -1, -1 )
$Progress = GUICtrlCreateProgress( 10, 10, 480, 80 )
GUICtrlSetData( -1, 75 )
_SendMessage(GUICtrlGetHandle($Progress), 0x0410, 2)
GUISetState( @SW_SHOW )
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Allerdings wird die ProgressBar erst dann Rot gefärbt, wenn die 75% erreicht sind.
|
|
|
05/11/2013, 20:42
|
#1229
|
elite*gold: 544
Join Date: Nov 2010
Posts: 1,868
Received Thanks: 1,335
|
hab auch mal wieder ne frage ._. scheiß tcp, steige da nicht durch.
Also, ich habe jetzt das Problem das die Unterseite immer anders heißt, also z.B.
/v/35073300/vemNJo1vf4
oder
/v/35078392/Zk47mQuGRq
Wie bekomme ich jetzt den Namen der Unterseite raus?
Mit stringbetween ist da ja nichts zu machen...
|
|
|
05/11/2013, 20:47
|
#1230
|
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
|
Quote:
Originally Posted by #System
.....
|
wow danke also das ist meine gui :
PHP Code:
#include <100%Hex.au3> ; mein include
#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=C:\Autoit\License system\100 % Hex Form.kxf $Form1 = GUICreate("U7t1m4t3 H3X Pr0z3ss0r", 713, 366, 192, 124) ;DllCall( "uxtheme.dll", "none", "SetThemeAppProperties", "int", 0 ) $Edit1 = GUICtrlCreateEdit("Fill in all codes to check", 8, 8, 345, 257) $Button1 = GUICtrlCreateButton("Check !", 8, 272, 99, 49) $Edit2 = GUICtrlCreateEdit("Debug : " & @CRLF, 360, 8, 345, 257) $ProgressHex = GUICtrlCreateProgress(112, 272, 590, 49) GUICtrlSetData( -1, 0 ) _SendMessage(GUICtrlGetHandle($ProgressHex), 0x0410, 2) ;GUICtrlSetColor( -1, 0xFF0000 ) $Label2 = GUICtrlCreateLabel("0", 80, 336, 628, 17) $Label1 = GUICtrlCreateLabel("Done :", 8, 336, 60, 17) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _Main()
EndSwitch WEnd
da wird die gui nur bis zu 50 % eingefärbt und die function main geb ich euch nicht eun mein include auch nicht denkt euch das weg
bitte warten ich edite noch
Im include wird eine file eingelesen und dessen zeilen gezählt und immer pro do schleife eine drauf bis anzahl der zeilen erreicht ist :
PHP Code:
$mLines = $mLines + 1
danach wird auch die progress gesetzt
PHP Code:
GUICtrlSetData($mProgressHex,$mLines)
und am ende wird die progress auf 100 % gesetzt (ich weiß etwas blöd gelößt)
PHP Code:
GUICtrlSetData($mProgressHex,100)
vorher hat alles richtig funktioniert
vielen dank für deine hilfe , hast du vielleicht skype ? pn please
|
|
|
Similar Threads
|
[Sammelthread]Fragen zu Autoit wie man Hacks herstellt(Autoit) + Antworten
11/16/2011 - Metin2 - 0 Replies
Hallo Liebe Community,
Ich habe diesen Thread aufgemacht weil manche leute mit Autoit nicht mehr weiterkommen wie man Hack herstellt ,ich habe mit schon ein Multihack mit Autoit herstellt das war einfach .Da viele User nicht weiterkommen werden habe ich mich entschieden ein Thread aufzumachen mit Fragen und ich den dann Antworten kann und helfen kann!
------------------------------------------------- ---------------------------
Mein Multihack:...
|
All times are GMT +1. The time now is 06:37.
|
|