#include "C:\Desktop\script1-script2\MailSlot\MailSlot.au3" #include "C:\Desktop\script1-script2\ProcessHandle.au3" local $a=45 Local $sMailSlotName = "\\.\mailslot\C:\Users\a.clim\Desktop\script1-script2\Script2.exe" Func _Main() return $a EndFunc _Main() _MailSlotWrite($sMailSlotName, $a,0)