Jump to content

martin42

Members
  • Posts

    6
  • Joined

  • Last visited

martin42's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, this was my original point. there is no option to compile with UTF8 in Autoit, or if there is I have not come across this option. The only options I am aware of is to compile for 64 bit os or 32 bit os. Warm regards. Martin Webster.
  2. Hi and thanks for the answers so far, I think UTF8 support should be implemented in the next mayjor release of Autoit, as the docs on regular expressions programming say ascii is a lonely old world now a days. I am not an Autoit developer, but an extra optional flag could be added to StringRegExp so if the Autoit programmer wanted to compile the regular expression in UTF8 to support unicode within meta tokens we would have that choice. I do believe python handles this in a similar way, and I am not mixing and matching programming languages for my project having to learn two or three programming languages just to get what I want. what is the exact version of the PCRE engine Autoit is using?. Warm regards. Martin Webster.
  3. Hi All, I have to ask afew questions with regards to Autoit and regular expressions. First Which flavour of regular expression engine does the latest version ofr Autoit have. I found an old post from 6 years ago and that tells me that autoit uses the PCRE regular expression engine. If this is the case, does the latest version of Autoit have the latest version of the PCRE engine, which is Version 8.30 04-February-2012 or at least version eight. Second question: If Autoit indeed does have the PCRE engine and I want the (\ word boundary tokens to except unicode characters how do I get Autoit to compile in UTF8?, as this is what the docs state you must do if you want the (\ word boundary tokens to except unicode. I have to say at this point I have not tried to compile an Autoit script containing regular expressions, however I have compiled other autoit scripts and the only option that seems to be available is whether you want to compile for a 64 bit operating system or 32. Lastly, are there any examples of Autoit being used with regular expressions other than the short article in the help docs. Warm regards. Martin Webster.
  4. Hi Mellow,I'll look at the help docs for the DLL functions you mentioned all though for now I think I'll just let autoIt handle things. It's a great scripting language I am really pleased with it so far. Thanks for your help. Warm regards. Martin Webster.
  5. Hi, Thanks for your reply, but there may be times when I need window-eyes to handle the function, this is of course not one of thoughs situations, but if I wanted window-eyes to handle the helloWorld function, via the Keyboard Object and RegisterHotkey property, then how do I do this using the ObjEvent function?. I will try and give you a scenario where this could be needed , I may have to have absolute control of the speech output, and therefore have to tell window-eyes to SHUTUP!!!!. smile, sorry this is not a good example, in fact I'd say it's rubbish if I heard it from anybody else smile LOL. Sometimes it would just be better to let window-eyes handle events. If you could give me another lesson with the ObjEvent function, that would be cool. Thanks again so much. Warm regards. Martin Webster.
  6. Hi all, Can somebody help me to convert the following VBScript to AutoIt. I think I could manage most of it myself but haven't worked out how to use the ObjEvent function in this situation. I am connecting to the windoweyes.application, and registering a hotkey via window-eyes com object. For thoughs who don't know, Window-eyes is a screenreader for the blind. Where can I find the VBScript converter tool I can't seem to find it anythere?. Please help. Begin VBScript: Dim MyHotKey, keyFlag keyFlag = False Set WE = CreateObject("WindowEyes.Application") set MyHotKey = WE.Keyboard.RegisterHotkey("control-shift-c", GetRef("helloWorld")) While Not keyFlag wscript.Sleep 100 Wend WE.Speech.Speak "all done, thanks for playing" Sub helloWorld() WE.Speech.Speak "hello world" keyFlag = True End Sub Thanks for any help here. Warm regards. Martin Webster.
×
×
  • Create New...