The renamed files are now dragged into the attached QLab workspace.
Press Key 1 and the workspace generates a slideshow using the original camera times as pre waits.
Using this script, which could probably more elegant (being a cut and shunt of 3 previous projects with clever bits by Rich Walsh ) but does the job.
set userUpTime to 2 -- Time for images to fade up in
set userDownTime to 2 -- Time for images to fade down in
set userHoldTime to 0 -- Time to wait between starting fade down and starting fade up
-- Declarations
set notFirstCue to false
-- Main routine
tell application id "com.figure53.qlab.3" to tell front workspace
set selectedCues to every cue whose q type is "video" as list
set thecue to first item of selectedCues
set thetime to the q default name of thecue
set thehour to word 1 of thetime
set theminute to word 2 of thetime
set thesecond to word 3 of thetime
set thefirsttime to ((thehour * 3600) + (theminute * 60) + thesecond) as number
repeat with eachcue in selectedCues
set thecue to eachcue
set thetime to the q default name of thecue
set thehour to word 1 of thetime
set theminute to word 2 of thetime
set thesecond to word 3 of thetime
set thetime to ((thehour * 3600) + (theminute * 60) + thesecond) as number
set thetime to thetime - thefirsttime
set the pre wait of thecue to thetime
-- Make a fade out cue (not for the first cue)
if notFirstCue then
make type "Fade" -- Cue numbers and names not altered from QLab defaults
set fadeOutCue to last item of (selected as list)
set cue target of fadeOutCue to previousCue
set duration of fadeOutCue to userDownTime
set do opacity of fadeOutCue to true
set opacity of fadeOutCue to 0
set stop target when done of fadeOutCue to true
end if
-- Make a fade in cue
make type "Fade" -- Cue numbers and names not altered from QLab defaults
set fadeInCue to last item of (selected as list)
set opacity of eachcue to 0
set cue target of fadeInCue to eachcue
set pre wait of fadeInCue to userHoldTime
set duration of fadeInCue to userUpTime
set do opacity of fadeInCue to true
-- Make a Group Cue (have to do this here to get round QLab's auto-grouping of selections ≥ 2 cues)
make type "Group" -- Cue numbers not altered from QLab defaults
set groupCue to last item of (selected as list)
set mode of groupCue to fire_all
set q name of groupCue to "Crossfade to " & q list name of eachcue
set pre wait of groupCue to pre wait of eachcue
set pre wait of eachcue to 0
-- Move cues into right place
move cue id (uniqueID of eachcue) of parent of eachcue to end of groupCue
if notFirstCue then move cue id (uniqueID of fadeOutCue) of parent of fadeOutCue to end of groupCue
move cue id (uniqueID of fadeInCue) of parent of fadeInCue to end of groupCue
-- Setup variables for next pass
set previousCue to eachcue
set notFirstCue to true
end repeat
set thecuelist to current cue list
set selectedCues to every cue
repeat with eachcue in selectedCues
if q type of eachcue is in {"Group", "Video", "Fade"} then
set the q number of eachcue to ""
end if
end repeat
set thecuenumber to 1
set selectedCues to every cue in front cue list whose q type is "Group"
repeat with eachcue in selectedCues
set the q number of eachcue to thecuenumber
set thecuenumber to thecuenumber + 1
end repeat
set selectedCues to every cue of cue list 1 whose q type is "Group"
if (count selectedCues) is not 0 then
make type "Group"
set groupCue to last item of (selected as list)
set groupCueIsIn to parent of groupCue
repeat with eachcue in selectedCues
if contents of eachcue is not groupCueIsIn then -- Skip a Group Cue that contains the new Group Cue
set eachCueID to uniqueID of eachcue
move cue id eachCueID of parent of eachcue to end of groupCue
end if
end repeat
end if
set groupCue to last item of (selected as list)
set mode of groupCue to fire_all
set q name of groupCue to "EXIF Timed Sequence"
end tell