-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.xaml
195 lines (195 loc) · 15.9 KB
/
Main.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<Activity mc:Ignorable="sap sap2010" x:Class="Main" this:Main.in_Number1="2" this:Main.in_MathematicalOperator="*" this:Main.in_Number2="4" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib" xmlns:this="clr-namespace:" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="in_Number1" Type="InArgument(x:Int32)" />
<x:Property Name="in_MathematicalOperator" Type="InArgument(x:String)" />
<x:Property Name="in_Number2" Type="InArgument(x:Int32)" />
<x:Property Name="out_Result" Type="OutArgument(x:String)" />
</x:Members>
<mva:VisualBasic.Settings>
<x:Null />
</mva:VisualBasic.Settings>
<sap:VirtualizedContainerService.HintSize>1814,2000</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef>
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>System.ValueTuple</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.CV</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence sap:VirtualizedContainerService.HintSize="536,1795" sap2010:WorkflowViewState.IdRef="Sequence_3">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="mathematicalOperatorString" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:InvokeCode ContinueOnError="{x:Null}" Code="If mathematicalOp = "+" 
	result = "plusButton"
End If
If mathematicalOp = "-" 
	result = "minusButton"
End If
If mathematicalOp = "*" 
	result = "multiplyButton"
End If
If mathematicalOp = "/" 
	result = "divideButton"
