Added back ValueProperty, renamed config properties
uiabridge will display ValueProperty if element supports it. if uiabridge is disabled in synthuse.properties the native library will not be loaded. Added Trigger hot key Ctrl+Shift+` Added hotkey configurations in synthuse.properties
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -45,7 +45,7 @@ void AutomationBridge::initializeCache()
|
||||
cacheRequest->Add(AutomationElement::NameProperty);
|
||||
cacheRequest->Add(AutomationElement::BoundingRectangleProperty);
|
||||
*/
|
||||
System::String ^cachedPropStr = L"RuntimeIdProperty,ParentRuntimeIdProperty,NativeWindowHandleProperty,ProcessIdProperty,FrameworkIdProperty,LocalizedControlTypeProperty,ControlTypeProperty,ClassNameProperty,NameProperty,BoundingRectangleProperty";
|
||||
System::String ^cachedPropStr = L"RuntimeIdProperty,ParentRuntimeIdProperty,NativeWindowHandleProperty,ProcessIdProperty,FrameworkIdProperty,LocalizedControlTypeProperty,ControlTypeProperty,ClassNameProperty,NameProperty,BoundingRectangleProperty,ValueProperty";
|
||||
array<AutomationProperty^> ^rootProperties = AutomationElement::RootElement->GetSupportedProperties();
|
||||
List<AutomationProperty^> ^cacheList = gcnew List<AutomationProperty^>();
|
||||
if (cachedPropStr->Contains(L"NativeWindowHandleProperty")) //special property not in the root property list
|
||||
@@ -53,6 +53,11 @@ void AutomationBridge::initializeCache()
|
||||
cacheList->Add(AutomationElement::NativeWindowHandleProperty);
|
||||
cacheRequest->Add(AutomationElement::NativeWindowHandleProperty);
|
||||
}
|
||||
if (cachedPropStr->Contains(L"ValueProperty")) //special property not in the root property list
|
||||
{
|
||||
cacheList->Add(ValuePattern::ValueProperty);
|
||||
cacheRequest->Add(ValuePattern::ValueProperty);
|
||||
}
|
||||
for each(AutomationProperty ^ap in rootProperties) //loop through all supported Properties for a child
|
||||
{
|
||||
System::String ^currentPropertyStr = L""; //current property values
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
||||
Reference in New Issue
Block a user