OSX default save file location

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

OSX default save file location

Postby ErickTheCoder » Tue Sep 08, 2015 8:11 am

Hi all,

I have CEF powering a desktop App on the mac. I can currently save a file (a file pulling down from a web location) via the OSX destkop app. But for some strange reason the default save location is reverting to a folder named 'T' in:

Macintosh HD -> private -> var -> folders -> tj -> 5pbhnc_...etc -> T

Is there a javascript way of changing the default save location for a file to the be the desktop?
ErickTheCoder
Newbie
 
Posts: 2
Joined: Tue Sep 08, 2015 7:53 am

Re: OSX default save file location

Postby Czarek » Mon Nov 16, 2015 10:14 am

Have you tried setting suggested_name to be a full path?
https://bitbucket.org/chromiumembedded/ ... dler.h-107

Here is the CEF code in question:
https://bitbucket.org/chromiumembedded/ ... ate.cc-123
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 75 guests