End If" DisplayName="Invoke code" sap:VirtualizedContainerService.HintSize="494,164" sap2010:WorkflowViewState.IdRef="InvokeCode_1">
<ui:InvokeCode.Arguments>
<InArgument x:TypeArguments="x:String" x:Key="mathematicalOp">[in_MathematicalOperator]</InArgument>
<OutArgument x:TypeArguments="x:String" x:Key="result">[mathematicalOperatorString]</OutArgument>
</ui:InvokeCode.Arguments>
</ui:InvokeCode>
<ui:OpenApplication ApplicationWindow="{x:Null}" Arguments="{x:Null}" TimeoutMS="{x:Null}" WorkingDirectory="{x:Null}" DisplayName="Open Application 'ApplicationFrameHost.ex...'" FileName="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" sap:VirtualizedContainerService.HintSize="494,1368" sap2010:WorkflowViewState.IdRef="OpenApplication_1" InformativeScreenshot="c7bb9622815c0d609ae0f7357b214d0d" Selector="<wnd app='applicationframehost.exe' appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' />">
<ui:OpenApplication.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence sap:VirtualizedContainerService.HintSize="460,1222" sap2010:WorkflowViewState.IdRef="Sequence_4">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="418,728" sap2010:WorkflowViewState.IdRef="Sequence_2">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Standard" sap:VirtualizedContainerService.HintSize="376,636" sap2010:WorkflowViewState.IdRef="Sequence_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:Click AlterIfDisabled="{x:Null}" DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click 'Schaltfläche Eins'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_1" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" SimulateClick="False">
<ui:Click.CursorPosition>
<ui:CursorPosition OffsetX="82" OffsetY="15" Position="TopLeft" />
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="12a95d31-e2de-4a70-853e-f6ad94ed7d28" InformativeScreenshot="08a9b74b7819e2d5de3aa2f775af3acd" Selector="<wnd app='applicationframehost.exe' omit:appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' /><uia cls='LandmarkTarget' /><uia automationid='NumberPad' cls='NamedContainerAutomationPeer' omit:name='Zehnertastatur' /><uia automationid='num{{in_Number1}}Button' cls='Button' omit:name='Eins' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click 'Schaltfläche Plus'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_2" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" SimulateClick="False">
<ui:Click.CursorPosition>
<ui:CursorPosition OffsetX="53" OffsetY="18" Position="TopLeft" />
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="a66226b0-7a69-4b7e-8932-d971fa4c6ac0" InformativeScreenshot="94d46ba07edc62f11e4594747d4aba92" Selector="<wnd app='applicationframehost.exe' omit:appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' /><uia cls='LandmarkTarget' /><uia automationid='StandardOperators' cls='NamedContainerAutomationPeer' omit:name='Standardoperatoren' /><uia automationid='{{mathematicalOperatorString}}' cls='Button' omit:name='Plus' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click 'Schaltfläche Zwei'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_3" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" SimulateClick="False">
<ui:Click.CursorPosition>
<ui:CursorPosition OffsetX="29" OffsetY="24" Position="TopLeft" />
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="d7e0f57e-6429-41d2-98e7-3e5b33c3759e" InformativeScreenshot="bd2ab4c08f61c85d5fa484e12ca9410f" Selector="<wnd app='applicationframehost.exe' omit:appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' /><uia cls='LandmarkTarget' /><uia automationid='NumberPad' cls='NamedContainerAutomationPeer' omit:name='Zehnertastatur' /><uia automationid='num{{in_Number2}}Button' cls='Button' omit:name='Zwei' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click 'Schaltfläche Gleich'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_4" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" SimulateClick="False">
<ui:Click.CursorPosition>
<ui:CursorPosition OffsetX="52" OffsetY="20" Position="TopLeft" />
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="f42202d4-222b-4f93-a6d8-292d37443686" InformativeScreenshot="374d5a1b1bd4e17f994f979edcb81b3d" Selector="<wnd app='applicationframehost.exe' omit:appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' /><uia cls='LandmarkTarget' /><uia automationid='StandardOperators' cls='NamedContainerAutomationPeer' omit:name='Standardoperatoren' /><uia automationid='equalButton' cls='Button' omit:name='Gleich' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
</Sequence>
</Sequence>
<ui:SendHotkey ClickBeforeTyping="{x:Null}" DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" EmptyField="{x:Null}" SendWindowMessages="{x:Null}" SpecialKey="{x:Null}" Activate="True" DisplayName="Send Hotkey 'Windows.UI.Core.CoreWin...'" sap:VirtualizedContainerService.HintSize="418,154" sap2010:WorkflowViewState.IdRef="SendHotkey_1" Key="c" KeyModifiers="Ctrl">
<ui:SendHotkey.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="6cb247f1-7ec2-4f85-9e37-e7c12086f48a" InformativeScreenshot="a2f35d966083c696a53ccb22ffd74c4c" Selector="<wnd cls='Windows.UI.Core.CoreWindow' omit:title='Rechner' />" TimeoutMS="1000">
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:SendHotkey.Target>
</ui:SendHotkey>
<ui:GetFromClipboard DisplayName="Get From Clipboard" sap:VirtualizedContainerService.HintSize="418,22" sap2010:WorkflowViewState.IdRef="GetFromClipboard_1" TimeoutMS="1000">
<ui:GetFromClipboard.Result>
<OutArgument x:TypeArguments="x:String">[out_Result]</OutArgument>
</ui:GetFromClipboard.Result>
</ui:GetFromClipboard>
<ui:CloseApplication DisplayName="Close Application 'Windows.UI.Core.CoreWin...'" sap:VirtualizedContainerService.HintSize="418,106" sap2010:WorkflowViewState.IdRef="CloseApplication_1">
<ui:CloseApplication.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="804b1323-e825-4194-b15b-11fb8b80b799" InformativeScreenshot="87bf1a61d7694dde50682d70f4ff6d82" Selector="<wnd app='applicationframehost.exe' omit:appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' omit:title='Rechner' idx='*' /><wnd cls='Windows.UI.Core.CoreWindow' omit:title='Rechner' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:CloseApplication.Target>
</ui:CloseApplication>
</Sequence>
</ActivityAction>
</ui:OpenApplication.Body>
</ui:OpenApplication>
<ui:LogMessage DisplayName="Log Message" sap:VirtualizedContainerService.HintSize="494,91" sap2010:WorkflowViewState.IdRef="LogMessage_2" Level="Info" Message="[out_Result]" />
</Sequence>
</Activity>