Jim,

Try something like this. I've never tried this with a container field, so I
don't know for sure that it'll work. The cell number needs to be replaced
wiith the proper cell number for your file. Also,

tell application "FileMaker Pro"
    set the_file to (((path to desktop folder) as text) & "MyData")
    my write_file(get data cell 2, the_file, false)
end tell

on write_file(the_data, target_file, append_data)
    try
        set the target_file to the target_file as text
        set the open_target_file to �
            open for access file target_file with write permission
        if append_data is false then �
            set eof of the open_target_file to 0
        write the_data to the open_target_file starting at eof
        close access the open_target_file
        return true
    on error
        try
            close access file target_file
        end try
        return false
    end try
end write_file

HTH,

Jeff
________________________________________________________________________
Jeff Hoffman
FileMaker 7 Certified Developer
FileMaker Solutions Alliance - Associate Member

New Century Data, Inc.
Dallas, TX
214-943-4522 office
214-597-4106 mobile
http://www.newcenturydata.com




> I'm using FM7 on OS 10.3; The RM file is being served and used over the
> network.
> 
> Does anyone know of a way FROM APPLESCRIPT to grab the file contents of
> a container field, not using FM's export field contents script step, to
> put in a specific location on the local HD?
> 
> TIA
> =================================>
> Jim McNeely
> Certified FileMaker 7 Developer
> http://www.newcenturydata.com
> Denton: (940)239-0536
> Dallas: (214)764-3892
> fax: (940)239-0313
> =================================>
> 
> 
> --
> To unsubscribe: send an email to <[EMAIL PROTECTED]>
> FMPexperts is hosted by Ironclad Networks <http://www.ironclad.net.au/>


--
To unsubscribe: send an email to <[EMAIL PROTECTED]>
FMPexperts is hosted by Ironclad Networks <http://www.ironclad.net.au/>

Reply via email to