Copy link to clipboard
Copied
Hello everyone, bear with me for all the questions.
$.gc() - Initiates garbage collection in the JavaScript engine.
Ok, maybe I have a fundamental misunderstanding of things here, but I am wanting to understand a few things:
Again, sorry for all the questions, I am still trying to continue to wrap my head around different aspects of this whole thing. Thanks everyone for any feedback your able to offer and provide. Many thanks in advance, its greatly appreciated. Thanks again.
Copy link to clipboard
Copied
Hi everyone,
I would welcome any type of feedback, insight, understanding, advice on this topic as a whole, or as it relates to my simple list of posted inquiries. I really appreciate any information that can be offered, it would really help me to understand how more seasoned scriptures approach this topic. Simple thoughts/feedback are fine, dissertations are not required, but always welcome. 😉
Thanks so much everybody, I really appreciate it.
Copy link to clipboard
Copied
I can't answer or help with all of those… Here are my thoughts… The dollar object properties and functions can be called on by script from AI, BR, ID & PS… They are NOT restricted for use in the ESTK tookit. Yeah $.writeln() would write to the console if the toolkit were open if NOT then it will probably launch it… So remove or comment these out. As you can see from $.sleep() it does what it says when run in the host app. #targetengine is exclusive to ID this app can have multi-instances ( or something like that ). The other apps have 1 engine and thats it. AI's engine is persistent so wrapping your code is good practice I do this for BR & PS too… See…
As for garbage collection I've never fould the need to use it… I see some like to set variables back to null but again I don't do this…
You would have been better off asking this question in the ID scripting forum… There are several people there who are better qualified to answer some of this…
Copy link to clipboard
Copied
Thanks so much Muppet Mark for your response and feedback. So would it be appropriate and acceptable to repost this in the InDesign forum as you suggested? I am however only at this point scripting in Illustrator, thus I posted it here as its my focus. Again I really appreciate your response and you taking time to do so, thanks Muppet Mark.
I would still also welcome others input if anyone has anything they would like to add from their experiences. Thanks eveyone.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more