PassoloApp.ActiveSourceList
Returns the current PslSourceList object, this means the source string list whose window is just active. If a project window is activated and exactly one source string list is selected, this source string list will be returned. Otherwise Nothing is returned.
Syntax
Expression.ActiveSourceList as PslSourceList
Expression Required. Object of type PassoloApp
Example
Dim src As PslSourceList
Set src = PSL.ActiveSourceList
If src Is Nothing Then
PSL.Output
"No active source list found."
Else
PSL.Output
src.SourceFile
End If