This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//songz meng | |
//github.com/msongz | |
//2018.05.30 | |
var comp = app.project.activeItem; | |
var sl = comp.selectedLayers; | |
app.beginUndoGroup("shapes from texts") | |
//first deselect all selected layers | |
for (var i = 0; i < sl.length; i++) { | |
sl[i].selected = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.beginUndoGroup("resize null"); | |
var s = app.project.activeItem.selectedLayers; | |
var o = Number(prompt("new size", 100)); | |
for (var i = 0; i < s.length; i++) { | |
try { | |
s[i].source.width = s[i].source.height = o; | |
} catch (e) {} | |
} | |
app.endUndoGroup(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>531049276.55934</real> | |
<key>Macros</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#edit your DuAEF_Duik and DuAEF repo path, make sure you had cloned DUIK and DUAEF to your home folder | |
duik=$HOME/DuAEF_Duik; | |
duaef=$HOME/DuAEF; | |
#sync the folder structure of libs(do not link the libs folder directly) | |
rsync -a $duaef/src/libs $duik/src/ --include \*/ --exclude \*; | |
#ln libs(maybe you should delete the origin libs in the DUIK src folder first) | |
for file in $duaef/src/libs/icons/*; do ln -s $file $duik/src/libs/icons;done; | |
for file in $duaef/src/libs/pseudoEffects/*; do ln -s $file $duik/src/libs/pseudoEffects;done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"manifest_version": 1, | |
"locale_version": " 1.1", | |
"locale_name": "中文", | |
"locale_type": "zh_CN", | |
"locale_last_updated": " 2020-03-05 12:00:00 UTC", | |
"locale_author_name": "songz", | |
"locale_author_email": " nodetics@gmail.com", | |
"locale_source_url": " https://nodetics.com/feedbro/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>604848114.02842605</real> | |
<key>CustomIconData</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>611489812.61455905</real> | |
<key>CustomIconData</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F3:: | |
UniqueID:="ahk_id " WinExist("Files") | |
if !WinExist(UniqueID){ | |
Run C:\Users\songz\Creative Cloud Files\Files.lnk | |
return | |
}else{ | |
if WinActive(UniqueID){ | |
WinMinimize,%UniqueID% | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mon Jun 3 17:57:26 CST 2024 | |
(function main(thisObj){ | |
// 创建脚本UI面板 | |
function createUI(thisObj) { | |
var panel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Keyframe Counter", undefined, { resizeable: true }); | |
panel.orientation = "column"; | |
panel.alignChildren = ["fill", "top"]; | |
var button = panel.add("button", undefined, "Count Keyframes"); |