This is the schema pic >> http://x.co/wiMP
I want to pull outside window and inside inside list would be pulled proportionally...
How can I make it?
Thanks
I want to pull outside window and inside inside list would be pulled proportionally...
How can I make it?
Thanks
[ autoit ]
#include <File.au3> #include <Array.au3> #include <GuiListView.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #include <WindowsConstants.au3> Local $clipArray Local $clipOpenFile = FileOpenDialog("Copy Tool", @DesktopDir & "\", "Format(*.txt; *.au3; *.htm; *.php; *.html; *.js)", 1) If Not @error Then $flag1 = True $clipForm = GUICreate("Copy Tool", 364, 468, -1, -1, BitOR($WS_POPUP, $WS_BORDER, $WS_CLIPSIBLINGS, $WS_OVERLAPPEDWINDOW)) WinSetOnTop("Copy Tool", "", 1) $EnterKey = GUICtrlCreateCheckbox("", 4, 0, 15, 20) $LEnterKey = GUICtrlCreateLabel("Send Enter", 20, 4, 70, 20) $clipList = _GUICtrlListView_Create($clipForm, "", 0, 20, 364, 448) $ClickItem = _GUICtrlListView_InsertColumn($clipList, 0, "Click to paste on text field..", 550) _GUICtrlListView_SetExtendedListViewStyle($clipList, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT)) _FileReadToArray($clipOpenFile, $clipArray) For $I = 1 To UBound($clipArray) - 1 _GUICtrlListView_AddItem($clipList, $clipArray[$I], 0) Next GUICtrlSetState($EnterKey, $GUI_CHECKED) GUISetBkColor(0x333333, $clipForm) GUICtrlSetColor($LEnterKey, 0xFFFFFF) GUISetState(@SW_SHOW) EndIf If $clipOpenFile <> '' Then While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $GUI_EVENT_PRIMARYDOWN $ci = GUIGetCursorInfo() If IsArray($ci) Then If $ci[4] = $ClickItem Then $getItemTxt = _GUICtrlListView_GetItemTextString($clipList) If $getItemTxt <> '' Then If GUICtrlRead($EnterKey) == $GUI_CHECKED Then ClipPut($getItemTxt & @CRLF) Else ClipPut($getItemTxt) EndIf Send("!{TAB}") Sleep(100) Send("^v") EndIf EndIf EndIf EndSwitch WEnd EndIf