Jump to content

Leaderboard

Popular Content

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

  1. Take a look at this and you should see why (no pun intended): Local $vTopCount = 1 Local $vBottomCount = 1 Local $vFindStart = "y" DO MsgBox(0,"",$vTopCount) If $vFindStart = 'X' Then $vTopCount = $vTopCount + 1 $vBottomCount = $vBottomCount + 1 EndIf Until $vFindStart = 0 MsgBox(0,"",$vTopCount)
    2 points
  2. interesting. Attached is a screenshot of it on my PC. I notice your item handles look like they are 32-bit compared to mine. Are you sure you are running the x64 AutoIt Interpreter? Perhaps correcting the Usex64 wrapper as follows will help: #AutoIt3Wrapper_UseX64=y. I corrected it above. I suspect without the =y it is being omitted. The default interpreter on my machine is x64, whereas it is x32 on yours...my hunch.
    1 point
  3. Is there a way to remove the numbers from the tabs in Scite? When you have multiple autoit programs open, the tabs are numbered, so you'll get something like 1 ProgramA.au3 2 Program2.au3 3 Program3.au3 I am working on programs with numbers as the first character, so I get 1 3-DoThis.au3 2 4-DoAnother.au3 3 5-DoTheRest.au3 (not the real program names, obviously :)) It would be nice if I could get rid of the tab number, and just have the program name on each tab.
    1 point
  4. The light bulb came on finally. Thank you! Local $vTopCount = 1 Local $vFindStart = 0 Do MsgBox(0,"",$vTopCount) If $vFindStart <> "" Then ;Will loop if anything is in cell $vTopCount = $vTopCount + 1 EndIf MsgBox(0,"",$vTopCount) Until $vFindStart = 0 Edit: Local $vTopCount = 1 Local $vFindStart = "X" Do MsgBox(0,"",$vTopCount) If $vFindStart <> "" Then ;Will loop if anything is in cell $vTopCount = $vTopCount + 1 EndIf MsgBox(0,"",$vTopCount) Until $vTopCount = 2
    1 point
  5. Try this too : Local $vFindStart = 0 MsgBox ($MB_SYSTEMMODAL,"",$vFindStart = 'X') Comparing number and string are rarely a good idea
    1 point
  6. BrewManNH

    .

    Instead of checking to see if the variable is declared, why not just declare it yourself at the start of the script? That way you'll know it's declared and then you can assign a value to it later.
    1 point
  7. Add the following line to your Sciteuser.properties file -- tabbar.hide.index=1
    1 point
  8. Use function _OL_FolderClassSet for an example how to set a property using PropertyAccessor.
    1 point
  9. System will not resize GUI and controls according to DPI scaling. You must do this manually. For example ; current value of primary monitor DPI is stored in the registry: ; HKCU\Control Panel\Desktop\WindowMetrics, AppliedDPI ; need to relogin after DPI changed to update this value $Scale = RegRead("HKCU\Control Panel\Desktop\WindowMetrics", "AppliedDPI") / 96 DllCall("User32.dll", "bool", "SetProcessDPIAware") GUICreate("DPI test", 200 * $Scale, 100 * $Scale) GUICtrlCreateButton("test button text", 10 * $Scale, 10 * $Scale, 80 * $Scale, 25 * $Scale) GUICtrlCreateCombo("test combo text", 10 * $Scale, 40 * $Scale, 100 * $Scale, 25 * $Scale) GUICtrlCreateLabel("test label text", 10 * $Scale, 70 * $Scale, 70 * $Scale, 25 * $Scale) GUISetState() Do Until GUIGetMsg() = -3
    1 point
  10. $oExcel.Application.ActiveWindow.ScrollRow = 1
    1 point
  11. Damein

    Zoom In IE

    Well, the default key to set zoom, if I remember correctly (I know for sure in Firefox & Chrome) is Ctrl+0 not, ++. Why is this not a reliable way, so long as you first focus the program on the IE window?
    1 point
×
×
  • Create New...