QLAB 5, audio output patch name

Hi Pros,
I use a fade cue in QLab’s wsp. Fade cue target is patch.
I would like to read the name of the used patch.
I tried using the following code line but of course it produced an error.

	set theCue to last item of (selected as list)
	set thePID to patch target id of theCue
	set theName to theCue's audio output patch name

What is the correct script to achieve the task. Any suggestion.
Thanks in advance.
Best,
Kalman

According to their dictionary, five ‘cue’ types have an ‘audio output patch name’ property: audio, camera, mic, timecode, video.

I don’t see that property under ‘fade cue’.

This line should reveal the properties that are available to a fade cue:

properties of theCue

Hi,
This ‘property’ you can watch in the attached picture.


I tried to solve the problem in another way, this was ui programing.
Finally it solved. But if you have another suggetion I’ll accept it.

Sincerely,
Kalman

I don’t have the app so I cannot work through it. Might require someone who can run it to sort through the options.