WQ Manual

*The specifications are different from the free version WQ. Please delete the free version WQ.
Here is how to tell them apart
Author name folder in the plugin folder
Folder name of old version: “TerribleJunkShow”.
Folder name of new version: “Terrible Junk Show”.

Install

aescripts
manager app

STEP
Install using manager app.

Install WQ using aescripts manager app.

STEP
Start AE.

If there is a WQ in the menu/animation, it is successful.

Use the included script “TLFolder”

STEP
Launch TLFolder.

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

STEP
Check “Get WQ Ownership”.

Checking the box enables WQ’s layer double-click detection feature and allows TLFolder to use that feature.

STEP
Create a layer for the folder with the Add TLFolder button.

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

*You may change the folder name. However, “_>” or “_v” will be automatically appended to the end.

*Button clicking while selecting a specific layer will create a folder of the same duration on top of that layer.

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

STEP
Double-click on the layer for the folder!

The layers below the layer for the folder will be collapsed.

*The layers are actually hidden by the shy layer function.

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

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

There are two things to do to implement this functionality.
1.Add the WQ ownership acquisition function to your own UI script.
2.Create a separate script that is triggered when WQ 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 “TLFolderWQFunc.jsx” that is triggered upon WQ double-click detection is located in the “Scripts folder”.


1.Add WQ ownership acquisition function to your own UI scripts.

For centralized management of the double-click detection function, WQ must be owned before it can be used.
To take ownership, simply change the settings that can be referenced from the script.

//Enabled
app.settings.saveSetting("WQ", "ActiveJsx", "XXXX.jsxbin");

//Disabled
app.settings.saveSetting("WQ", "ActiveJsx", "");

In the “XXXX.jsxbin” section, enter the name of another script that will be triggered when the WQ double-click is detected. The name must match the name that appears in Menu/Files/Scripts, so include the file extension.

Implement the above //Enabled code somewhere in your UI. It can be an on/off button, a checkbox, or
It can be a startup or mouse-in event. Once you save this setting, you take ownership of WQ and can use the double-click detection feature.

We recommend implementing the //Disabled code in the same way. However, if implementation is difficult from a user experience standpoint, the WQ click detection function can also be disabled by doing the following

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

*The above operations should be made known to users in manuals or other means to avoid emergencies.


2.Create a separate script that is triggered when WQ double-click is detected.

Prepare a separate script with your favorite process to be triggered upon double-click detection. Then specify that the script is to be installed in the “Scripts folder” (not the “Script UI folder”).

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

if( … ){
    app.settings.saveSetting("WQ", "Stop", "false");
    return;
}

You can rewrite the “…” condition part as you like.

This Stop 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 in the script to change it back to true.

The script name should be unique. If there is an identical name in all menus, it may trigger the feature.

Tips

Since the process is to “execute a menu command when a double-click is detected,” it can be used to trigger extensions, effects, etc., in addition to scripts. It is possible to do some interesting things depending on your ingenuity.


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