How to save to local file via native file dialogue?

Ralph DiMola rdimola at
Fri Mar 10 12:04:37 EST 2017


'Ask File' will do the trick.
'ask file' is the "save file" complement to 'answer file'

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at] On Behalf Of Keith Clarke via use-livecode
Sent: Friday, March 10, 2017 11:50 AM
To: How to use LiveCode
Cc: Keith Clarke
Subject: How to save to local file via native file dialogue?

Hi Folks,
I’m building a little utility to parse a regular html report file I get into CSV form to slice & dice with Excel. 

Input & transformation phases are sorted. 
Input processing uses 'answer file' to select a source file via the native file dialogue, set the defaultFolder and load the HTML content via put URL Transform to structured tabular form is neatly handled via chunk replace & filter functions and iteration.

However, I’m struggling to find the syntax needed to save the contents of the output variable / field into a local file via the OS file save dialogue for flexibility. I’m guessing it’s a variant of 'put theContent into URL “file:” & theFolderPathAndName’ but this seems hard-wired.

What trick am I missing here?
use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list