Page 1 of 2

Keyboard Shortcuts for flipping between Image Marks

Posted: 05 Apr 2016, 20:49
by Sewie
In response to Joanna's question I was looking for a way to mark frames with Image Marks of different colors, and then add a shortcut key to flip between them. So for instance I have a bunch of blue image marks and a bunch of red ones and a bunch of green ones.

Can I then assign a keyboard shortcut for flipping between the red Image Marks (that would mean a set of two shortcuts: one to go forward on the timeline and one to go back), a different set of shortcuts for flipping between the blue Image Marks and another set for flipping between the green ones?

I was checking the Shortcut Panel and the Flips Panel but I can't find how to do it. Somehow I always assumed that this was possible, but it seems not...?

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 06 Apr 2016, 07:34
by NathanOtano
In your flip panel, use "checkpoints" set to image marks :) then you can choose your colors. Use multiple flip presets with different shortcuts to flip the colors you want

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 07 Apr 2016, 18:20
by meslin
I think you can do this by installing the custom panel referenced here: viewtopic.php?p=36296#p36324" onclick="window.open(this.href);return false;
I still use it because it has the command to "next/prev of current color image mark" so if you're on a red frame, it'll flip through reds, etc.

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 08 Apr 2016, 04:23
by Elodie
Actually, it is not necessary to install this panel, since these options are included in TVPAINT 11 (you can even assign shortcuts to them)

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 08 Apr 2016, 20:42
by meslin
Elodie, there are shortcuts in the "Configure Keyboard Shortcuts" window under ImageMarks for Next/Prev color 01 through 12, and also just plain Next/Previous, which moves the playhead to the next/prev image mark of *any* color...but what's the command called for the "next/prev current color mark?" I'm looking and I can't find it.

Thanks,
David

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 09 Apr 2016, 10:18
by Sewie
Thanks for the replies, guys.
I noticed Aaron Blaise has a good demonstration in one of his video's about this. About 6 minutes in.


Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 03:44
by Elodie
meslin wrote:Elodie, there are shortcuts in the "Configure Keyboard Shortcuts" window under ImageMarks for Next/Prev color 01 through 12, and also just plain Next/Previous, which moves the playhead to the next/prev image mark of *any* color...but what's the command called for the "next/prev current color mark?" I'm looking and I can't find it.

Thanks,
David
Ok, I misunderstood you. Indeed, there is no "next/prev current colour mark". At the moment, your shortcuts must be assigned to this or that colour (in other words, it cannot detect what is the current colour to flip).

That's an interesting idea. Since we can do so with layers, it should be possible with mark image (obviously, only a developer can confirm).

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 07:12
by Fabrice
the question is : what is the "current" colour mark ?
How do you define it ?

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 08:12
by NathanOtano
Fabrice wrote:the question is : what is the "current" colour mark ?
How do you define it ?
I guess it's the image mark color of the current frame on the current layer?

Shouldn't be difficult to script. But I don't understand the purpose, because you often use image mark as a "hierarchy" of your animation, so you flip your extremes, then extremes + BD, then extremes+BD+partials, then + inbtw etc. Can somebody explain how it could be usefull to flip beetween a color, then another excluding the first one?

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 08:22
by Fabrice
But I don't understand the purpose
me too, that's why I'm asking. There is maybe something behind the concept.

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 13:50
by meslin
As I said before, it already exists in the panel I linked to above - Sewie's modification of the pre-official image marks panel (the top two arrows). I use it because I like to have one pair of shortcuts for all image mark flipping purposes. That way, if I want to flip my red marks, i just put the play head a red frame and I can flip reds. If I want to flip blue, move playhead to a blue frame, and flip blues using the same two keys. No larger purpose than that...just trying to simplify how many keystrokes I have to remember.

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 13:58
by NathanOtano
meslin wrote:As I said before, it already exists in the panel I linked to above - Sewie's modification of the pre-official image marks panel (the top two arrows). I use it because I like to have one pair of shortcuts for all image mark flipping purposes. That way, if I want to flip my red marks, i just put the play head a red frame and I can flip reds. If I want to flip blue, move playhead to a blue frame, and flip blues using the same two keys. No larger purpose than that...just trying to simplify how many keystrokes I have to remember.
I don't understand why you need to flip blue without flipping red (i red is your keys and blue your BD for exemple), that was the question :)

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 14:00
by meslin
Good point.

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 15:16
by Fabrice
meslin wrote:As I said before, it already exists in the panel I linked to above - Sewie's modification of the pre-official image marks panel (the top two arrows). I use it because I like to have one pair of shortcuts for all image mark flipping purposes. That way, if I want to flip my red marks, i just put the play head a red frame and I can flip reds. If I want to flip blue, move playhead to a blue frame, and flip blues using the same two keys. No larger purpose than that...just trying to simplify how many keystrokes I have to remember.
Thanks for the explanation.
We will think about adding a shorcut.

Re: Keyboard Shortcuts for flipping between Image Marks

Posted: 11 Apr 2016, 19:00
by meslin
Another reason that I like to keep the keyboard shortcuts "mono" (one for one direction, and another for the other direction), is so that I can use them with an autohotkey script I extended from TigerKnight's roll.ahk that I found here.
It takes over the top row of letters (and 'swallows' input so that the normal qwerty shortcut keys are disabled), and allows you to incrementally advance the keys: pushing r, then t, then y will advance you 1, then 2, then three frames, and you can just release 'y' and it will back up just one frame, all the while you can draw normally. It even waits until you finish a line if you release all the keys before lifting the pen.

I call it 'fliproller' - See it in action:

Here's an older incarnation...