Leaderboard
Popular Content
Showing content with the highest reputation on 10/03/2013 in all areas
-
Based on the Outlook UDF written by wooltown, we (wooltown and I) decided to extend the functionality of the Outlook UDF. As the OutlookEX UDF ("EX" like "extended") has a completely different approach compared to the Outlook UDF it's a complete rewrite. We would like to discuss the design of the UDF with the community. Every feedback, function request etc. is highly welcome. As soon as the discussion shows that we are on the right track we would like to release an alpha version for everyone to test. So please don't be shy and post what you think of this UDF or what functions you need! Every item in Outlook is uniquely identified by EntryID and StoreID. The default StoreID is your inbox Every item has properties to describe the item (subject, startdate ..) and methods to act upon the item (move, delete …) The search and action functions are now separated. As an example the user first searches for the items to be deleted and then calls the delete function If a method can be used for more than one item type (e.g. mail, calendar and notes) the function is called _OL_ItemXXX else the function is called _OL_CalendarXXX The number of properties you can get or pass to most functions is not limited by the number of parameters defined for the function. Properties can be passed as parameters (up to 10) or in an unlimited array as parameter 1 The UDF allows to access all kind of folders (see the following listing). Folders can be passed by name or as an object to a function A lot of testing is still needed as we have written and tested the functions using Outlook 2002 SP3 and Outlook 2010 "wrapper" or "shortcut" functions will be available to let you do all tasks in one go e.g. _OL_Wrapper_SendMail for all functions above. Documentation: The documentation for this UDF (aside from the docu in the UDF itself) will be placed in the AutoIt Wiki. So we can easily modify the docu without releasing a new version each time. There will be pages describing the UDF in general and pages for individual item types (like mail) with detailed information and a lot of tips & tricks. Tested with Outlook 2003 and 2010. Some users reported that it works with Outlook 2013 as well. Starting point: http://www.autoitscript.com/wiki/OutlookEX_UDF_-_General Download1 point
-
Ninite-Silent
BinaryBrother reacted to cramaboule for a topic
There is a great tool called ninite (www.ninite.com). The only problem is that it is not really 'silent'. So I wrote this little script to make it (almoast) silent (like /S or /Silent or /quiet) Just rename the downloaded 'Ninite ....... exe' into 'Ninite.exe' and place it into the same folder as the Ninite-silent.exe (my AutoIt prg) Run it and that's it ! Download or here Enjoy Cramaboule! EDIT: Change link ! EDIT2: Link to GitHub1 point -
Update the Excel UDF that comes with AutoIt
232showtime reacted to water for a topic
This UDF is now part of AutoIt since 3.3.12.0. New versions of Microsoft Office have been released since the last changes were made to the Excel UDF. The new extensions (e.g. xlsx) are not (fully) supported, new functions are missing etc. The rewrite of the Excel UDF delivers changes in the following areas: Works with as many instances of Excel as you like - not just one Works with any Workbook - not just the active one Works with any Worksheet - not just the active one Only does what you tell it to do - no implicit "actions" Only one function to read from a cell or a range Only one function to write a string, an 1D or 2D array to a cell or a range Support for every file format Excel supports Speed enhancements when transferring data from/to an Excel sheet (20 - 100 times faster) 2014-03-22 - Beta 5 Known bugs None The example scripts have been tested with Excel 2010 and AutoIt 3.3.10.2 on Windows 7. You need to run the scripts with the latest AutoIt production version (3.3.10.x)! Please test with Excel 2003 and Excel 2007 and post changes you need/want to see in the next beta version! Excel Rewrite Beta 5.zip has been removed as it is now part of AutoIt since 3.3.12.0. (627 downloads) History.txt1 point -
1 point
-
You need to use the search function and the help file for some of these questions.1 point
-
$IP = @IPAddress1 $PID = Run("ipconfig", "", @SW_HIDE, 2) While ProcessExists($PID) Sleep(10) WEnd $Text = StdoutRead($PID) $aText = StringSplit($Text, @CRLF, 1) For $I = 1 to $aText[0] If StringInStr($aText[$I], $IP) Then $Subnet = StringMid($aText[$I + 1], StringInStr($aText[$I + 1], ":") + 2) ExitLoop EndIf Next ConsoleWrite("Subnet Mask = " & $Subnet & @CRLF)1 point
-
zvvyt, Glad I could help. M231 point
-
zvvyt, This seems to work when I run it: Func Save() ConsoleWrite("Save initialized" & @CRLF) GUICtrlSetState($Button_save, $gui_disable) $Save_check_earlier_functions = IniReadSectionNames("Settings.ini") If @error Then Local $Save_check_earlier_functions[1] = ["0"] EndIf $Save_check_current_functions = _GUICtrlListView_GetItemCount($list) ; Are there any saved functions to check? If $Save_check_earlier_functions[0] <> 0 Then ; Loop through the ini and check if sections are in the ListView For $count1 = 1 To $Save_check_earlier_functions[0] $iIndex = _GUICtrlListView_FindText($list, $Save_check_earlier_functions[$count1]) ; If not found then delete If $iIndex = -1 Then IniDelete("Settings.ini", $Save_check_earlier_functions[$count1]) EndIf Next EndIf ; Are there any items in the ListView? If $Save_check_current_functions > 0 Then ; Now loop through ListView and see if any functions need to be added For $count2 = 0 To $Save_check_current_functions - 1 ; Remember ListView items are 0-indexed $iIndex = _ArraySearch($Save_check_earlier_functions, _GUICtrlListView_GetItemText($list, $count2, 0)) ; If not found then add If $iIndex = -1 Then IniWrite("Settings.ini", _GUICtrlListView_GetItemText($list, $count2, 0), "Function", _GUICtrlListView_GetItemText($list, $count2, 1)) IniWrite("Settings.ini", _GUICtrlListView_GetItemText($list, $count2, 0), "Folder", _GUICtrlListView_GetItemText($list, $count2, 2)) IniWrite("Settings.ini", _GUICtrlListView_GetItemText($list, $count2, 0), "File", _GUICtrlListView_GetItemText($list, $count2, 3)) IniWrite("Settings.ini", _GUICtrlListView_GetItemText($list, $count2, 0), "Date", _GUICtrlListView_GetItemText($list, $count2, 4)) EndIf Next EndIf GUICtrlSetState($Button_save, $gui_enable) ConsoleWrite("Save finished" & @CRLF) EndFunc ;==>Save Does it work for you as well? M231 point
-
Run Program in a Minimized Window; with MouseMove also?
Astormooke reacted to Kidney for a topic
no it will not run. the key component to your entire script is imagesearch. if imagesearch fails every time, your script is useless. imagesearch can only search for an image that is present on the screen. you might want to use the AU3Info tool in scite and see if you can get a handle on the light in the monitor program.1 point -
You actually have to make the use of the proxy that you get. And the error is because you need full address of the site you want proxy for. Local $aConfig = _WinHttpGetIEProxyConfigForCurrentUser() Local $sPacFile = $aConfig[1] ; this is PAC file used by IE $sPacFile = "http://rosinstrument.com/cgi-bin/proxy.pac" ; override for this example Local $hOpen = _WinHttpOpen() Local $sProxy = _WinHttpGetProxyForUrl($hOpen, "http://www.ip-adress.com", $sPacFile) ; full URL of the place where you'd want to connect later _WinHttpCloseHandle($hOpen) ; you won't be needing this one any more (so better would be that it's opened and closed in your _WinHttpGetProxyForUrl and not passed as its argument) ; Print the result ConsoleWrite($sProxy & @CRLF) ; Now use that proxy $hOpen = _WinHttpOpen(Default, $WINHTTP_ACCESS_TYPE_NAMED_PROXY, $sProxy) Local $hConnect = _WinHttpConnect($hOpen, "www.ip-adress.com") Local $sResult = _WinHttpSimpleRequest($hConnect) ; Close handles _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) ; Print the HTML of the page ConsoleWrite($sResult & @CRLF) ClipPut($sResult) ; you use clipboard for whatever reason1 point