Re: Import text file into a field
- From: "Christoph Bouthillier" <post@xxxxxxxxxxxxxx>
- Date: Thu, 13 Sep 2007 21:34:28 +0200
"d-42" <db.porsche@xxxxxxxxx> schrieb im Newsbeitrag
news:1189552805.367487.78200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I need to import a text file into a field for further parsing. All to
be done via a script.
I know I can do this with Import Folder, selecting text files, but is
there a way of doing this by just naming the file?
Importing a folder (and arranging things so that there is only one
file in the folder) seems clumsy.
This is for FM8, but if 8.5 / 9.0 can do it better/differently, I am
always looking for more reasons to justify an upgrade.
-regards,
Dave
Hello Dave:
Maybe this totally different approach is what you need:
Get the free AutoIt http://www.autoitscript.com/AutoIt/index.php
and write a simple script in any text editor and compile it.
Let FMP open any text editor with the wanted file as the argument; you can
do that dynamically from FMP by passing along the filename from a field.
Now run that compiled AutoIt script from FMP:
Tell AutoIt to wait until that window has opened.
Let AutoIt copy the contents of the window to the clipboard.
Let Autoit switch back to FMP and paste that one special file's content into
that one special field of yours.
That should work.
---
Met vriendelijke groet / Mit freundlichen Gruessen / With kind regards
Christoph Bouthillier
p/o\s/t atsign ohnotekstotaaloh nocom
Leave out: \ / oh no
---
.
- Follow-Ups:
- Re: Import text file into a field
- From: d-42
- Re: Import text file into a field
- References:
- Import text file into a field
- From: d-42
- Import text file into a field
- Prev by Date: Re: interest calculation
- Next by Date: Re: Two install limit on Filemaker 9.5
- Previous by thread: Re: Import text file into a field
- Next by thread: Re: Import text file into a field
- Index(es):
Relevant Pages
|