Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/08/2012 in all areas

  1. Hi! Today I want to show you my current AutoIt project: The ISN AutoIt Studio. The ISN AutoIt Studio is a complete IDE made with AutoIt, for AutoIt! It includes a GUI designer, a code editor (with syntax highlighting, auto complete & intelisense), a file viewer, a backup system, trophies and a lot more features!! Here are some screenshots: Here some higlights: -> easy to create/manage/public your AutoIt-projects! ->integrated GUI-Editor (ISN Form Studio 2) ->integrated - file & projectmanager ->auto backupfunction for your Projects ->extendable with plugins! ->available in several languages ->trophies ->Syntax highlighting /Autocomplete / Intelisense ->Dynamic Script ->detailed overview of the project (total working hours, total size...) And much more!!! -> -> Click here to download ISN AutoIt Studio <- <- Here is the link to the german autoit forum where I posted ISN AutoIt Studio the first time: http://autoit.de/index.php?page=Thread&threadID=29742&pageNo=1 For more information visit my Homepage: https://www.isnetwork.at So….have fun with ISN AutoIt Studio! PS: Sorry for my bad English! ^^
    1 point
  2. You know, I have been using your windchime script since shortly after you originally posted it here. I was running the script in the background just yesterday! I'm excited that you've added a GUI; I planned on doing that myself, well I occasionally thought about it anyway.. I once ran a 'weather station', so I also briefly thought about integrating the data returned from the anemometer with the script. I'm certainly going to get the updated version posted here. Thanks again! add: I just read thru this whole thread.. the monkey on my back (that used to smoke too many Camels..) seems to be accompanied with a parrot now..
    1 point
  3. water

    OutlookEX UDF

    I think it's a bug. The attachment has a displayname but no filename. _OL_ItemSave processes the filename und because there is none $aOL_Temp[2] does not exist and hence the script crashes. I will have to change the function. Will post a solution as soon as I have one.
    1 point
  4. A friend once told me he helped some woman whose car was stuck in the snow, and in response to his help she said: 'oh thank you jesus for sending me this young man!' and didn't thank him... 'Click' Jackass
    1 point
  5. You can use WMI to query the event logs. You can even parse the description! VB code: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!" _ & strComputer & "rootcimv2") Set colLoggedEvents = objWMIService.ExecQuery _ ("Select * from Win32_NTLogEvent " _ & "Where Logfile = 'System'") For Each objEvent in colLoggedEvents Wscript.Echo "Category: " & objEvent.Category & VBNewLine _ & "Computer Name: " & objEvent.ComputerName & VBNewLine _ & "Event Code: " & objEvent.EventCode & VBNewLine _ & "Message: " & objEvent.Message & VBNewLine _ & "Record Number: " & objEvent.RecordNumber & VBNewLine _ & "Source Name: " & objEvent.SourceName & VBNewLine _ & "Time Written: " & objEvent.TimeWritten & VBNewLine _ & "Event Type: " & objEvent.Type & VBNewLine _ & "User: " & objEvent.User Next VB code can easily be transfered to AutoIt!
    1 point
  6. Melba23

    Aspect ration of program

    MariusN, You might want to create your GUI for the lowest resolution you are likely to face and allow it to be resized but keeping the same aspect ratio - like this: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ; Set resize mode for controls Opt("GUIResizeMode", $GUI_DOCKAUTO) $hGUI = GUICreate("Test", 500, 300, -1, -1, BitOR($WS_SIZEBOX, $WS_SYSMENU)) $cButton_1 = GUICtrlCreateButton("Test 1", 10, 10, 80, 30) $cButton_2 = GUICtrlCreateButton("Test 2", 10, 50, 80, 30) GUISetState() GUIRegisterMsg($WM_SIZING, "_WM_SIZING") While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _WM_SIZING($hWnd, $iMsg, $wParam, $lParam) #forceref $iMsg, $wParam, $wParam If $hWnd = $hGUI Then Local $iNew_H, $iNew_W Local $sRect = DllStructCreate("Int[4]", $lParam) Local $iLeft = DllStructGetData($sRect, 1, 1) Local $iTop = DllStructGetData($sRect, 1, 2) Local $iRight = DllStructGetData($sRect, 1, 3) Local $iBottom = DllStructGetData($sRect, 1, 4) ; Keep the same aspect ratio Switch $wParam ; drag side or corner Case 1, 2 ; $WMSZ_LEFT, $WMSZ_RIGHT $iNew_H = Int(($iRight - $iLeft) * 300 / 500) DllStructSetData($sRect, 1, DllStructGetData($sRect, 1, 2) + $iNew_H, 4) Case Else $iNew_W = Int(($iBottom - $iTop) * 500 / 300) DllStructSetData($sRect, 1, DllStructGetData($sRect, 1, 1) + $iNew_W, 3) EndSwitch EndIf EndFunc You will notice the font remains the same size. You can change that by adding another handler - let me know if you want to see how. M23
    1 point
  7. I have written a simple function for this, but you must set character limit to 1 use it at While 1 or in a timer Func letteronly($ControlID) $checker = GUICtrlRead($ControlID) If Not $checker = "" Then If Asc($checker) > 90 Or Asc($checker) < 65 Then GUICtrlSetData($ControlID,"") EndIf EndIf EndFunc sorry for bad english
    1 point
×
×
  • Create New...