How to run Script UI Palette(s) Based Script without using jsx Launcher ?
Hi Experts,
Every time i need to launch my Palette Based Script i need to call it from a Launcher (Here i Have 2 Palettes) :
//---------------------------------------------------------
//Making Palettes Windows
//---------------------------------------------------------
#targetengine "session1";
//#target InDesign
var w = new Window("palette", {independent:true});
var gqmanager = new Window("palette");
................................................etc
So I need another Script to Launch My Main Script, and I wrote the Launcher as following (and save it as jsx file beside the jsxbin of my script :
//-------------------------------------------------------
// 'Script JSXBIN Launcher
//-------------------------------------------------------
// 1. My persistent engine (if needed)
#targetengine "session1";
// 2.My jsxbin code as a literal string in evalFile
$.evalFile(File($.fileName).path + "/" + escape("FGAS1460.jsxbin"));
So my Final Script Look Like the following :

but some one told me i can get rid from it? but i didn't understand him, he actually wrote the solution in shape of C++ , so it was hard to understand! ?, please help me in simple way , this will be much easier in distributing the script. Thanks all in Advance.

