NoblePrimus Posted May 13, 2021 Share Posted May 13, 2021 I work in Health Care IT and I am trying to make an automation for our Pharmacy Big Boards. We use a program call Epic Hyperspace to display the information they need on the Board. I have everything up to an including logging in however once in there are buttons that need to be selected however they are not standard control type buttons for me to code to click them. Here is an image of what I am talking about: The three selected buttons are the one that need to be selected every time that it first comes up. I do know that the applications does use IE in some form on the window as it shows Internet Explorer_Server in the control class however I have no way to see the IE code only what is being displayed. I did think about mouse positioning but unfortunately the RX Board displays are not standard and different sizes so I am not sure how to click the location taking that into account. If anyone has any ideas I would love to hear them. Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 19, 2021 Author Share Posted May 19, 2021 Follow up to this issue and the vendor was able to provide the the control elements for the buttons. I assume I can use the IEAction to click this button. Here is the Element control ID for the button ctl_DispenseQueue_3_togAllDispenses. Can someone confirm? Link to comment Share on other sites More sharing options...
Gianni Posted May 19, 2021 Share Posted May 19, 2021 If the GUI is an HTML page embedded in the application by a BrowserControl, as it appears to be, before you can manage the components of that page you must create a reference to that embedded BrowserControl in your AutoIt script. To do this you can use _IEAttach. Read the help of that command. I don't have that application Epic Hyperspace you want to manage, but using the AutoIt help program as a "guinea pig", I can give a simple example to get you started. In fact the Help program has a BrowserControl incorporated and therefore you should proceed more or less in the same way. Before running this little script you need to open the AutoIt help and leave it open. You should also change the "AutoIt Help (v3.3.14.5)" string if your help version is different. Just as a simple example, the script will change the background color of the page displayed in the help. You should try something similar with your program... #include <IE.au3> Local $hWND = WinGetHandle("AutoIt Help (v3.3.14.5)") ; handle of the Hlp window MsgBox(0, "Debug", IsHWnd($hWND)) Local $oIE = _IEAttach($hWND, "embedded") ; get reference to the embedded BrowserControl MsgBox(0, "Debug", IsObj($oIE)) Local $oBody = $oIE.document.body ; get a reference of the <body> MsgBox(0, "Debug", IsObj($oBody)) $oBody.style.background = "red" ; mchange background color Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Gianni Posted May 19, 2021 Share Posted May 19, 2021 2 hours ago, NoblePrimus said: Follow up to this issue and the vendor was able to provide the the control elements for the buttons. I assume I can use the IEAction to click this button. Here is the Element control ID for the button ctl_DispenseQueue_3_togAllDispenses. Can someone confirm? once you have the reference to the BrowserControl in the $oIE variable, you have to get a also a reference to that button by it's ID: Local $oButton1 = _IEGetObjById($oIE, "ctl_DispenseQueue_3_togAllDispenses") and then you can use the IEAction function to click that button: _IEAction($oButton1, "click") Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 20, 2021 Author Share Posted May 20, 2021 Thanks for the response. However I am having issue where the button is not found. I created a debug for the button and I get 0 as a response. Local $hWND = WinGetHandle("[CLASS:ThunderRT6MDIForm]") ; handle of the Hlp window MsgBox(0, "Debug", IsHWnd($hWND)) Local $oIE = _IEAttach($hWND, "embedded") ; get reference to the embedded BrowserControl MsgBox(0, "Debug", IsObj($oIE)) Local $oButton1 = _IEGetObjById($oIE, "ctl_DispenseQueue_3_togAllDispenses") MsgBox(0, "Debug", IsObj($oButton1)) _IEAction($oButton1, "click") I went ahead and grabbed the summary of the window but I am not sure if this will help figure it out. >>>> Window <<<< Title: Hyperspace - WCH IP PHARMACY - UC Health TST Environment - CLIENT B. Class: ThunderRT6MDIForm Position: 50, 25 Size: 1820, 990 Style: 0x16CF0000 ExStyle: 0x00040100 Handle: 0x0000000000050728 >>>> Control <<<< Class: Internet Explorer_Server Instance: 1 ClassnameNN: Internet Explorer_Server1 Name: Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1] ID: Text: Position: 5, 86 Size: 1794, 860 ControlClick Coords: 98, 53 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x00000000000306E4 >>>> Mouse <<<< Position: 103, 139 Cursor ID: 2 Color: 0x33A7EE >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Dispense Queue: WCH CENTRAL PHARMACY >>>> Hidden Text <<<< LefterForm Text1 txtFocus Form1 Frame1 txtFocus Search Link to comment Share on other sites More sharing options...
Nine Posted May 20, 2021 Share Posted May 20, 2021 Try to read the body. You may get html tags and ids that you are looking for... Local $hWND = WinGetHandle("[CLASS:ThunderRT6MDIForm]") ; handle of the Hlp window MsgBox(0, "Debug", IsHWnd($hWND)) Local $oIE = _IEAttach($hWND, "embedded") ; get reference to the embedded BrowserControl MsgBox(0, "Debug", IsObj($oIE)) ConsoleWrite (_IEBodyReadHTML($oIE)) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 20, 2021 Author Share Posted May 20, 2021 Thanks Nine, I added the line and once I hit ok for the message box for checking $oIE noting else displayed. Link to comment Share on other sites More sharing options...
Nine Posted May 20, 2021 Share Posted May 20, 2021 Are you running it from Scite ? Make sure you look into Scite console at the bottom. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 20, 2021 Author Share Posted May 20, 2021 Ok that was my mistake here is what It showed me: <div class="offscrn"><div tabindex="-1" class="offscrn" id="__zFocusSafetyNetEl"></div></div> <div class="offscrn" id="sojFTraps"><div class="clearLabel _reusable" id="ctl_8" aria-hidden="true" aria-label="" data-zfocuscatcher="1"></div></div> <form id="formShell" role="presentation" aria-label="" action="./AutoLogin.aspx" method="post"> <div class="aspNetHidden"> <input name="__VIEWSTATE" id="__VIEWSTATE" type="hidden" value="Vhih5kyhQ1Q2StdQ+2vMSitm9lsgtDv8ADe3Jq7tD1qZLMyYn7Ar3Vk1Kj94n/MXr9bX80FcxVEfmSfmOgR1chOFpj+dQc/g7X1aXtmGT/Q="> </div> <div class="aspNetHidden"> <input name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" type="hidden" value="B96A4CE6"> </div> <script src="/HSWeb_tst_950-7/Assets/Core/Scripts/Shell.cjs" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Shell/Scripts/CoreSet4.cjs" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Shell/Handlers/ServiceProxyLoader.ashx?mode=f" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Shell/Scripts/DelayedCoreSet.cjs" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Assets/Core/Scripts/Data/SearchAsYouType/Soundexer/EnglishSoundexer.js" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Assets/Core/Scripts/Shell/Host/VBHost.js" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Shell/Scripts/CommonSet.cjs" type="text/javascript"></script> <script src="/HSWeb_tst_950-7/Views/Core/Shell/VBShellView/VbShellView.cjs" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ Epic.Core.Web.ClientSettings={};Epic.Core.Web.ClientSettings.TerminalMode=2;Epic.Core.Web.ClientSettings.ScreenReaderEnabled=false;Epic.Core.Web.ClientSettings.EncryptionEnabled=false;Epic.Core.Web.ClientSettings.IsClipboardSecurityEnabled=true;Epic.Core.Web.UserSettings={"PopupSuppressionKeys":{},"IsHyperspacePersonalizationLicensed":true,"ApplicationNameTagCategory":"1","ApplicationNameTagTitle":"Epic","ZeroStateBrandingEnabled":true};$$_zzTop.Epic.Core.Data.Web.TypeInfo._setNewTypesMetadata("{\"tp\":[{\"nm\":\"VBShellViewBehavior:#Epic.Core.Shell.Web.Views\",\"nf\":[\"Epic.Core.Shell.Web.Views.VBShellViewBehavior, Epic.Core.Shell.Web.Views, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null\",\"Epic.Core.Shell.Web.Views.VBShellViewBehavior\"],\"pr\":[{\"pn\":\"SkillManager\",\"st\":false,\"oop\":false,\"f\":\"d\"},{\"pn\":\"ShellData\",\"st\":false,\"oop\":false},{\"pn\":\"PreloadedTimeZoneData\",\"st\":false,\"oop\":false},{\"pn\":\"VBWorkspace\",\"st\":false,\"oop\":false},{\"pn\":\"ShellSettings\",\"st\":false,\"oop\":false},{\"pn\":\"ViewCustomizationAgent\",\"st\":false,\"oop\":false},{\"pn\":\"SidebarWidthSize\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"HasViewCustomizations\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SaveSidebarWidth\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"UALViewState\",\"st\":false,\"oop\":false},{\"pn\":\"ViewValidationErrors\",\"st\":false,\"oop\":false},{\"pn\":\"UpdatableBindables\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"TemporaryDynamicINIRecord\",\"st\":false,\"oop\":false},{\"pn\":\"FileExportHelper\",\"st\":false,\"oop\":false},{\"pn\":\"_needsContentElementWrapper\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SyncToWeb\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsAllowedInWebShellExternally\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"AdditionalViewAccessInfoStrings\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"MinWidthRangeMin\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"MinWidthRangeMax\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"AcquiredInfoMetadata\",\"st\":false,\"oop\":false}]},{\"nm\":\"VBSkillManager:#Epic.Core.Shell.Web\",\"nf\":[\"Epic.Core.Shell.Web.VBSkillManager, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"/Assets/Core/Scripts/Shell/Skill/SkillManagerBase:SkillManagerBase\"],\"pr\":[{\"pn\":\"Skills\",\"st\":false,\"oop\":false},{\"pn\":\"SkillState\",\"st\":false,\"oop\":false},{\"pn\":\"StartupSkillActions\",\"st\":false,\"oop\":false},{\"pn\":\"ClientOnlySkills\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Subscriptions\",\"st\":false,\"oop\":false}]},{\"nm\":\"TrackableMapOfSkill:#Epic.Core.Data\",\"nf\":[\"Epic.Core.Data.TrackableMap`1[[Epic.Core.Shell.Web.Skill, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Data, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"/Assets/Core/Scripts/Data/Serialization/TrackableMap.js:TrackableMap\"],\"pr\":[{\"pn\":\"SyncDictionary\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Collection\",\"st\":false,\"oop\":false,\"f\":\"d\"},{\"pn\":\"SerializedKeys\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"ListOf<Skill:#Epic.Core.Shell.Web>\",\"nf\":[\"Epic.Core.Data.TrackableCollection`1[[Epic.Core.Shell.Web.Skill, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Data, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"1\",\"\",\"Skill:#Epic.Core.Shell.Web\"]},{\"nm\":\"Skill:#Epic.Core.Shell.Web\",\"nf\":[\"Epic.Core.Shell.Web.Skill, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"/Assets/Core/Scripts/Shell/Skill/Skill:SealedSkill\"]},{\"nm\":\"BarcodeManagerSkill:#Epic.Common.Barcode.Scanning.Web\",\"nf\":[\"Epic.Common.Barcode.Scanning.Web.BarcodeManagerSkill, Epic.Common.Barcode.Scanning.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"/Assets/Clinical/Common/Scripts/Barcode/BarcodeManagerSkill:BarcodeManagerSkill\"]},{\"nm\":\"DictionaryOfStringAndObject:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"\",\"\",\"\",\"Object:#System\"]},{\"nm\":\"Object:#System\",\"nf\":[\"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"]},{\"nm\":\"TrackableMapOfSubscription:#Epic.Core.Data\",\"nf\":[\"Epic.Core.Data.TrackableMap`1[[Epic.Core.Shell.Web.Subscription, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Data, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"/Assets/Core/Scripts/Data/Serialization/TrackableMap.js:TrackableMap\"],\"pr\":[{\"pn\":\"SyncDictionary\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Collection\",\"st\":false,\"oop\":false,\"f\":\"d\"},{\"pn\":\"SerializedKeys\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"ListOf<Subscription:#Epic.Core.Shell.Web>\",\"nf\":[\"Epic.Core.Data.TrackableCollection`1[[Epic.Core.Shell.Web.Subscription, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Data, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"1\",\"\",\"Subscription:#Epic.Core.Shell.Web\"]},{\"nm\":\"Subscription:#Epic.Core.Shell.Web\",\"nf\":[\"Epic.Core.Shell.Web.Subscription, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"SignalRTopic\",\"st\":false,\"oop\":false},{\"pn\":\"DataEvent\",\"st\":false,\"oop\":false},{\"pn\":\"HandlingBehavior\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SkillName\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SkillAction\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"ShellViewModel:#Epic.Core.Shell.Views.Web\",\"nf\":[\"Epic.Core.Shell.Views.Web.ShellViewModel, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"ViewSets\",\"st\":false,\"oop\":false},{\"pn\":\"UserName\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"InactivityTimeoutValue\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"InactivityTimeoutAction\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"BarcodeListenerSettings\",\"st\":false,\"oop\":false},{\"pn\":\"BarcodeReceiverSettings\",\"st\":false,\"oop\":false},{\"pn\":\"IsReadOnly\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"OidEnvironmentType\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsInternalEnvironment\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"HyperTraceBrowserSettings\",\"st\":false,\"oop\":false},{\"pn\":\"UserActionLogBrowserSettings\",\"st\":false,\"oop\":false},{\"pn\":\"InstrumentationSettings\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SkinSessionData\",\"st\":false,\"oop\":false},{\"pn\":\"Skins\",\"st\":false,\"oop\":false},{\"pn\":\"IsUserLoggedIn\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"MaxRequestLengthInKB\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsCommunityUser\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"BarcodeSettings:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.BarcodeSettings, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Prefix\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Suffix\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"KeyTimeout\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SuffixTimeout\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"MinDataLength\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"HyperTraceBrowserSettings:#Epic.Core.Performance\",\"nf\":[\"Epic.Core.Performance.HyperTraceBrowserSettings, Epic.Core.Performance.Data, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"RTTFlushSize\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"HSIFlushSize\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"FlushTimeout\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IgnoreStepThreshold\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"YellowExceptionThreshold\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"CollectChildElementCount\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IgnoreDataMethodList\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"EnableCPUMain\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsDelayedTraceXDisabled\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"SessionBrowserSettings:#Epic.Core.UserActionLog\",\"nf\":[\"Epic.Core.UserActionLog.SessionBrowserSettings, Epic.Core.UserActionLog, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Allow\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"AllowDebugFlush\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"SkinSessionData:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.SkinSessionData, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"1\"],\"pr\":[{\"pn\":\"Skin\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Decoration\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"ShowOrnament\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"SkinDictionary:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.SkinDictionary, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"\",\"Skin:#Epic.Core.Web\"]},{\"nm\":\"Skin:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.Skin, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"1\"],\"pr\":[{\"pn\":\"Name\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsDefaultSkin\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsHighContrast\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsLowLight\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsIntense\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsReducedLight\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"VBThemeFile\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DefaultDecorationName\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Type\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsInternalOnly\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsWebOnly\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"ArrayOfBackgroundSetting\",\"st\":false,\"oop\":false},{\"pn\":\"ArrayOfColorSetting\",\"st\":false,\"oop\":false},{\"pn\":\"ArrayOfSizeSetting\",\"st\":false,\"oop\":false},{\"pn\":\"Decorations\",\"st\":false,\"oop\":false}]},{\"nm\":\"SkinSettingsListOfSkinBackgroundSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.Skin+SkinSettingsList`1[[Epic.Core.Web.SkinBackgroundSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"\",\"BackgroundSetting:#Epic.Core.Web\"]},{\"nm\":\"BackgroundSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.SkinBackgroundSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Name\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Value\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"SkinSettingsListOfSkinColorSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.Skin+SkinSettingsList`1[[Epic.Core.Web.SkinColorSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"\",\"ColorSetting:#Epic.Core.Web\"]},{\"nm\":\"ColorSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.SkinColorSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Name\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Value\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"SkinSettingsListOfSkinSizeSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.Skin+SkinSettingsList`1[[Epic.Core.Web.SkinSizeSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"\",\"SizeSetting:#Epic.Core.Web\"]},{\"nm\":\"SizeSetting:#Epic.Core.Web\",\"nf\":[\"Epic.Core.Web.SkinSizeSetting, Epic.Core.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Name\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Value\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"DictionaryOfStringAndISetOfString:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.ISet`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"\",\"\",\"\",\"ISetOfString:#System.Collections.Generic\"]},{\"nm\":\"ISetOfString:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.ISet`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"]},{\"nm\":\"HashSetOfString:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.HashSet`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"]},{\"nm\":\"ListOfTimeZoneThresholdInfo:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.List`1[[Epic.Core.TimeZone.TimeZoneThresholdInfo, Epic.Core.TimeZone, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"\",\"\",\"\",\"TimeZoneThresholdInfo:#Epic.Core.TimeZone\"]},{\"nm\":\"TimeZoneThresholdInfo:#Epic.Core.TimeZone\",\"nf\":[\"Epic.Core.TimeZone.TimeZoneThresholdInfo, Epic.Core.TimeZone, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"timeZoneId\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"timeZoneName\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"tzMarkerList\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"tzOffsetList\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"utc2LocalMInstants\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"utc2LocalTZMarkerIndex\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"local2UtcMInstants\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"local2UtcTZMarkerIndex\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"ShellSettings:#Epic.Core.Shell.Views.Web\",\"nf\":[\"Epic.Core.Shell.Views.Web.ShellSettings, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"1\"],\"pr\":[{\"pn\":\"DateFormatsMap\",\"st\":false,\"oop\":false},{\"pn\":\"TimeFormatsMap\",\"st\":false,\"oop\":false},{\"pn\":\"UseMetricUnitsOnly\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IconLibraries\",\"st\":false,\"oop\":false},{\"pn\":\"IconLibraryKeys\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"RedirectedIconKeys\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DatabaseUTCMInstant\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"NormalizedCharactersMap\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SystemTimeZoneId\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SessionTimeZoneId\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"EnableJSDSTChecks\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IsDebuggerAttached\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DateTimeSettings\",\"st\":false,\"oop\":false},{\"pn\":\"HasNumericNationalIdFormat\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"HasNumericZipCodeFormat\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DecimalPoint\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"GroupSeparator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"ListSeparator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"RangeSeparator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"RangeSpaces\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DurationToCacheRecords\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DurationToCacheCategories\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"NumberOfListsToCache\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"DictionaryOfDateFormatsAndString:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.Dictionary`2[[Epic.Core.Extensions.DateFormats, Epic.Core, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"]},{\"nm\":\"DictionaryOfTimeFormatsAndString:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.Dictionary`2[[Epic.Core.Extensions.TimeFormats, Epic.Core, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"]},{\"nm\":\"ListOfIconLibrary:#System.Collections.Generic\",\"nf\":[\"System.Collections.Generic.List`1[[Epic.Core.Controls.Web.IconLibrary, Epic.Core.Controls.Sprite.Web, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"\",\"\",\"\",\"IconLibrary:#Epic.Core.Controls.Web\"]},{\"nm\":\"IconLibrary:#Epic.Core.Controls.Web\",\"nf\":[\"Epic.Core.Controls.Web.IconLibrary, Epic.Core.Controls.Sprite.Web, Version=95.0.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Name\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IconWidth\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"IconHeight\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"HighlightColors\",\"st\":false,\"oop\":false,\"f\":\"r\"}]},{\"nm\":\"DateTimeSystemSettings:#Epic.Core.Shell.Views.Web\",\"nf\":[\"Epic.Core.Shell.Views.Web.ShellSettings+DateTimeSystemSettings, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\",\"\",\"\",\"1\"],\"pr\":[{\"pn\":\"Use24HourClock\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"FirstWeekendDay\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"SecondWeekendDay\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"TwoDigitYearMax\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"FirstDayOfTheWeek\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DisplayWeekNumber\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DisplayDateFormatGhostText\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"DateShortcutMap\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"TimeShortcutMap\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"TimeZoneAbbreviationMap\",\"st\":false,\"oop\":false},{\"pn\":\"DateSeparator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"TimeSeparator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"AMDesignator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"ShortAMDesignator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"PMDesignator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"ShortPMDesignator\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"MonthNames\",\"st\":false,\"oop\":false},{\"pn\":\"GenitiveMonthNames\",\"st\":false,\"oop\":false},{\"pn\":\"ShortMonthNames\",\"st\":false,\"oop\":false},{\"pn\":\"DayNames\",\"st\":false,\"oop\":false},{\"pn\":\"ShortDayNames\",\"st\":false,\"oop\":false}]},{\"nm\":\"ListOf<ViewValidationError:#Epic.Core.Shell.Views.Web>\",\"nf\":[\"System.Collections.ObjectModel.ObservableCollection`1[[Epic.Core.Shell.Views.Web.ViewValidationError, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null]], System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"\",\"1\",\"\",\"ViewValidationError:#Epic.Core.Shell.Views.Web\"]},{\"nm\":\"ViewValidationError:#Epic.Core.Shell.Views.Web\",\"nf\":[\"Epic.Core.Shell.Views.Web.ViewValidationError, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\"],\"pr\":[{\"pn\":\"Level\",\"st\":false,\"oop\":false,\"f\":\"r\"},{\"pn\":\"Message\",\"st\":false,\"oop\":false,\"f\":\"r\"}]}],\"dm\":\"[{\\\"ctn\\\":\\\"Epic.Core.Shell.Web.Views.VBShellViewBehavior\\\",\\\"ims\\\":{\\\"StoreViews\\\":{\\\"pc\\\":7},\\\"UpdateInactivityTimeout\\\":{},\\\"GetSmartHelpContexts\\\":{\\\"pc\\\":1},\\\"AddTimeZoneData\\\":{\\\"pc\\\":1},\\\"SetTimeZoneDataLoaded\\\":{\\\"pc\\\":1},\\\"SetSidebarWidth\\\":{\\\"st\\\":1,\\\"pc\\\":1},\\\"ProcessTokenizedLaunch\\\":{\\\"mt\\\":1,\\\"st\\\":1,\\\"pc\\\":1,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}},\\\"GetViewToolbarItems\\\":{\\\"st\\\":1,\\\"av\\\":[\\\"ws;false;FND_WS\\\"]},\\\"ObtainLaunchInformation\\\":{\\\"st\\\":1,\\\"pc\\\":3},\\\"GetFileExportParams\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"GetFileExportParamsVB\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"LaunchFileExportView\\\":{\\\"mt\\\":1,\\\"st\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}},\\\"LaunchFileExportViewVB\\\":{\\\"mt\\\":1,\\\"st\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}},\\\"GetFileExportInfo\\\":{\\\"st\\\":1,\\\"pc\\\":1},\\\"GetFileExportInfoVB\\\":{\\\"st\\\":1,\\\"pc\\\":1},\\\"SaveFileExport\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"RemoveFileExportManagerCache\\\":{\\\"st\\\":1,\\\"pc\\\":1},\\\"UpdateLegacyParameters\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"UpdateBindables\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"AcquireDynamicInfo\\\":{\\\"mt\\\":1,\\\"st\\\":1,\\\"pc\\\":1,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}},\\\"AcquireDynamicRecord\\\":{\\\"mt\\\":1,\\\"st\\\":1,\\\"pc\\\":2,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}},\\\"GenerateDynamicInfoTicket\\\":{\\\"st\\\":1,\\\"pc\\\":2},\\\"RedeemDynamicInfoTicket\\\":{\\\"st\\\":1,\\\"pc\\\":2}},\\\"sts\\\":[\\\"Epic.Core.Shell.Views.Web.ShellViewBehavior, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\",\\\"Epic.Core.Shell.Views.Web.ViewBehaviorBase, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\"]},{\\\"ctn\\\":\\\"/Assets/Core/Scripts/Shell/Skill/SkillManagerBase:SkillManagerBase\\\",\\\"ims\\\":{\\\"ProcessEncryptedMessage\\\":{\\\"pc\\\":1},\\\"SubscriptionEventLaunch\\\":{\\\"mt\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}},\\\"SwitchContext\\\":{\\\"mt\\\":1,\\\"pc\\\":1,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}}},\\\"sts\\\":[\\\"Epic.Core.Shell.Web.SkillManagerBase, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\"]},{\\\"ims\\\":{\\\"LaunchFileExportView\\\":{\\\"mt\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}},\\\"LaunchFileExportViewVB\\\":{\\\"mt\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":1,\\\"closeModalsPriorToLaunch\\\":true}}},\\\"sts\\\":[\\\"Epic.Core.Shell.Web.Security.FileExport.FileExportManagerHelper, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\"]},{\\\"ctn\\\":\\\"/Assets/Core/Scripts/Shell/Skill/SkillManagerBase:SkillManagerBase\\\",\\\"ims\\\":{\\\"ProcessEncryptedMessage\\\":{\\\"pc\\\":1},\\\"SubscriptionEventLaunch\\\":{\\\"mt\\\":1,\\\"pc\\\":3,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}},\\\"SwitchContext\\\":{\\\"mt\\\":1,\\\"pc\\\":1,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}}},\\\"sts\\\":[\\\"Epic.Core.Shell.Web.SkillManagerBase, Epic.Core.Shell.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\"]},{\\\"ctn\\\":\\\"/Assets/Clinical/Common/Scripts/Barcode/BarcodeManagerSkill:BarcodeManagerSkill\\\",\\\"ims\\\":{\\\"GetMatchesForBarcode\\\":{\\\"pc\\\":1},\\\"LaunchHandlerForBarcodeMatch\\\":{\\\"mt\\\":1,\\\"pc\\\":1,\\\"lo\\\":{\\\"launchType\\\":0,\\\"closeModalsPriorToLaunch\\\":true}}},\\\"sts\\\":[\\\"Epic.Common.Barcode.Scanning.Web.BarcodeManagerSkill, Epic.Common.Barcode.Scanning.Web, Version=95.1.0.0, Culture=neutral, PublicKeyToken=null\\\"]}]\",\"seq\":1,\"rs\":null}");//]]> </script> <div class="vw vws" id="ctl_VBShellView_1" aria-label="" epic:datacontextpath="$viewUseBehavior"><span id="shellView_vsMain" style="display: none;"></span><div tabindex="-1" class="vw" id="ctl_RxAdminWorkspace_2" role="presentation" aria-label="" epic:datacontextpath="$viewUseBehavior"><span id="ctl_RxAdminWorkspace_2_vsMain" style="display: none;"></span><iframe class="vFr" role="region" aria-describedby="a11y-lbl-13" src="https://hsweb-nonprod.uchealth.com/HSWeb_tst_950-7/ViewNavigateHost.aspx?id=DispenseQueue_3&eventId=65&workflowStepId=2&shieldId=vs14&Epic.Core.Shell.Web.ServiceToken=2968539157&Epic.Core.Shell.Web.AuthToken=3575352752" frameborder="0" style="display: block;" aria-label="Dispense Queue" _zIsViewFrame="true"></iframe></div></div></form><div class="nodisp" aria-hidden="true"><label id="a11y-lbl-13"></label></div> <div class="offscrn" id="sojBTraps"><div class="clearLabel _reusable" id="ctl_9" aria-hidden="true" aria-label="" data-zfocuscatcher="1"></div> </div> <div class="sojFrm" style="visibility: hidden; z-index: 11001248;" unselectable="on" _usable="true"></div> So I think the buttons are part of an additional piece that is inside what this is showing me. I am seeing alot of Javascript and VBshell references. Link to comment Share on other sites More sharing options...
Nine Posted May 20, 2021 Share Posted May 20, 2021 (edited) Yes it is kind of unexpected as all the buttons are not shown in the code. Could you try _IEDocReadHTML instead of bodyRead. See if we can get additional informations. Edited May 20, 2021 by Nine NoblePrimus 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 21, 2021 Author Share Posted May 21, 2021 Ok I went back to the vendor and found out that the Buttons are embedded in another piece called autologin.aspx. Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 25, 2021 Author Share Posted May 25, 2021 Is there a way to attach to the Autologin.aspx after I have attached to the Embedded IE? That is where the button I need is. Link to comment Share on other sites More sharing options...
Danp2 Posted May 25, 2021 Share Posted May 25, 2021 You should check to see if it's a frame within the current page. You should be able to modify the example code for _IEFrameGetCollection so that it works with your current setup. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 25, 2021 Author Share Posted May 25, 2021 Ok So I had to look up the _IEFrameGetCollection and use the code correctly. It did find one frame and does list the All Dispenses in the list of information that it could find. However it only listed the Text of the Button All Dispenses and not the actual button ctl_DispenseQueue_3_togAllDispenses. Link to comment Share on other sites More sharing options...
Danp2 Posted May 25, 2021 Share Posted May 25, 2021 If there's just a single frame, you can switch to it with this command -- $oFrame = _IEFrameGetCollection($oIE, 0) Once you've successfully done that, then you should be able to access the frame's element using $oFrame in lieu of $oIE. NoblePrimus 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
NoblePrimus Posted May 25, 2021 Author Share Posted May 25, 2021 Thank you, Thank you everyone. I have it working to where it selects the button Here is the code I ended up with incase other have this same issue: Local $hWND = WinGetHandle("[CLASS:ThunderRT6MDIForm]") ; handle of the Hlp window Local $oIE = _IEAttach($hWND, "embedded") ; get reference to the embedded BrowserControl $oFrame = _IEFrameGetCollection($oIE, 0) Local $oButton1 = _IEGetObjById($oFrame, "ctl_DispenseQueue_3_togAllDispenses") _IEAction($oButton1, "click") This is the last piece I needed for some of our big boards at our hospitals. Danp2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now