hench
Active Members-
Posts
66 -
Joined
-
Last visited
hench's Achievements
Wayfarer (2/7)
2
Reputation
-
maniootek reacted to a post in a topic:
Autosize ListView using $LVSCW_AUTOSIZE and $LVSCW_AUTOSIZE_USEHEADER
-
yutijang reacted to a post in a topic:
how to know "if any key is pressed"
-
Excel file generation UDF (don't need Excel to be installed)
hench replied to jerome's topic in AutoIt Example Scripts
Great stuff Jerome, thanks for sharing! 5* from me! -
love playing with this! thanks, 5* !
-
Hey, Can you access ComboBox 1 to ComboBox 2 using Tab key ? You may want to send tab keys to that window/control - dirty but efficient ! Check help file for Send / ControlSend ! Good luck!!
-
Hello! Seems like we've got great tool here - though, while trying to run the source, I got a $__WINVER undeclared error. I added global declaration at the top of the main script. then it went fine. Any clue on that ? thanks, this is 5 stars as well!!! bye!
-
That look pretty much simplified already If it works of course...
-
hey !! have a look into the AutoIt help file under the Function Send you will be interested by commands : {CTRLDOWN} and {CTRLUP} might do the trick ! good luck!
-
cool, I hope you will enjoy autoit programming!!
-
hey!! you have to be sure that your are getting the right form object. so this line might be wrong : $o_form = _IEFormGetObjByName ($oIE, login.php?do=login") as I can see with FireBug (FireFox developer add-on) : form as no name, you may want to explore the finding by index after that, test each input field at a time. the login/password DOM object name you provided seem correct. good luck!! hench
-
hey ! you will need a dll file named SkinH_EL.dll and one of many existing skin files (SHE extension) I personnally downloaded everything from http://www.downyi.com/downinfo/15779.html in the past... chinese website, is it trustable? I really don't know.. by the way, I still have the files on hard drive, I could email them to you if you want. Here's a testing code snippet provided by wakillon some time ago #include <WindowsConstants.au3> #include <GuiListView.au3> #include <String.au3> #include <Array.au3> #include <File.au3> Global $_DllFilePath = @ScriptDir & '\SkinH_EL.dll' Global $_SheSkinListDir = @ScriptDir & '\Skins' ; .she files folder $_SheSkinListArray = _FileListToArray ( $_SheSkinListDir, '*.she', 1 );_ArrayDisplay ( $_SheSkinListArray ) _FileInstall ( ) GUICreate ( "Try All This .She Skins...", 470, 280 ) GUIRegisterMsg ( $WM_NOTIFY, "_WnNotify" ) $_ListView = GUICtrlCreateListView ( ".She Skins List", 280, 5, 185, 250 ) _GUICtrlListView_SetColumnWidth ( $_ListView, 0, $LVSCW_AUTOSIZE_USEHEADER ) _CreateListViewItem ( $_ListView, $_SheSkinListArray ) GUICtrlCreateInput ( "Input1", 40, 40, 100, 21 ) GUICtrlCreateCombo ( "Combo1", 40, 100, 100, 25 ) GUICtrlSetData ( -1, "Combo2|Combo3|Combo4|Combo5|Combo6|Combo7|Combo8|Combo9|Combo10" ) GUICtrlCreateButton ( "Button1", 30, 220, 75, 30, $WS_GROUP ) GUICtrlCreateButton ( "Button2", 180, 220, 75, 30, $WS_GROUP ) GUICtrlCreateCheckbox ( "Checkbox1", 150, 40, 80, 17 ) GUICtrlCreateRadio ( "Radio1", 150, 100, 80, 17 ) GUICtrlCreateProgress ( 40, 150, 200, 20 ) GUICtrlSetData ( -1, 50 ) GUICtrlCreateGroup ( "Group1", 10, 10, 249, 193 ) GUISetState ( ) Do Sleep ( 50 ) Until GUIGetMsg ( ) = -3 Exit Func _WnNotify ( $_Wnd, $_Msg, $_WParam, $_LParam ) $_Tnmtv = DllStructCreate ( $tagNMTVDISPINFO, $_LParam ) $_Code = DllStructGetData ( $_Tnmtv, "Code" ) $_Index = _GUICtrlListView_GetSelectedIndices ( $_ListView ) If $_Code = $NM_DBLCLK And StringLen ( $_Index ) <> 0 Then _ _SkinGui ( $_SheSkinListDir & '\' & _GUICtrlListView_GetItemText ( $_ListView, Number ( $_Index ) ) ) EndFunc ;==> _WnNotify ( ) Func _SkinGui ( $_SheSkinFilePath ) $Dll = DllOpen ( $_DllFilePath ) DllCall ( $Dll, "int", "SkinH_AttachEx", "str", $_SheSkinFilePath, "str", "mhgd" ) DllCall ( $Dll, "int", "SkinH_SetAero", "int", 1 ) EndFunc ;==> _SkinGui ( ) Func _FileInstall ( ) FileInstall ( "SkinH_EL.dll", $_DllFilePath ) EndFunc ;==> _FileInstall ( ) Func _CreateListViewItem ( $_ListViewId, $_ListArray ) For $_I = 1 To UBound ( $_ListArray ) -1 GUICtrlCreateListViewItem ( _StringProper ( $_ListArray[$_I] ), $_ListViewId ) Next EndFunc ;==> _CreateListViewItem ( ) Let me know!
-
re-init the timer with the same first line but within the if-then statement timer = _TimerInit() If _Timer_Diff($timer) Then ; Set $timer value to 0 timer = _TimerInit() EndIf there are inbuilt functions TimerInit / TimerDiff in AutoIt, you might want to use them instead of an extra include. g'day! hench
-
who knew that discussion would have been that far? wow, that's pretty sad for the author who simply requested an advice or two in a good intention. so it makes me realize two things : Asking for advice is dangerousGiving advice is dangerousand all the misunderstanding... no secret why human being fight each other every day! sharing an opinion and fighting for the sake of it, in some country you guys could get kill! @am632 : sorry, ain't got no real C++ programming tips to give you but perseverance and patience, as I personnally never could develop any C++ skill yet !! good luck!
-
just tried, great stuff from a great mind!! download : OK script: OK, crashed when exiting tho thanks for sharing btw, winxp sp3, autoit 3.3.6.1 Tschüss!
-
MD5,SHA1,CRC32,RC4,BASE64,XXTEA machine code version
hench replied to Ward's topic in AutoIt Example Scripts
thank you Ward, this has brought Auto It a step forward!!! -
access overload function in COM object?
hench replied to tobject's topic in AutoIt General Help and Support
lol, it's like rain on your weddings day. I believe you got this and that to help around a little. oh, almost forgot, this to keep morale up !!! good luck and happy sunday! hench -
How to navigate a web page without downloading the pictures?
hench replied to teet's topic in AutoIt General Help and Support
IE8 here, Tools - Internet Options - Advanced tab - Multimedia - Show Images checkbox. As somecomputerguy mentionned; there must be a registry key related to that option... I believe you could twitch it for a current session or something ! Can't find it so fast tho .. edit : found this reg key, dont know yet what do do : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\MULTIMEDIA\PICTS edit 2 : ahh, no more battery on laptop so good nite!! hench