Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous1184 committed May 22, 2021
2 parents 40eb480 + c621ead commit 7065e8a
Show file tree
Hide file tree
Showing 74 changed files with 3,500 additions and 668 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
release/*
# Folders
.vscode
dev
release

# Types
*.code-workspace
47 changes: 47 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
YYYY/MM/DD - MAJOR.MINOR.RELEASE
————————————————————————————————
[+] = Added
[*] = Changed
[-] = Removed
[^] = Moved
[=] = Unchanged
[!] = Fix / Security


2021/05/21 - 1.0.0
——————————————————
[!] Less fatal errors
[!] Full Unicode support (#2)
[!] Performance improvements
[!] Support for passwords with spaces (#3)
[-] Sync at login
[-] oathtool for TOTP
[+] Browser support
[+] Keepass placeholders
[+] Unlock via TOTP
[+] Unlock/Login via PIN
[+] favicon support for account selection
[+] Major Browsers Support
[+] Multiple account support per service
[+] Scheduled sync
[+] Automatic logout
[+] Secure Password Generator
[+] Two-Channel Auto-Type Obfuscation
[+] Autorun at system startup
[+] Ability to install and run with UI Access
[+] Update checking
[+] TOTP and Username-only hotkeys
[^] AutoHotkey version 1.1.33.09
[^] Bitwarden CLI version >= 1.11.0


2020/04/07 - 0.0.2
——————————————————
[!] Issue #1
[+] Build script
[=] Bitwarden CLI version >= 1.9.0


2020/03/24 - 0.0.1
——————————————————
[+] Initial release
46 changes: 46 additions & 0 deletions Lib/Acc.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

; Improved Core of the Acc.ahk Standard Library
; http://autohotkey.com/board/topic/77303-/?p=491516
; https://gist.github.com/tmplinshi/2d3a1deb693e72789d8f

Acc_ObjectFromWindow(hWnd, idObject := -4)
{
static h := DllCall("Kernel32\LoadLibrary", "Str","oleacc.dll", "Ptr")
pAcc := ""
if !DllCall("oleacc\AccessibleObjectFromWindow"
, "Ptr" ,hWnd
, "UInt",idObject &= 0xFFFFFFFF
, "Ptr" ,-VarSetCapacity(IID, 16) + NumPut(idObject==0xFFFFFFF0?0x46000000000000C0:0x719B3800AA000C81, NumPut(idObject==0xFFFFFFF0?0x0000000000020400:0x11CF3C3D618736E0, IID, "Int64"), "Int64")
, "Ptr*",pAcc)
return ComObjEnwrap(9, pAcc, 1)
}

Acc_Children(Acc)
{
static procAddr := DllCall("Kernel32\GetProcAddress"
, "Ptr" ,DllCall("Kernel32\GetModuleHandle", "Str","oleacc.dll", "Ptr")
, "AStr","AccessibleChildren"
, "Ptr" )
if ComObjType(Acc, "Name") != "IAccessible"
throw Exception("Invalid IAccessible Object", -1)
children := []
cChildren := Acc.accChildCount
VarSetCapacity(varChildren, cChildren * (8 + 2 * A_PtrSize), 0)
if DllCall(procAddr
, "Ptr" ,ComObjValue(Acc)
, "Int" ,0
, "Int" ,cChildren
, "Ptr" ,&varChildren
, "Int*",cChildren)
throw Exception("AccessibleChildren DllCall Failed", -1)
loop % cChildren
i := (A_Index - 1) * (A_PtrSize * 2 + 8) + 8
, child := NumGet(varChildren, i)
, children.Insert(NumGet(varChildren, i - 8) = 9 ? Acc_Query(child) : child)
return children.MaxIndex() ? children : false
}

Acc_Query(Acc)
{
try return ComObj(9, ComObjQuery(Acc, "{618736e0-3c3d-11cf-810c-00aa00389b71}"), 1)
}
Loading

0 comments on commit 7065e8a

Please sign in to comment.