Copy link to clipboard
Copied
Hey everyone.
There is a script called rd_ScriptBrowser (http://www.redefinery.com/ae/rd_scripts/). It works well but there is an issue. When i run scripts from it, even if the scripts in ScriptUI Folder, they are not dockable.
I can dock them if i run them from Window tab, but i can't dock them when i use ScriptBrowser.
I was wondering if this is something i can change with different code. Help appreciated 🙂
Unfortunatelly, that's not possible.
Scripts have different scopes when launched from Window -> ... or File -> Scripts etc. That's just a nature of it, and that's how AE works, and there's no way around this.
Copy link to clipboard
Copied
actually RD script is dockable if they are inside ScriptUI Folder can I know which script you test?
Copy link to clipboard
Copied
Hey OussK, maybe i couldn't explain well 🙂
I am talking about docking any script that i run through rd_scriptbrowser.
Let's say i have Script.jsx in my ScriptUI Folder. I can dock it if i run it through Window--> Script.jsx. If i run it through rd_ScriptBrowser tho, it is just a floated window.
I am wondering if there is a code to make it dock just like Window --> Scrip.jsx.
Copy link to clipboard
Copied
Ah Ok now I understand, I don't think it's possible
Copy link to clipboard
Copied
Unfortunatelly, that's not possible.
Scripts have different scopes when launched from Window -> ... or File -> Scripts etc. That's just a nature of it, and that's how AE works, and there's no way around this.
Copy link to clipboard
Copied
Well, i understand 😕
One more question then. Is it possible to refresh Window tab with a Script? I mean, as a part of the Script that acts automatically when i trigger something in the code.
Copy link to clipboard
Copied
Nope:)
Scripts are loaded on app-launch.
I see where you're going with this - you'll have to restart AE:)
Copy link to clipboard
Copied
Yeah, looks like you saw it:)
Thanks for the answers anyway:)
Copy link to clipboard
Copied
Any reason you need to launch scripts as a dockable panel?
Jsut wondering the use case.
When I develop script, I always run them as floating windows. I only test my scripts as dockable window as a last step, once all the functionality is coded.
Copy link to clipboard
Copied
Well, i wanted to learn about scripting. I feel lack of a script browser while using AE for a while so i thought i can create something according to my taste and learn about scripting on the way. My question was one of the features, and well... goodbye feature:D
Find more inspiration, events, and resources on the new Adobe Community
Explore Now