Search found 455 matches

by zcooler
03 May 2017, 16:11
Forum: Ask For Help
Topic: XML DOM travers parentnode attributes
Replies: 0
Views: 220

XML DOM travers parentnode attributes

Hi, I did find this one trickier than usual when the attributes Im after all are in the parentnode. How to tackle it? kkkkk = ( <channels> <root name="DVB-T Europe"> <group name="Box"> <channel nr="0" name="SVT1 HD" EPGID="882843412989264" flags="24" ID="3713217920236979536"></channel> <channel nr="...
by zcooler
03 May 2017, 11:32
Forum: Scripts and Functions
Topic: ToolTipEx - custom fonts and colors in ToolTips
Replies: 40
Views: 13609

Re: ToolTipEx - custom fonts and colors in ToolTips

Hi zcooler, I'm pretty sure they are drawing the tooltip themselves in case they actually use a common tooltip control. Hi just me, Hmm interesting...you mean with gdi+? Had no plans to venture there, but getting this stuff working it makes me curious. So that would mean padding the tooltip text to...
by zcooler
02 May 2017, 16:33
Forum: Scripts and Functions
Topic: ToolTipEx - custom fonts and colors in ToolTips
Replies: 40
Views: 13609

Re: ToolTipEx - custom fonts and colors in ToolTips

Joedf, ToolTips only support icons (within the title, but the title text won't be drawn using the specified font's size), 16 * 16 on Win XP and also 32 * 32 on Vista+. Do you want them? Hey just me, I did some testing with TooltipEx() and AddTooltip() and this limitation is a total buzzkill. Althou...
by zcooler
02 May 2017, 13:46
Forum: Ask For Help
Topic: COM Interface delphi to AHK array troubles
Replies: 7
Views: 951

Re: COM Interface delphi to AHK array troubles

At least im getting some numbers from the array using this, so i must be on the right track. Although I have no idea what im doing :oops: msgbox 1: Variant type: 9 Type name: IDVBViewer3 Interface ID: {CA8A3ACB-6635-4399-8967-C9BA40F719EA} msgbox 2: 8201 {CA8A3ACB-6635-4399-8967-C9BA40F719EA} msgbox...
by zcooler
02 May 2017, 12:47
Forum: Ask For Help
Topic: COM Interface delphi to AHK array troubles
Replies: 7
Views: 951

Re: COM Interface delphi to AHK array troubles

Please help me read this Delphi array into AHK. It should be possible to do it with help of ComObjArray() since AHK supports arrays containing up to 8 dimensions. Cannot work out how it is supposed to be done. This creates the array, but I cant enumerate it: iDVBViewer := ComObject("DVBViewerServer....
by zcooler
02 May 2017, 09:19
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

EDIT: Radio Togglechecks works just fine ... Because I already finished a revised version of the test script: Oh My...I messed up that too (Im too hasty as usual) :oops: I managed to get the CheckRadioGroup showing but the updating wasnt working. Never tested the latter before posting. Well, that d...
by zcooler
02 May 2017, 08:25
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

One word...AMAZING :clap: TooltipOnMenus.jpg The only sinister sideeffect I did encounter was radio togglechecks not working. I use them on the menu to see which channel is currently selected. I assume it might be problematic to get those radio togglechecks working with this awesome script of yours,...
by zcooler
01 May 2017, 12:59
Forum: Ask For Help
Topic: Execute PostMessage commands from array
Replies: 1
Views: 299

Re: Execute PostMessage commands from array

The answer was HotKeyIts dynacall: debug := "PostMessage, 0xB2C2, 0x0815, 0x08E,, ahk_class TfrmMain" ahkExec(debug) ahkExec(Script){ static ahkExec if !ahkExec ahkExec:=DynaCall(A_IsDll&&A_MemoryModule?MemoryGetProcAddress(A_MemoryModule,"ahkExec"):DllCall("GetProcAddress","PTR",A_ModuleHandle,"ASt...
by zcooler
01 May 2017, 11:21
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

Ok, thanks, I think you proved Leef_me right...this is impossble with current AHK.
by zcooler
01 May 2017, 10:28
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

Sorry for no linking and sorry it does not work. Thanks for trying though :) Menu MyMenu, Add, Item 1, no Menu MyMenu, Add, Item 2, no Menu MyMenu, Add, Item B, no ; Retrieve the number of items in a menu. item_count := DllCall("GetMenuItemCount", "ptr", MenuGetHandle("MyMenu")) ; Retrieve the ID of...
by zcooler
01 May 2017, 10:05
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

sancarn wrote:BOOL stands for Boolean. I.e. True/False.
Ok, so you are ready to give it a go fetching the Menu Item Rects, so we can test out if the Tooltip idea might work? ;)
by zcooler
01 May 2017, 09:58
Forum: Ask For Help
Topic: Execute PostMessage commands from array
Replies: 1
Views: 299

Execute PostMessage commands from array

Hi, Im curious wether it might be possible to execute PostMessage commands directly from an multidimensional associative array (will eventually be COM calls as well)? I have no intentions to take the easy road and split off the string and fill in the command strings (if avoidable). After all, Im her...
by zcooler
01 May 2017, 08:55
Forum: Ask For Help
Topic: How to get tooltip for a menu
Replies: 16
Views: 3850

Re: How to get tooltip for a menu

Since this seem to be a pretty sought after feature for AHK Im wondering if not a DLL call to the GetMenuItemRect function to get the Menu Item Rect (dont know exactly what the function returns cuz dll calls is mystery for me and i have no idea what BOOL is) and then use just me`s ToolTipEx to displ...
by zcooler
01 May 2017, 04:50
Forum: Ask For Help
Topic: Add Gui context Menu items on the fly
Replies: 6
Views: 1204

Re: Add Gui context Menu items on the fly

Yes, that was how i though I would handle it when the GUI context menu is working. Nonetheless I will abandon the Menu because of the Tooltip issue. The tooltip is an important key feature displaying Now and Next StartTime and TVshowEPGName for each channel :)
by zcooler
01 May 2017, 04:03
Forum: Ask For Help
Topic: Add Gui context Menu items on the fly
Replies: 6
Views: 1204

Re: Add Gui context Menu items on the fly

Hello just me, Well, each menu item label sends a different channel switching command (postmessage) or COM SendCommand. FavChannel_1: PostMessage, 0xB2C2, 0x0815, 0x08D,, ahk_class TfrmMain ;Channelchange to SVT1 HD 0x08E=SVT2, 0x08F=TV3 etc. ;iDVBViewer.SendCommand(11) ;Channelchange to Favourite 1...
by zcooler
30 Apr 2017, 15:27
Forum: Ask For Help
Topic: Add Gui context Menu items on the fly
Replies: 6
Views: 1204

Re: Add Gui context Menu items on the fly

It would have been cool if this had worked although I dont understand why it wouldnt: FavArray := ["S1HD", "SV2HD", "TV3"] Menu, DVBVContextMenu, Add Menu, DVBVContextMenu, DeleteAll For k, v in FavArray { ChannelName := v ChannelNumber := "FavChannel_" . k ;msgbox % ChannelName "`n" ChannelNumber M...
by zcooler
30 Apr 2017, 06:54
Forum: Ask For Help
Topic: Add Gui context Menu items on the fly
Replies: 6
Views: 1204

Add Gui context Menu items on the fly

Hi, I was wonder if someone might be so kind and point me in the right direction regarding creating Gui rightclick context Menus on the fly based on a channellist that varies in lenght depending on what channels the user has. In my case I have 14 favourite channels in an array and I wonder if it mig...
by zcooler
30 Apr 2017, 05:59
Forum: Ask For Help
Topic: SubStr InStr problem
Replies: 2
Views: 487

Re: SubStr InStr problem

Hey, just me,

That is precisely what I was after :)
Many Thanks
zcooler :wave:
by zcooler
30 Apr 2017, 05:36
Forum: Ask For Help
Topic: SubStr InStr problem
Replies: 2
Views: 487

SubStr InStr problem

Hmm...I should be abled to solve this one, but Im stuck and out of ideas. Its quite hard when the string Im after doesnt have anything to the right besides a newline char. I get odd results when Loop parsing it using the `n. Im after all channel names after "Favourites - " FavL := ( " #EXTM3U #EXTIN...
by zcooler
29 Apr 2017, 12:00
Forum: Ask For Help
Topic: COM Interface delphi to AHK array troubles
Replies: 7
Views: 951

COM Interface delphi to AHK array troubles

Hi, Im working on the DVBViewer COM interface trying to get an associative array containing all Favourite Channels, so that I can enumerate them and assign all channel menu items (14 channels). It seems language differences between c++ and AHK in how to assign arrays makes this quite hard to solve, ...

Go to advanced search