joeyeti Posted August 17, 2017 Share Posted August 17, 2017 HI folks, while using Outlook 2013 I am always irritated by the small size of the "Move Items" window. Not sure if this can be resolved without AutoIt, but can you give me any pointers as to how to resize that inner Class (SysTreeView32 according to Au3Info) inside that window? I can resize the window itself, as shown below, but the scrollable list stays the same size... Link to comment Share on other sites More sharing options...
MattHiggs Posted August 17, 2017 Share Posted August 17, 2017 3 minutes ago, joeyeti said: HI folks, while using Outlook 2013 I am always irritated by the small size of the "Move Items" window. Not sure if this can be resolved without AutoIt, but can you give me any pointers as to how to resize that inner Class (SysTreeView32 according to Au3Info) inside that window? I can resize the window itself, as shown below, but the scrollable list stays the same size... Pretty sure its not possible. Since the window you are trying to manipulate is not an autoit window, concerning control manipulation, you are pretty much limited to the below functions: Link to comment Share on other sites More sharing options...
joeyeti Posted August 17, 2017 Author Share Posted August 17, 2017 Thx Matt! After fiddling with ControlMove I finally got it. Not sure if the Class name for the "Move Items" window is different on a different PC and I could have used the Window name instead, but whatever, it works nevertheless. I also moved the lower two buttons, just for visuals. If WinExists ("Move Items","Move the selected items to") then WinActivate("Move Items","Move the selected items to") WinMove("Move Items","Move the selected items to", 350, 50, 620, 800) ; Move the SysTreeView32 and Button controls of Outlook 2013 (window "Move Items"). ControlMove("[CLASS:#32770]", "", "[CLASS:SysTreeView32; INSTANCE:1]", 6, 23, 500, 750) ControlMove("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]", 520, 23) ControlMove("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:2]", 520, 73) ControlMove("[CLASS:#32770]", "", "[CLASS:Button; INSTANCE:3]", 520, 103) Sleep(2500) EndIf spudw2k 1 Link to comment Share on other sites More sharing options...
spudw2k Posted August 17, 2017 Share Posted August 17, 2017 1 hour ago, MattHiggs said: ...Since the window you are trying to manipulate is not an autoit window, Not true. the Control* functions you pointed out can manipulate controls not created (instantiated) by AutoIt. The ControlMove function has an example (for example) which resized the Edit control inside Notepad. If memory serves, many of the _GUI* UDF functions can also interact with controls not created with AutoIt as long as you have the proper handle, but I can't find an example to demonstrate this...so I might be crazy. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now