This site requires JavaScript to be enabled

IncidentLookup using list
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

Convert an emoji to the hexadecimal value

You want to convert an emoji to a hex value but cannot use any third-party tools besides built in tools from Windows and Tosca.


How to convert an emoji to a hex value but with only built-in tools from Windows and Tosca.


We need the Microsoft “PowerShell ISE” for that task, as the command line does not have proper Unicode support, but the PowerShell ISE is supporting it out of the box.

Additional we use SENDKEYS to enter the command to PowerShell ISE and the clipboard to save the result, so keep in mind that your clipboard is being used in the meantime by Tosca and will overwrite your current clipboard.


Create/Scan the PowerShell ISE Window

  1. Start PoweShell ISE

  2. Start XScan and scan the Window with the UIA Engine.
  3. Scan the blue terminal window
  4. Rename it to “PS *>”
    And rename the technical ID also to “PS *>” 
  5. Save and close XScan
  6. Now you should have a similar module:


Creating the TestCase

You then can set up the TestSteps as follows:

Explanation what every step is doing

═─ TBox Set Buffer | Emoji

It is buffering the to-be-searched emoji and it's creating the buffer for the then evaluated HEX code.


═─ TBox Start Program | start PowerShell ISE

It is starting the PowerShell ISE (not the PowerShell console !)


═─ TBox Window Operation | Wait till open

Is waiting until it is opened and bring it to front


═─ Windows PowerShell ISE Main Window | insert command and save in clipboard

It is entering the command over SENDKEYS, in there PowerShell will convert it to the hex value and save it in the clipboard.


═─ TBox Wait | PowerShell needs execution time

As it will take a second, we must tell Tosca that it should wait for 2 seconds so that we can be sure that the command was executed (you may have to increase it, as the execution runtime highly depends on the environment).


═─ TBox Window Operation | close PowerShell

It will close PowerShell and wait until it is closed


═─ TBox Clipboard | Save Clipboard in Buffer

It is saving the clipboard within a buffer


═─ TBox Set Buffer | Clean Result from PowerShell

It will save the hex-value with XBuffer with the following schema:

           00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000   {XB[hexvalue]}  *            

Manual link for XBuffer:


═─ TBox Set Buffer | verify emoji

It will verify if the HEX value is the correct value.


Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial