How to provide the absolute path for any image inside ~/Library path/../../../../image.ai
Function startImage() {
//alert(UserName);
UserName= "setu";
var csInterface = new CSInterface();
updateThemeWithAppSkinInfo(csInterface.hostEnvironment.appSkinInfo);
// Update the color of the panel when the theme color of the product changed.
csInterface.addEventListener(CSInterface.THEME_COLOR_CHANGED_EVENT, onAppThemeColorChanged);
evalScript('FindRendom()', function(result) {
document.getElementById('time').innerHTML = "<img src='/Users/"+UserName+"/Library/Application Support/Adobe/CEP/extensions/EdlPlugin/Shoes_template/shoes"+result+".jpg'>";
