Hi,
Since Mac OS Lion, our Flex plugins make Indesign crashed after any browse folder.
I can post the crash details if you want.
Thanks.
Regards.
Pierre RAFFA
In case it helps, Louis mentioned another thread on files/folders, not sure if it's related to the issue you're seeing http://forums.adobe.com/message/3990186
Hi David,
I upload an exemple of extension in your ftp ( DFhdgjfhgKJ.zxp )
the flex code is just:
var vFile:File = new File();
vFile.addEventListener(Event.SELECT, onSelectFolderComplete);
vFile.addEventListener(Event.CANCEL, onSelectFileCancel);
vFile.browseForDirectory("select a directory");
Regards
Pierre RAFFA
Hi David,
I think you already know this, but I had the same problem. Someone at Adobe (maybe even you?) reproduced it for me. I ended up just writing my own file browser--the Silicon Publishing FileBrowser(TM)--to get around it.:-)
I'm just posting here so that Pierre-RAFFA knows that others have run into the same problem.
Thanks,
Ole
First of all, is there any word on this issue? browseForDirectory in my extension seems to be crashing Illustrator on Lion and not on Snow Leopard.
Second of all, any tips on writing my own file browser? Or alternatively, any tips on how to get the ExtendScript functionality in my cs extension?
For running jsx, read this: http://cookbooks.adobe.com/post_Communicating_between_JavaScript_and_t he_Creative-17383.html
ExtendScript has File.openDialog(), File.openDlg(), File.saveDialog() and File.saveDlg() Folder.selectDialog() and Folder.saveDlg()
the "Dlg" ones are instance methods which open from the selected location, and the "Dialog" ones use the default location.
Harbs
I absolutely quote Harbs on this because, this way, it will look more "InDesign-friendly". The only thing I wasn't able to reproduce by calling a ExtendScript from within actionscript is a progress bar made with ScriptUI. It seems to me that a progress bar needs a targetengine to persist and I could't find a way to have this behaviour. Sorry for the off-topic but is there anyone who knows a possible solution? Why would I prefer this method? A scriptUI progress seems to me more "integrated" in InDesign than a actionscript one...
Ciao,
Luca
North America
Europe, Middle East and Africa
Asia Pacific