Re: help with the INIFile object

2012-02-08 Thread martin webster
Hi all,  Aaron, Still can't get this to work. I'm getting the following error: TestIni.vbs - Microsoft VBScript runtime error Line 5 Column 1 Object doesn't support this property or method: 'INIFile(...).GetINISectionNames' < 0x800A01B6 > What's wrong with it now! Below follows the structure of th

executing cursor keys

2012-02-08 Thread Sean Farrow
Hi; Is there a way to execute a cursor key and it's actions. I don't see anything in the CursorKey object, whereas in the Hotkey object there is an execute method. Any help appreciated. Cheers Sean.

Easy CD-DA Extractor Enhanced released

2012-02-08 Thread Vic Beckley
Hi all, I have released a new app that works with the Easy CD-DA Extractor CD ripper and burner. It makes the lists of songs readable and adds many more convenience hotkeys. Below is the Help information from the app. I hope someone gets some use out of this app. If there are any problems or any f

RE: possible idl bug

2012-02-08 Thread Sean Farrow
Cheers Ron! Didn't think I'd have to use query interface, but that's fine. Sean. From: Ron Parker [mailto:r...@gwmicro.com] Sent: 08 February 2012 18:15 To: gw-scripting@gwmicro.com Subject: Re: possible idl bug I'm not sure why it returns a VARIANT, since all it ever contains is either an erro

Re: possible idl bug

2012-02-08 Thread Ron Parker
I'm not sure why it returns a VARIANT, since all it ever contains is either an error or a _Key object, but that is indeed what it returns. To turn that into a _Key, you need to do: Wineyes::_Key *Temp = NULL; if ( test.vt == VT_DISPATCH && test.pdispVal ) { test.pdispVal->QueryInterface( _

possible idl bug

2012-02-08 Thread Sean Farrow
Hi: I'm trying to obtain a Key from a hotkey and have the following c++ snipitt: //now obtain a key object to get the key combination. VARIANT test; Hotkey->get_Key(&test); Wineyes::_Key* Temp =(Wineyes::Key*)test; I am told that there

Re: Hotkeys and activeWindow queries

2012-02-08 Thread Aaron Smith
All of the Hotkeys should have a description, as they're the same Hotkeys that you find in the Window-Eyes UI. Aaron On 2/8/2012 9:53 AM, Sean Farrow wrote: Thanks both, I'll take a look at that. Do all in built hotkeys have a description?, I am needing something to output in a user interfa

RE: Hotkeys and activeWindow queries

2012-02-08 Thread Sean Farrow
Thanks both, I'll take a look at that. Do all in built hotkeys have a description?, I am needing something to output in a user interface, and description is the only thing I can see that would work. By in built I mean hotkeys in the Hotkeys collection? Cjheers Sean. From: Aaron Smith [mailto:aa.

Re: Hotkeys and activeWindow queries

2012-02-08 Thread Aaron Smith
The GWToolkit's HotkeyManager object attempts to track down key duplicates, so you could examine that source for inspiration. Aaron On 2/8/2012 9:27 AM, Doug Geoffray wrote: You'll just have to loop through all the lists. By the way, it is Hotkeys.GetDuplicates, not Hotkey.GetDuplicates. So

Re: Hotkeys and activeWindow queries

2012-02-08 Thread Doug Geoffray
You'll just have to loop through all the lists. By the way, it is Hotkeys.GetDuplicates, not Hotkey.GetDuplicates. So you could use this method to compare against all the hotkeys. But there isn't a single magic method that takes these three objects and returns conflicts. But you can certain

RE: Hotkeys and activeWindow queries

2012-02-08 Thread Sean Farrow
What is the best way of picking up duplicates? Will Hotkey.GetDuplicates work to pick up cursor keys/registered keys or have I got to do this myself? Essentially what I'm looking for is a list of all hotkey/CursorKey/RegisteredHotkeyts with out any duplicates. Cheers Sean. From: Doug Geoffray [m

Re: help with the INIFile object

2012-02-08 Thread martin webster
Hi Aaron, Thanks man, this one did have me puzzled, as I was unclear whether the actual INIFile object could create a file and open it. My understanding of it was I had to create and open the file then read from it, and then close it afterwards. Cheers!!! Warm regards. Martin Webster. --- On We

Re: Hotkeys and activeWindow queries

2012-02-08 Thread Doug Geoffray
Sure, I could have a set file and define a keystroke as a hotkey, also define it as a cursor key and also define it in some running App. Doug On 2/7/2012 5:38 PM, Sean Farrow wrote: Sorry, if I have a setfile.hotkeys, setfile.CursorKeys and keyboard.registeredHotkeys collection will any of t

Re: help with the INIFile object

2012-02-08 Thread Aaron Smith
Martin, INIFile is a Window-Eyes object. You're trying to set it to a FileSystemObject instead, which isn't going to work. INIFile handles all the reading and writing to INI files. You don't need to involve any additional file system objects. Your routine should look like this: Sub ReadIni(