WQPro Manual

*The specifications are different from the free version WQ. Please delete the free version of WQ.
If you use WQ Pro without deleting the free version of WQ, WQ Pro may not function properly.

Install

aescripts
manager app

STEP
Install using manager app.

Install WQ Pro using aescripts manager app.
If you want to install manually, please refer to the pdf in the Zip.

STEP
Launch After Effects.

If you see WQ Pro in the menu/animation, you have succeeded.
If you installed manually, click on WQ Pro and enter your activation code.

Use the included script “TLFolder”

STEP
Launch TLFolder.

Click on TLFolder in the menu/window and the UI will appear.

STEP
Press the Active ON button.

Then WQ Pro’s layer double-click detection is enabled. At the same time, TLFolder will have the right to use WQ Pro.

STEP
Create a timeline folder with the Add TLFolder button.

Press the button to create a shape layer with a label color of zero number.
This is treated like a folder.

*You can change the name of the folder. However, “_>” or “_v” will be automatically added at the end.

*If you press this button while selecting a specific layer, you can create a folder of the same duration on top of the layer. You can have multiple specific layers.

*Note that any shape layer with a label color of zero will be treated as a folder.

STEP
Double-click on the layer for the folder!

Layers below the timeline folder will be collapsed.

*The only layers that will be collapsed are those within the in-out points of the timeline folder.

*Actually, the layers are hidden by the Shire layer function.

*Shift + double-click collapses or expands all folders.

■How to manually disable the WQ Pro click detection function
Click on Menu/Animation/WQ Pro.
The Reset Settings window will appear, and press the Reset button.

Use WQ Pro’s double-click detection function in your own script

There are two things to do to implement this functionality.
1.Add the ability to obtain the right to use WQ Pro to your own UI scripts (existing or new).
2.Create a script without UI that is triggered when double-click is detected.

Please also refer to the TLFolder code.
The UI script “TLFolder.jsx” is located in the “Script UI folder”, and the script “TLFolderWQPro.jsx” that is triggered upon WQ Pro double-click detection is located in the “Scripts folder”.


1.Add the ability to obtain the right to use WQ Pro to your own UI scripts (existing or new).

When you have finished creating this script, place it in the Script UI folder.

For centralized management of the double-click detection function, the right to use WQ Pro exists.
To obtain the right to use, simply change the setting that can be referenced from the script.

//Enabled
app.settings.saveSetting("WQPro", "activeScript", "XXXX.jsxbin");

//Disabled
app.settings.saveSetting("WQPro", "activeScript", "");

XXXX.jsxbin” is the name of the script that will be triggered upon double-click detection. Please also include the extension. The name must match the name that appears in Menu/Files/Scripts.

Implement the above two codes somewhere in your UI.
If you implement them using a checkbox or something similar, the checkbox will not be unchecked when another author’s script gains the right to use it, but will remain checked even though it has already lost the right to use it.
It is recommended to have two buttons, one for on and one for off.

Once you have saved this configuration, you have acquired the right to use WQ Pro, and your script will be available for double-click detection.

If you do not implement //Disabled from a user experience perspective, please let users know in the manual, etc., that they can also disable WQ Pro click detection by doing the following

■How to manually disable the WQ Pro click detection function
Click on Menu/Animation/WQ Pro.
The Reset Settings window will appear, and press the Reset button.


2.Create a script without UI that is triggered when double-click is detected.

Create a script that describes the operation you want.
Place this script in the Scripts folder (not the Scripts UI folder).
The script name should be unique. If there is an identical name within all of the menus, that one may be triggered.

If you wish to perform only normal AE operations upon double-click detection under certain conditions, use the following code.

if( ... ){
    app.settings.saveSetting("WQPro", "stopDefaultCommand", "false");
    return;
}

Rewrite “…” as you like.

This stopDefaultCommand setting will automatically return to true again after the process is finished, even if you change it to false. Therefore, there is no need to write code to change it back to true.

It can also identify modifier keys.

var mdfStr = app.settings.getSetting("WQPro", "modifier");
if( mdfStr === "S" ){ ... }

The modifier key is determined by the letter of the modifier setting.
Ctrl is “C”, Alt is “A”, and Shift is “S” (on a Mac, Cmd is “C “, Option is ‘A’).
When two or more modifier keys are pressed, the modifier setting is set to “CA”, “AS”, “CS”, or “CAS”, “CAS”.
The order of precedence of letters is C, A, S. Note that the letters cannot be “AC”, “SA”, “ACS”, or “SAC”.

The modifier setting automatically reverts to “” after the script ends, so no code is needed to revert to “”.

Although “C”, “A”, and “S” can all be used, some of them are practically unusable due to AE specifications.

CNot OK Ctrl+select will deselect the layer.
AOK
SOK
CANot OK Ctrl+select will deselect the layer.
ASNot OK Layer selection becomes impossible.
CSOK
CASNot OK Layer selection becomes impossible.

Tips

Since the process is to “execute menu commands when double-click is detected,” extensions, effects, and normal menus can be triggered in addition to scripts. It is possible to do some interesting things depending on your ingenuity.


よかったらシェアしてね!
  • URLをコピーしました!