As the subject suggests i'm a beginner working on my very first script and i'm already struggling

[snippet=]
\\Providing case number details to the macro
\\
SetFocus>Update cases.txt - Notepad
WaitWindowOpen>Update cases.txt - Notepad
\\Selecting case ID
\\
Press CTRL
Press SHIFT
Press RIGHT
Release CTRL
Release SHIFT
Release RIGHT
Press CTRL
Send>c
\\Entering Case ID into OPT
\\
SetFocus>SR-Dash* |<------- suspect problem is here
WaitWindowOpen>SR-Dash* |<------- and here
Wait>3
Press F12[/snippet]
The problem is once the Setfocus function pointed out above runs the script stops, the keystrokes in bold don't run, i think its because the window title is not the correct syntax the reason i think this because the title has variables in it.
The window is from a support desks ticketing application and the window title contains the current ticket number, the customer name and then the application name and release version, this is then shown in the following manner(without quotes):
"ID: xxxxxxxxxx / Name: yyyyyyyyyyyyy - SR-Dash z.z.z.zz"
Because of the variables I tried simplifying it by using the "Setfocus>SR-Dash*" but don't think its right as it doesn't go any further...
The window is brought to the front but that's it, no keystrokes are made.
Any help or advice to progress would be appreciated.
Thanks in advance,
EDIT: I found the issue in the above snippet:
[snippet=]Press CTRL
Send>c
|<------- problem is here, i didn't add a "release" function
\\Entering Case ID into OPT
\\
SetFocus>SR-Dash*
WaitWindowOpen>SR-Dash*[/snippet]
I do how ever have a new issue where the script gets stuck in the next steps:
[snippet=]\\Opening chosen case
\\
Let>k=1
Repeat>k
Press Tab
Wait>0.2
Let>k=k+1
Until>k=3
Wait>0.5
Press ENTER[/snippet]
As the \\ note above suggests, the previous F12 opens a small dialogue where the "case ID" is pasted with CTRL V and then TAB is pressed until the correct button is highlighted, at which point ENTER is supposed to be pressed to proceed, but this doesn't seem to work, everything works up until the correct button is highlighted but that is where it ends the ENTER doesn't get activated so the action does not proceed, can any one help ?