Jump to content

Recommended Posts

Posted

I'm working in a program launcher, and I like the idea to put a combo box in the taskbar like the program "Launch-n-go" do see this link http://www.tethyssolutions.com/lng-screenshots.htm.

Is it possible in AutoIt? please give me some ideas

thanks in advance

With the latest betas, given some time someone could figure out how to do it.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted (edited)

1st get ANYGUIv2.6.au3

2nd I had to modify the _GuiTarget function to get it to work for me

From:

$hWnd = WinGetHandle($wintitle)
 If Not ($controlid = 0) Then $hWnd = ControlGetHandle($wintitle, $wintext, $controlid)

To:

If @NumParams = 4 Then 
        $hWnd = ControlGetHandle($wintitle, $wintext, $controlid)
    Else
        $hWnd = WinGetHandle($wintitle)
    EndIf

Example Script:

#include "ANYGUIv2.6.au3"

WinMinimizeAll()
$h_taskbar = _GuiTarget ("", 0, "Start", "ToolbarWindow322")
$a_info = _TargetaddCombo ("", 575, 0, 100, 120, -1, -1, $h_taskbar)
GUICtrlSetData($a_info[0], "test1|test2|test3", "test2")
GUISetState(@SW_SHOW, $a_info[2])
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
WEnd

Gary

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...