Leaderboard
Popular Content
Showing content with the highest reputation on 03/09/2015 in all areas
-
AiutoIt uses standard 64-bit IEEE doubles, such as engraved in stock hardware.1 point
-
SPDiff has reached the v1.0 milestone! featuring some performance enhancements, and a comprehensive coloring parameter set - you can now specify the color of practically every element. excerpt from the info sheet - the elements whose colors can be set: 1: toolbar background 2: toolbar icons 3: toolbar separators 4: toolbar selected icons (currently applicable only for Aerial View) 5: toolbar input field background 6: toolbar input field text 7: main pane background 8: main pane text 9: removed text highlight 10: removed text 11: added text highlight 12: added text It is not mandatory to specify all colors; specify -1 for colors you wish to leave at default. Custom Colors Example: “Savannah” theme - featuring brown, beige and green: /color:FEDCBA,005522,993300,009900,-1,005522,-1,7722001 point
-
Not sure if its relevant for matrixes but maybe this can help?1 point
-
kjsisco, As you seem to be ignoring any requests to post examples, you are now on Moderator queue so we can prevent you from posting any more of these useless scraps. M231 point
-
Personnaly i did a looooot of script with badass mouse click / move ... look at this... this is the best way. HotKeySet("{ESCAPE}", "Exite") Func Exite () ;==>Quitter Exit EndFunc If you want to leave the script without any action... AdlibRegister ("Exite", 30 000) Func Exite () ;==>Quitter Exit EndFunc Leaving the script after 30 Seconds Otherwise if you dont need that you still can automate OSK.EXE1 point
-
Um... Pretty sure that WinGetClassList returns an array... Edit: Are you sure you can get the text from that control? When you put AutoInfo tool over the control, do you see text in the text output area? In my experience, those types of controls are generally drawn, if they're not in the "COM" (if it's available) then you very well may need to do an OCR. Without getting into that, you'd also need to check if IUIAutomation can get the data if AutoInfo tool can't, because if there's no data from AutoInfo tool, then ControlGetText is probably useless.1 point
-
TheDcoder, Here you go - in a very simplistic form: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiRichEdit.au3> $hGUI = GUICreate("Test", 500, 500) $cNav = GUICtrlCreateLabel("", 0, 0, 150, 300) GUICtrlSetBkColor($cNav, 0xFE7E27) GUICtrlSetState($cNav, $GUI_DISABLE) $cButton_0 = GUICtrlCreateButton("Child 0", 10, 10, 80, 30) $cButton_1 = GUICtrlCreateButton("Child 1", 10, 50, 80, 30) $cButton_2 = GUICtrlCreateButton("Child 2", 10, 90, 80, 30) $hRichEdit = _GUICtrlRichEdit_Create($hGUI, "RichEdit", 0, 300, 500, 200) _GUICtrlRichEdit_SetBkColor($hRichEdit, 0) GUISetState(@SW_SHOW, $hGUI) $hChild_0 = GUICreate("Child 0", 350, 300, 150, 0, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) GUISetBkColor(0xFF0000) GUISetState(@SW_SHOW, $hChild_0) $hChild_1 = GUICreate("Child 1", 350, 300, 150, 0, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) GUISetBkColor(0x00FF00) GUISetState(@SW_HIDE, $hChild_1) $hChild_2 = GUICreate("Child 2", 350, 300, 150, 0, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) GUISetBkColor(0x0000FF) GUISetState(@SW_HIDE, $hChild_2) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $cButton_0 _All_Hide() GUISetState(@SW_SHOW, $hChild_0) Case $cButton_1 _All_Hide() GUISetState(@SW_SHOW, $hChild_1) Case $cButton_2 _All_Hide() GUISetState(@SW_SHOW, $hChild_2) EndSwitch WEnd Func _All_Hide() GUISetState(@SW_HIDE, $hChild_0) GUISetState(@SW_HIDE, $hChild_1) GUISetState(@SW_HIDE, $hChild_2) EndFunc M231 point
-
winhttp doesn't support socks: '?do=embed' frameborder='0' data-embedContent>> WinINet only goes to socks4 '?do=embed' frameborder='0' data-embedContent>> Dampe was been working on it: '?do=embed' frameborder='0' data-embedContent>>1 point
-
kcvinu, What is wrong with clicking the tray icon? And if you have a GUI then the "{ESC}" key usually suffices to close it (which often ends the script if coded correctly). M231 point
-
I have similar problem with my notebook I can not use CTRL+Break or CTRL+ALT+BREAK because there is no BREAK button on my notebook keyboard. So the question is: Is it possible to use any setting in AutoIt3Wrapper to change this keys combination to another combination, for example by using any AutoIt3Wrapper directive ? mLipok1 point
-
Yep, we take our time, and think about how to use the language properly. Just look at the humble Pie Floater from my neck of the woods. I'm sure both British and American persons have been eating pies and pea soup for eons, but who thought of combining them? That's right, we did, and the wonderful name of Pie Floater, was born. For those who are ignorant of such fine culinary matters, a Pie Floater, is a bowl of pea soup, with a meat pie floating upside down in it, smothered with tomato sauce (ketchup to you Yankees). A wonderful treat late at night, after being at the pub and having too many drinks. Just the right thing to sober you up. Purchased from a Pie Cart of course. It works best, if both are so hot, they scald your mouth. But you don't care .... the booze has done it's preparatory job. Aussie English - The language of practical perfection and commonsense use.1 point
-
kcvinu, If the "Fn" key to which you refer is the one commonly found on laptops then AutoIt cannot action it as it is hardware based. > What are you trying to do with that key press? There might be other ways to produce the same effect. M231 point
-
Ctrl + Break is not working
sdfaheemuddin reacted to caramen for a topic
Sometime when you got only mouse move / click ... you just cant do that xD1 point -
advanced resizing problem
jaberwacky reacted to Zedna for a topic
1) if you want to use GUICtrlSetResizing() then use native AutoIt's controls, not UDF ones ;~ $combo2 = _GUICtrlComboBoxEx_Create($gui, "Combo2", 6, 574, 227, 200, $CBS_DROPDOWNLIST) ;~ GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKTOP + $GUI_DOCKBOTTOM + $GUI_DOCKWIDTH) $combo2 = GUICtrlCreateCombo("Combo2", 6, 574, 227, 200, $CBS_DROPDOWNLIST) GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKBOTTOM + $GUI_DOCKHEIGHT + $GUI_DOCKWIDTH) 2) if you really need UDF controls and not native ones then you have to do resizing of such controls yourself in WM_SIZE event GUIRegisterMsg($WM_SIZE, "WM_SIZE") Func WM_SIZE() GUICtrlSetPos(...) Return $GUI_RUNDEFMSG EndFunc1 point -
Unfortunately there is no help file for this UDF. Only Scite integration is possible. The docu is part of the UDF and can be found in the header lines for each function. Point the cursor to the #include <OutlookEX.au3> statement and click Alt+i and the include will be opened. Then click Alt+q to run SciTE Jump and you will get a list of functions. Select the one you need and the function will get focus in SciTE. To search for items in the inbox use functions _OL_FolderAccess and _OL_ItemFind. To send the mail use _OL_ItemCreate and _OL_ItemSend. Every function comes with an example script file.1 point
-
Range function to create instant integer arrays
kcvinu reacted to jaberwacky for a topic
Thanks for contributing! Here is another version (not extensively tested): #include <Array.au3> Const $test1 = Range(9) Const $test2 = Range(9, 3) Const $test3 = Range(9, 3, 2) Const $test4 = Range(9, -3) Const $test5 = Range(9, -3, 2) _ArrayDisplay($test1, "Range: 9") _ArrayDisplay($test2, "Range: 3 - 9") _ArrayDisplay($test3, "Range: 3 - 9 -- Step: 2") _ArrayDisplay($test4, "Range: -3 - 9") _ArrayDisplay($test5, "Range: -3 - 9 -- Step: 2") Switch @error Case 1 MsgBox(0, "Range Function", "To Number must be > From Number") Case 2 MsgBox(0, "Range Function", "Step Number must be < To Number") EndSwitch Func Range(Const $To_Number, Const $From_Number = 0, Const $Step_Number = 1) Select Case $To_Number < $From_Number Return SetError(1, 0, False) Case $Step_Number > $To_Number Return SetError(2, 0, False) EndSelect Local Const $upbound = _get_upbound($To_Number, $From_Number, $Step_Number) + 1 Local $range[$upbound] Local $inc = $From_Number For $i = 0 To $upbound - 1 $range[$i] = $inc $inc += $Step_Number Next Return $range EndFunc Func _get_upbound(Const $To_Number, Const $From_Number, Const $Step_Number) Local $upbound Select Case $From_Number < 0 $upbound = (Abs($From_Number) + $To_Number) Case Else $upbound = ($To_Number - $From_Number) EndSelect Return ($Step_Number > 1) ? ($upbound / $Step_Number) : ($upbound) EndFunc1 point