Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/01/2014 in all areas

  1. trancexx

    Announcement

    I've just received confirmation mail from the site owner about a proposal I made to him few weeks ago. I'll be very short now because I have plenty of work to do to put things in place. So, the short version is that I'm new site owner. This includes AutoIt licence in full. As far as this site is concerned there will be some changes, mostly in team members. I think also that MVP section of the forum will be opened for reading for all members and status of some blue members will be revised. Trolls will be remlved from the board. For the most important part of this change (language development) I'm happy to say that development will continue, only now in full speed and strength. I will open new parts of the source, and completely the sources of most of AutoIt tools. I already have a team of developers working actively since Jon gave green light few days ago. I will also contact few more people tomorrow to include them in the new dev team, so do read your mails. Expect plenty of changes, and wish me/us luck. God speed. (I will move this to announcements section of the forum as soon as I get administrator credentials)
    2 points
  2. Internal functions: __FuncName() AutoIt UDF functions: _FuncName() Your functions: FuncName() This is how it should be, so as to easily distinguish which are your functions and AutoIt's.
    1 point
  3. I would try to change create new to createnew (no space) and will add a space right after "desktop1gb.test ' <- add a space here after test
    1 point
  4. not at home atm but u should try this... Run(@ComSpec & " /c fsutil file createnew test.txt " & $Size,"",@SW_HIDE)
    1 point
  5. Fr33b0w, This works for me: #include <GUIConstantsEx.au3> $hGUI = GUICreate("Toggle Working", 171, 699, -1, -1) GUICtrlSetFont(-1, 8.5, 400, 0, "MS Shell Dlg", 5) $oIE = ObjCreate("Shell.Explorer.2") $hOntop = GUICtrlCreateButton("Set On Top", 102, 628, 61, 21) GUISetState() While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $hOntop If GUICtrlRead($hOntop) = "Set On Top" Then WinSetOnTop($hGUI, "", 1) GUICtrlSetData($hOntop, "Set NOT On Top") Else WinSetOnTop($hGUI, "", 0) GUICtrlSetData($hOntop, "Set On Top") EndIf EndSwitch WEnd M23 Edit: Guten tag, KaFu. Ich war zu langsam heute!
    1 point
  6. trancexx

    WinHTTP functions

    Yes, port number is third parameter for that function. Just read description from the help file and pass port number as third argument.
    1 point
  7. That video seems familiar When you start creating regular expressions, debug them using http://regex101.com/
    1 point
  8. PhoenixXL

    Toggle "Always On Top"

    Here is an Example #include <GUIConstants.au3> $hGUI = GUICreate( @ScriptName ) $iBtn = GUICtrlCreateButton( "Toggle State", 10, 10 ) $iState = 0 ;Current state not on top GUISetState( @SW_SHOW ) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE GUIDelete() Exit Case $iBtn $iState = Not $iState ;Toggle WinSetOnTop( $hGUI, '', $iState ) EndSwitch WEnd P.S. _WinAPI_SetWindowPos or changing the Ex-Style of the GUI would also do Regards
    1 point
×
×
  • Create New...