[cisco-voip] UCCX macro title bar match
Anthony Holloway
avholloway+cisco-voip at gmail.com
Thu Apr 19 16:28:05 EDT 2012
The best way to know for sure is to test. So +5 for you for testing it out.
If we knew which underlying technology Calabrio is using, we could better
answer this question, but again, your testing is the single source of truth.
Example: If they are using Windows Scripting Host WshShell Object, then
these are the rules:
" In determining which application to activate, the specified title is
compared to the title string of each running application. If no exact match
exists, any application whose title string begins with *title* is
activated. If an application still cannot be found, any application whose
title string ends with *title *is activated. If more than one instance of
the application named by *title *exists, one instance is arbitrarily
activated. "
Source: http://msdn.microsoft.com/en-us/library/wzcddbek(v=vs.85).aspx
Example: If they are using Auto Hot Key, then these are the rules:
" If a matching window is already active, that window will be kept active
rather than activating any other matching window beneath it. In general, if
more than one window matches, the topmost (most recently used) will be
activated. "
Source: http://www.autohotkey.com/docs/commands/WinActivate.htm
Anthony
On Thu, Apr 12, 2012 at 4:51 PM, Kevin Damisch
<kevin.damisch at vitalsite.com>wrote:
> In UCCX 8, we are trying to get a clear answer as to how our screen pop
> macros interact with IE (or really any application for that matter). Quick
> note - we will NOT be using the embedded browser. The users will have
> multiple browsers open, sometimes with multiple tabs. But for simplicity,
> let’s just say there are 3 IE windows open with the following text in the
> title bars:
>
>
>
> WEB – MAINACCOUNT – WINDOWS INTERNET EXPLORER
>
> WEB – HISTORY – WINDOWS INTERNET EXPLORER
>
> GOOGLE – WINDOWS INTERNET EXPLORER
>
>
>
> If the macro has an exact match for a browser’s title bar text, it works
> as expected, even if minimized and another application currently has
> focus. But, if the macro specifies text that is not an exact match on any
> open window or tab, what happens? From my testing, it seems to shift focus
> to the most recently used browser window if there is not an exact match.
> And, what if there are multiple browsers with partially the same text (such
> as WEB - ) in my example above? Is there a way to do a partial match on
> the title bar, so that it could pull from either of those 2 and not use the
> Google one? I think I’m out of luck, but wanted to see what others have
> tried.
>
>
>
> Thanks,
>
> Kevin
>
> ------------------------------
>
> This communication (including any attachments) is intended only for the
> use of the individual or entity to which it is addressed, and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If you are not the intended recipient, any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this communication in error, please notify
> Vital Support Systems at 515 334 5700 and delete or destroy all copies
> and the original document.
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20120419/f31b27df/attachment.html>
More information about the cisco-voip
mailing list