Hey David, is there any way you can get some more of the standard methods available in the tool, like activeDocument and other layer-related items? I really love the concept of this tool, but it would be even better with those available.
The script was developed for After Effects and uses the ExtendScript reflect object, so it will reveal AE specific methods and properties. This is what I refer to as being "live" in the demo video. Since it is actively running code each time you check a property or method for an object. The property and method results are not pre-baked inside the script.
activeDocument, I don't believe is an AE object of any kind, possibly Photoshop or another Adobe app. I haven't tested it, but as far as I am aware, the script doesn't even launch in any other Adobe apps due to UI incompatibility. Are you able to run it by chance elsewhere? I would love to hear more if you do. It would be nice to have the script work with other ExtendScript compatible Adobe apps.
I cannot say for sure without seeing your actual code, but "Syntax error" refers to an error in how something was typed. Perhaps a missing character that is required. The script contains an error catcher for when you run code as a generic safety net, which is why you got that message. I would look through your code line by line and verify you have all your braces, brackets, commas, semi-colons, etc... T's crossed and I's dotted as it were.
Timofey, that is probably due to Adobe's choice to make EditText UI controls rich text compatible for some ridiculous reason. My guess is that one of the quotes is coming across as smart quotes instead of straight quotes. This is an issue I have been running into myself, and have been trying to get Adobe to fix this. The best work around is to paste your code into a simple text editor to convert to simple text, then past it back into script area. This totally undermines the whole reason for having this script editor in After Effects unfortunately. Since this is a change Adobe has to make on their end, there is not much I can do to fix it, short of rebuilding a completely new UI from scratch using something other than ExtendScript. I do apologize for the inconvenience is may cause.
Hi Patrick, Thank you for notifying me with your issues on my script. I was not aware of those issues. Unfortunately I have not been a Mac user for a few years so I only have access to CC2018 on Windows. I will try to research and see if there are any known issues on Adobe's side with ExtendScript text selection attribute on Mac, which is the primary attribute used for the functions you have described in your issues. Apologies for the inconvenience.
Hi David,I just downloaded the trial version and the issue mentioned by http:// Patrick Geoffroy still exists. Any idea when the issue will be updated. Also getting this error. https://ibb.co/44G13HZ
Thanks
The smart quote issue is unfortunately still an issue on Mac platform as far as I know. I just recently was able to revive one of my old Mac towers and get the OS somewhat current to have as an AE script testing unit, so I am hoping to test this script for this and other Mac related issues mentioned above. If a solution can be found I will try my best to implement it and will share an updated version as soon as I am able to.