for that, I think you are over-thinking it,
just lookup the DOCUMENT system variable which contains the full path.
> 2017/08/23 4:10、Steve Slanec via 4D_Tech <4d_tech@lists.4d.com> のメール:
> then I could get the path, append the suggested file name, and pass the whole
> string to Select document()
on mac I think the settings can be found in
/Users/{me}/Library/Preferences/com.4d.4d.plist
in other words you can retrieve it with defaults
https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/defaults.1.html
2017/08/23 4:10、Steve Slanec via 4D_Tech
Thanks for your suggestion. Sorry, I should have stated my environment:
4D v16.1hf2
Mac OS X 10.11.6
The problem is I want to use a “memorized path” as documented in the Select
document command, which states that if you pass a number instead of a path as
the first parameter, then 4D will use
I am not in a position to look in detail,
however, it is possible to specify a memorized path.
This path is the 'default' path used when an open/save dialog is presented
Then in the open/save dialog you can specify a specific file name
> Does anybody know if there is a way to present a Save As
Hi Steve,
Which 4D version?
Mac or Windows? There should be no difference, but I tested it on Mac using v15.
$path:=“Macintosh HD:Users:myname:Dektop:filename.txt”
$path:=Select document($path;”text”;””;File name entry)
The Save As dialog opens in this case the desktop and sets the file name as
Steve:
If you're on Windows, have you looked into Win32 API? On the Mac
ABM_MacExtra might do the trick for you, depending on which version of 4D.
Check the web site - https://www.schmidt-system.de.
--
Douglas von Roeder
949-336-2902
On Sat, Aug 19, 2017 at 6:00 PM, Steve Slanec via 4D_Tech <
Does anybody know if there is a way to present a Save As dialog using a
memorized path and stuffing the Save As field with a suggested file name?
It seems to me the Select document command lets you do one or the other, but
not both. If I could retrieve a memorized path somehow, I could use
7 matches
Mail list logo