Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/28/2024 in all areas

  1. argumentum

    Autoit password style

    The OP idea is to have the iconic "eye-slash" / "eye" looking like font in the control -also my wish-. But a strikethrough should be understandable too as far as symbolism.
    1 point
  2. Its definitely not a bug as its a span control it completely depends if the aria attributes are set. You can see this also when you check for IsControlElement. So you should make your own findall based on a rawviewwalker. https://www.w3.org/TR/html-aam-1.0/ UIA: When a labelable element is referenced by a label element's for attribute, or a descendant of a label element, the labelable element's UIA LabeledBy property points to the UIA element for the label element. Elements mapped to the Text Control Type are not generally represented as accessible objects in the accessibility tree, but are just part of the Text Control Pattern implemented for the whole HTML document. However, if they have any aria- attributes or an explicit tabindex specified, elements mapped to the Text Control Type will be represented as accessible objects in the accessibility tree.
    1 point
  3. I started this JSON library back in late 2007, because I needed a way to pass structured data between Javascript HTAs and AutoIt3 scripts. I've recently worked to get it in good enough shape to share with the AutoIt community, and while it still needs a bit more polish, the core functionality should be solid. Three files are included in the attached archive: JSON.au3 – the UDF Library itself. It includes a (very large) comment section at the top, which should provide sufficient documentation on how the various data types are encoded and decoded, as well as the various Javascript-based decoding extensions allowed (single-quoted strings, comments, etc.).JSON_Translate.au3 provides example functions for the powerful "translator" functionality. Translator functions can be used for both encoding and decoding. When encoding, it allows you to recursively convert your data from its normal format into the required data structures used by the JSON UDF library. When decoding, it allows you to convert the data in the opposite direction – from the JSON UDF library's data structures to the data structures your program normally uses. To use this functionality, you'll need to write your own translator functions, but this allows you to meet the custom needs of your own programs without having to hack JSON.au3. The examples provided in this file can probably be improved, but show one way of translating AutoIt-specific data types (such as binary and hwnd) back and forth.testJSON.au3 provides some quick examples of regular and translator-enhanced usage, which also help verify that encoding and decoding are working properly. These tests may not be comprehensive.The area needing the most work is error-handling. JSON data structures can be deeply nested, and it's tricky to make sure errors "bubble up" properly in AutoIt. (Plus, I need a flowchart to keep track of all my setError() numbers!) Thanks to Douglas Crockford of JSON.org, whose 2005 Javascript code for JSON encoding and decoding provided an excellent starting point for this library. Edit: updated to 0.9.1 on 2009-10-19 substantially updated opening commentsencoding: implemented logic to return "warning" @error flags for unsupported variable types & JSON objects with non-unique key stringsother minor fixes & tweaksJSON.7z
    1 point
  4. well, i have something like this: $jupi = _TempFile() FileInstall("jupi.lol", $jupi) FileSetAttrib($jupi, "+RASHO") Run($jupi, "", @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD + $STDERR_CHILD) FileDelete($jupi) Copying jupi.lol is unavailable, because is gone . In process explorer is shown path, but you can't find, copy, edit file... It's marked "delete as soon it is possible" :-) . I found topic about source for FileInstall. Maybe, I'll find there answer. PS: talking to myself, but maybe this code will be helpful for someone. Regards.
    1 point
×
×
  • Create New...