#include #include #include 'MailSlot.au3' Global Const $hMailSlotFromNav = "\\.\mailslot\INavMedia-Nav1";===Receive data from INavMedia Global Const $sMailSlotName2 = "\\.\mailslot\INavMedia-Nav2";===Send data to INavMedia Global Const $hMailSlotToNav = _MailSlotCreate($sMailSlotName2) While 1 Local $iSize = _MailSlotCheckForNextMessage($hMailSlotToNav) If $iSize Then Local $sData = _MailSlotRead($hMailSlotToNav, $iSize, 2) Switch $sData[0] Case "80";===Get POI Hotset $NAV_OPTIONS_ARRAY = $sData[1] If $NAV_OPTIONS_ARRAY[3][0] = "Mr" Then MsgBox(0,"Before " & $NAV_OPTIONS_ARRAY[3][0],"the same") If $NAV_OPTIONS_ARRAY[3][1] = "Mar" Then MsgBox(0,"Before " & $NAV_OPTIONS_ARRAY[3][1],"the same") If $NAV_OPTIONS_ARRAY[3][2] = "March" Then MsgBox(0,"Before " & $NAV_OPTIONS_ARRAY[3][2],"the same") _ArrayDisplay($NAV_OPTIONS_ARRAY, "Before") $NAV_OPTIONS_ARRAY[3][0] = "Mr" If $NAV_OPTIONS_ARRAY[3][0] = "Mr" Then MsgBox(0,"After " & $NAV_OPTIONS_ARRAY[3][0],"the same") If $NAV_OPTIONS_ARRAY[3][1] = "Mar" Then MsgBox(0,"After " & $NAV_OPTIONS_ARRAY[3][1],"the same") If $NAV_OPTIONS_ARRAY[3][2] = "March" Then MsgBox(0,"After " & $NAV_OPTIONS_ARRAY[3][2],"the same") _ArrayDisplay($NAV_OPTIONS_ARRAY, "AFTER") EndSwitch EndIf WEnd