This script will find the first window with the title "Release" and activate it. As you'll notice, the first action supports regular expressions, so passing in "Rel.*se" would match as well.
local iHandle = acFindWindowByTitleRegex("Release") acActivateWindow(iHandle,0,0)
A conditional variation. If No window is matched, send WIN+R, type "notepad" and send the enter key.
local iHandle = acFindWindowByTitleRegex("Rel.*se") if iHandle > 0 then acActivateWindow(iHandle,0,0) else acSendKeys("{DELAY=50}@r") acDelay(400) acSendKeys("{DELAY=50}notepad~") end