Can't you use the form: 

answer file "Choose a file..." with "~/Library Application Support/"

You can use with filter to filter the files you can pick I think. 

Bob


On Jun 29, 2012, at 1:07 PM, Chris Sheffield wrote:

> Ah, okay. That makes sense. And yes, I can see where that would be useful. In 
> fact, I've had to open a sqlite database from there in the past. My solution 
> was to add ~/Library to my Favorites in the Finder, making it easy to access 
> that location from any open file dialog. But like you say, that may not be 
> practical to require your users to do that.
> 
> So other than going the shell route, I'm not really sure how else you could 
> do it. Maybe someone else can comment...
> 
> 
> On Jun 29, 2012, at 2:01 PM, Peter Haworth <p...@lcsql.com> wrote:
> 
>> Hi Chris,
>> I guess that would do it - there is a terminal command to allow/deny access
>> to ~/Library.
>> 
>> To answer your question, the application in question is my SQLiteAdmin db
>> admin program for SQLite databases. I had a user who wanted to browse a
>> database that was in his ~/Library/ApplicationSupport folder.
>> 
>> Also see my later note to this.  I'm think my application should support
>> drag/drop opening of databases.
>> 
>> Pete
>> lcSQL Software <http://www.lcsql.com>
>> 
>> 
>> 
>> On Fri, Jun 29, 2012 at 12:42 PM, Chris Sheffield <cmsheffi...@me.com>wrote:
>> 
>>> I'm not sure this is possible, unless you can run some sort of shell
>>> command before displaying the dialog.
>>> 
>>> Just out of curiosity, why are you wanting a user to open a file from that
>>> location anyway? Isn't it considered "off limits" by the OS. Thus the
>>> reason it's hidden. ;-)
>>> 
>>> Chris
>>> 
>>> 
>>> --
>>> Chris Sheffield
>>> Read Naturally, Inc.
>>> www.readnaturally.com
>>> 
>>> 
>>> 
>>> On Jun 29, 2012, at 1:27 PM, Peter Haworth <p...@lcsql.com> wrote:
>>> 
>>>> I know all the standard ways to get to ~/Library but just came across
>>>> another - how do I get ~/Library to show up in the Open File dialog box?
>>>> This will be on a customers computer so I can't ask them permanently
>>>> unhide the folder.
>>>> Pete
>>>> lcSQL Software <http://www.lcsql.com>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to