Hello,
I would like to make a function “Jumping back to last song” (Gig script).
Unfortunately I cannot format the “SwitchToSongByIndex”.
Who can help me?
var
OldSong : integer
Part : integer
On Song (oldSongIndex : Integer, newSongIndex : Integer) // put last Songindex in "OldSong". Its works!
OldSong = oldSongIndex
Part = 1
End
On Keystroke matching "back"
// Manual: SwitchToSongByIndex(songIndex: Integer, partIndex: Integer) Returns Boolean
SwitchToSongByIndex(OldSong: Integer, Part: Integer) Returns Boolean //not working?!
End
var
OldSong : integer
Part : integer
On Song (oldSongIndex : Integer, newSongIndex : Integer) // put last Songindex in "OldSong". Its works!
OldSong = oldSongIndex
Part = 1
End
On Keystroke matching "back"
var
test : boolean
test = SwitchToSongByIndex(OldSong, Part)
End