Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/15/2012 in all areas

  1. water

    Active Directory UDF

    I have converted and extended the adfunctions.au3 written by Jonathan Clelland to a full AutoIt UDF including help file, examples, ScITE integration etc. The example scripts should run fine without changes. 2016-08-18: Version: 1.4.6.0 As always: Please test before using in production! KNOWN BUGS: (Last changed: ) None AD 1.4.6.0.zip For AutoIt >= 3.3.12.0 AD 1.4.0.0.zip other versions of AutoIt
    1 point
  2. And then went on to suggest InetGet be used.
    1 point
  3. Melba23

    help with repeat

    sbrady, A Moderator is indeed looking at this thread - as I have been looking at all your threads since you arrived here. You seem to have shown almost no initiative in trying to write your own code to solve your various problems. Several experienced forum members have told you how to do the various things you ask - but all we ever get back is "Applescript is so easy" (and I have already mentioned that in your aother thread). Now we can understand your frustration in having to change your scripting language - all of us have had to learn a new language at least once in our lives - but what we cannot understand is your constant demand for someone to write the code for you. This forum tends to help you with problems in code you have written - we do not write large chunks of code for you. Just remember that AutoIt is provided free of charge for you, as is this forum, and all the members here are volunteers who give their own time to offer advice to others - and from your attitude so far I am frankly amazed that some are still trying to help you. So I suggest that you do one of two things: either start listening to the advice you have been given and start reading the Help file so that you can produce some code which we can help you debug/change so that it works as you want it to - or else go and look for another scripting language. This is a free choice for you - we are not in any way forcing you to go, but I imagine you are unlikely to get much more help unless you change your attitude significantly. I hope you choose wisely. M23
    1 point
  4. biase, You were overcomplicating things - and you misunderstood the slide in/out directions (they are not easy to interpret): Try this: #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> Global $sout = False $Main = GUICreate("Slider", 500, (@DesktopHeight - _TaskBarHeight()), @DesktopWidth - 500, -1, BitOR($WS_SYSMENU, $WS_POPUP), BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW)) $BgPic = GUICtrlCreatePic('background.jpg', 0, 0, 0, 0) GUICtrlSetState($BgPic, $GUI_DISABLE) While 1 $nMsg = GUIGetMsg() $MPos = MouseGetPos() Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $MPos[0] >= (@DesktopWidth - 1) And Not $sout $sout = True DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Main, "int", 270, "long", 0x00040002) ; $AW_SLIDE_IN_RIGHT Case $MPos[0] < (@DesktopWidth - 500) And $sout $sout = False DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Main, "int", 270, "long", 0x00050001) ; $AW_SLIDE_OUT_RIGHT EndSelect WEnd Func _TaskBarHeight() Local $aPos = WinGetPos("[CLASS:Shell_TrayWnd; W:" & @DesktopWidth & "]") Return $aPos[3] EndFunc ;==>_TaskBarHeight Any better? M23
    1 point
×
×
  • Create New...