Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.filemaker > #1254 > unrolled thread
| Started by | CRC123 <cra@aalappraisals.ca> |
|---|---|
| First post | 2013-04-30 18:16 -0700 |
| Last post | 2013-05-02 11:39 -0700 |
| Articles | 8 — 4 participants |
Back to article view | Back to comp.databases.filemaker
Output file path CRC123 <cra@aalappraisals.ca> - 2013-04-30 18:16 -0700
Re: Output file path clkaufmann@gmx.ch (Christoph Kaufmann) - 2013-05-01 20:54 +0200
Re: Output file path David Stone <no.email@domain.invalid> - 2013-05-01 16:47 -0400
Re: Output file path clkaufmann@gmx.ch (Christoph Kaufmann) - 2013-05-02 07:18 +0200
Re: Output file path Jens Teich <info@jensteich.de> - 2013-05-02 15:09 +0200
Re: Output file path CRC123 <cra@aalappraisals.ca> - 2013-05-02 08:51 -0700
Re: Output file path clkaufmann@gmx.ch (Christoph Kaufmann) - 2013-05-02 19:18 +0200
Re: Output file path CRC123 <cra@aalappraisals.ca> - 2013-05-02 11:39 -0700
| From | CRC123 <cra@aalappraisals.ca> |
|---|---|
| Date | 2013-04-30 18:16 -0700 |
| Subject | Output file path |
| Message-ID | <b7d3ab4a-13fc-4a18-b161-c4704b7c5780@a16g2000pbu.googlegroups.com> |
fmp12 pro and Go. Mac 10.7.5. I have a script working properly that saves a set of pictures to a specific existing folder. It specifies at the top level my startup disk called DKS27. I have other computers with the same folder structures but the startup disks are not DKS27. How do I make this script universal to run on my other computers. Here is the working script: filemac:/DKS27/Users/Shared/New_Photos_2013/Active Files/ C_Inspected/ Go.Photo.Export/
[toc] | [next] | [standalone]
| From | clkaufmann@gmx.ch (Christoph Kaufmann) |
|---|---|
| Date | 2013-05-01 20:54 +0200 |
| Message-ID | <1l27lhl.1qjkez31uqcj26N%clkaufmann@gmx.ch> |
| In reply to | #1254 |
CRC123 <cra@aalappraisals.ca> wrote: > fmp12 pro and Go. Mac 10.7.5. > I have a script working properly that saves a set of pictures to a > specific existing folder. It specifies at the top level my startup > disk called DKS27. I have other computers with the same folder > structures but the startup disks are not DKS27. How do I make this > script universal to run on my other computers. Create a table where every record represents a path for a given computer. Have the startup script detect what computer it runs on and load the correct path into a global text field or variable. -- Christoph Kaufmann http://clk.ch
[toc] | [prev] | [next] | [standalone]
| From | David Stone <no.email@domain.invalid> |
|---|---|
| Date | 2013-05-01 16:47 -0400 |
| Message-ID | <no.email-B22C32.16473701052013@news.eternal-september.org> |
| In reply to | #1255 |
In article <1l27lhl.1qjkez31uqcj26N%clkaufmann@gmx.ch>, clkaufmann@gmx.ch (Christoph Kaufmann) wrote: > CRC123 <cra@aalappraisals.ca> wrote: > > > fmp12 pro and Go. Mac 10.7.5. > > I have a script working properly that saves a set of pictures to a > > specific existing folder. It specifies at the top level my startup > > disk called DKS27. I have other computers with the same folder > > structures but the startup disks are not DKS27. How do I make this > > script universal to run on my other computers. > > Create a table where every record represents a path for a given > computer. Have the startup script detect what computer it runs on and > load the correct path into a global text field or variable. That seems rather complicated. Can FMP12 not handle relative paths? Alternatively, does FMP12 scripting not include file system tools to do things like return common file paths and/or the machine name?
[toc] | [prev] | [next] | [standalone]
| From | clkaufmann@gmx.ch (Christoph Kaufmann) |
|---|---|
| Date | 2013-05-02 07:18 +0200 |
| Message-ID | <1l28eq8.qbhcyu3zfrmwN%clkaufmann@gmx.ch> |
| In reply to | #1256 |
David Stone <no.email@domain.invalid> wrote: [Create a table and put file paths into fields] > That seems rather complicated. It's easier just to hard code the paths in a script or function. > Can FMP12 not handle relative > paths? Earlier versions ca do that, my guess is FMP12 can do it, too. > Alternatively, does FMP12 scripting not include file system > tools to do things like return common file paths and/or the machine > name? Look for functions rather than script steps; the get functions in particular. -- Christoph Kaufmann http://clk.ch
[toc] | [prev] | [next] | [standalone]
| From | Jens Teich <info@jensteich.de> |
|---|---|
| Date | 2013-05-02 15:09 +0200 |
| Message-ID | <m0r4hple8s.fsf@jensteich.de> |
| In reply to | #1257 |
clkaufmann@gmx.ch (Christoph Kaufmann) writes: >> Alternatively, does FMP12 scripting not include file system >> tools to do things like return common file paths and/or the machine >> name? get( desktoppath ) and others. ~jens
[toc] | [prev] | [next] | [standalone]
| From | CRC123 <cra@aalappraisals.ca> |
|---|---|
| Date | 2013-05-02 08:51 -0700 |
| Message-ID | <ef0181f9-57e8-4629-bf65-ea0733b495ae@googlegroups.com> |
| In reply to | #1260 |
On Thursday, May 2, 2013 6:09:55 AM UTC-7, Jens Teich wrote: > (Christoph Kaufmann) writes: > > > > > > >> Alternatively, does FMP12 scripting not include file system > > >> tools to do things like return common file paths and/or the machine > > >> name? > > > > get( desktoppath ) and others. > > > > ~jens I am not an expert here. How do I incorporate that into my script described above? Thanks all.
[toc] | [prev] | [next] | [standalone]
| From | clkaufmann@gmx.ch (Christoph Kaufmann) |
|---|---|
| Date | 2013-05-02 19:18 +0200 |
| Message-ID | <1l29c1x.1vzfazvlifhd2N%clkaufmann@gmx.ch> |
| In reply to | #1261 |
CRC123 <cra@aalappraisals.ca> wrote: > How do I incorporate that into my script described above? Set Variable ( $path ; [specify the desired path here] ) Export records ( $path ) Put a Filemaker file on you desktop and use the get ( filepath ) function to see how its path is phrased. Check the get (desktoppath ) function to see what it returns. Hard code the rest in your variable calculation. -- Christoph Kaufmann http://clk.ch
[toc] | [prev] | [next] | [standalone]
| From | CRC123 <cra@aalappraisals.ca> |
|---|---|
| Date | 2013-05-02 11:39 -0700 |
| Message-ID | <32f923b9-c07a-4350-83ba-689254fe61b8@googlegroups.com> |
| In reply to | #1262 |
On Thursday, May 2, 2013 10:18:01 AM UTC-7, Christoph Kaufmann wrote: > CRC123 <cra@aalappraisals.ca> wrote: > > > > > How do I incorporate that into my script described above? > > > > Set Variable ( $path ; [specify the desired path here] ) > > Export records ( $path ) > > > > Put a Filemaker file on you desktop and use the get ( filepath ) > > function to see how its path is phrased. Check the get (desktoppath ) > > function to see what it returns. Hard code the rest in your variable > > calculation. > > > > -- > > Christoph Kaufmann > > http://clk.ch Wonderful. Thanks to all.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.databases.filemaker
csiph-web