-
1. Re: Browse folder bug on Mac OS Lion
david_a_clarkOct 26, 2011 8:57 AM (in response to Pierre-RAFFA)
If you could provide a small example extension that lets us reproduce the problem that would be helpful
-
2. Re: Browse folder bug on Mac OS Lion
david_a_clarkOct 26, 2011 9:39 AM (in response to david_a_clark)
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
-
3. Re: Browse folder bug on Mac OS Lion
Pierre-RAFFA Oct 27, 2011 1:14 AM (in response to Pierre-RAFFA)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
-
4. Re: Browse folder bug on Mac OS Lion
Pierre-RAFFA Oct 28, 2011 1:31 AM (in response to Pierre-RAFFA)In the thread you mentionned, the browseFolder is used by jsx and not by flex...
-
5. Re: Browse folder bug on Mac OS Lion
david_a_clarkOct 28, 2011 11:53 AM (in response to Pierre-RAFFA)
Thanks for the code snippet. Which version of Lion are you using? Is anyone else seeing this issue?
We will try to reproduce this and if so, investigate where the problem lies.
-
6. Re: Browse folder bug on Mac OS Lion
Olav Kvern Dec 2, 2011 12:16 AM (in response to david_a_clark)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
-
7. Re: Browse folder bug on Mac OS Lion
Harbs. Dec 2, 2011 1:35 AM (in response to Olav Kvern)Why did you write a whole file browser?
You can just use the ExtendScript File and Folder methods instead...
Harbs
-
8. Re: Browse folder bug on Mac OS Lion
Olav Kvern Dec 2, 2011 9:26 AM (in response to Harbs.)HI Harbs,
If I can get by without using ExtendScript in a CS Extension, I will!:-)
In addition, Actionscript makes it pretty easy.
Thanks,
Ole
-
9. Re: Browse folder bug on Mac OS Lion
Harbs. Dec 3, 2011 8:44 AM (in response to Olav Kvern)I guess I have the opposite approach: If ExtendScript has built-in functionality, why rewrite it in Actionscript?
I actually like the standard ExtendScript File dialogs better than the AIR ones...
Harbs
-
10. Re: Browse folder bug on Mac OS Lion
TheDollarBill Mar 12, 2012 12:28 PM (in response to Pierre-RAFFA)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?
-
11. Re: Browse folder bug on Mac OS Lion
Harbs. Mar 12, 2012 2:26 PM (in response to TheDollarBill)For running jsx, read this: http://cookbooks.adobe.com/post_Communicating_between_JavaScript_and_the_Creative-17383.ht ml
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
-
12. Re: Browse folder bug on Mac OS Lion
emerasoft.srl Mar 16, 2012 1:46 PM (in response to david_a_clark)Hello David,
the same problem you can see with running the Dommy Dumper Extension Builder project on Mac OS X Lion 10.7.3. Just click on the first button on the upper right and after the click InDesign (CS5 or CS 5.5) will crash.
Best,
Luca
-
13. Re: Browse folder bug on Mac OS Lion
emerasoft.srl Mar 16, 2012 1:50 PM (in response to 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
-
14. Re: Browse folder bug on Mac OS Lion
Harbs. Mar 17, 2012 11:42 AM (in response to emerasoft.srl)Any extendscript code run from an extension is run in the service manager persistent engine by default, so that should not be an issue.
What's the code you are using to run your progress bar?
Harbs
-
15. Re: Browse folder bug on Mac OS Lion
emerasoft.srl Mar 18, 2012 9:19 AM (in response to Harbs.)Ciao Harbs,
I was preparing a sample project to show you my problem and... boom! It worked as expected :-S
I think I should have to re-insert the progress bar in my main project and see where the problem could really be...
Best,
Luca
-
16. Re: Browse folder bug on Mac OS Lion
_Moveon21 Apr 9, 2013 11:37 AM (in response to Pierre-RAFFA)May be its too late but I'm also getting same problem on my lion machine with Indesign 5.5 but same extension working fine on windows indesign5.5.
is there any solution for this problem other than scripting??