Hi.
These are custom JSFL scripts that you can assign to shortcuts and use them to navigate in the main timeline while deselecting frames at the same time.
Navigate and deselect frames JSFL scripts download:
animate_cc_jsfl_change_frames_and_deselect.zip - Google Drive
Code (for reference only):
Deselect Previous Keyframe JSFL script:
var doc = fl.getDocumentDOM();
if (doc)
{
var timeline = doc.getTimeline();
var frame = timeline.layers[timeline.currentLayer].frames[Math.max(timeline.currentFrame - 1, 0)];
if (frame)
{
timeline.currentFrame -= timeline.currentFrame - frame.startFrame;
timeline.setSelectedFrames([]);
}
}
Deselect Previous Frame JSFL script:
var doc = fl.getDocumentDOM();
if (doc)
{
var timeline = doc.getTimeline();
timeline.currentFrame--;
timeline.setSelectedFrames([]);
}
Deselect Next Keyframe JSFL script:
var doc = fl.getDocumentDOM();
if (doc)
{
var timeline = doc.getTimeline();
var frame = timeline.layers[timeline.currentLayer].frames[timeline.currentFrame];
if (frame)
{
timeline.currentFrame += frame.duration - (timeline.currentFrame - frame.startFrame);
timeline.setSelectedFrames([]);
}
}
Deselect Next Frame JSFL script:
var doc = fl.getDocumentDOM();
if (doc)
{
var timeline = doc.getTimeline();
timeline.currentFrame++;
timeline.setSelectedFrames([]);
}
I hope this helps.
Regards,
JC