Installation paths

General Discussion of Scripting for Flex, Flash & CS SDK

Moderators: Tom, Kukurykus

undavide

Installation paths

Post by undavide »

Hello,
I'm slowly (painfully slowly) learning how to deploy CS SDK extensions. I'm now decently familiar with ucf.jar packaging and signing tool, I've been able to repack everything in zxp via mxi file, ect.
The strange fact (I've a post in the Adobe's forum about that) is that I couldn't figure out where the installed files are. I've checked in the Phoshoshop panels folder, in the CS5ServiceManager extension folder, but nothing. Nevertheless, Ps has the panel item in the extension list and it works nicely.

Anyway, I've tried to run inside a test panel the Tranberry's WhoAmI code:

Code: Select allfunction WhoAmI() {
   var where;
   try {
      var FORCEERROR = FORCERRROR;
   }
   catch( err ) {
      where = File(err.fileName);
   }
   return where;
}


with a CSXSInterface.instance.evalScript() call.
Strangely enough, it returns simply "/" as a response.

Whereas if I run the script within ESTK, it returns the correct path.
Any idea about the why?
Thanks,

Davide