Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FileMaker Topics / December 2003

Tip: Looking for answers? Try searching our database.

Applescript as subscript of FMP script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Foelker - 29 Dec 2003 05:57 GMT
My latest FMP solution is a little online bookshop manager that
involves exporting XML through an XSL stylesheet to create some static
HTML pages, for example one page per record. Naturally, I want to
rename each file using some local field value. This works great using
a calculated field for an ApppleScript that tells the Finder to rename
the output file.

Now, I want to cycle through a set of records: export a record, call
the AppleScript to change the filename in the Finder, then go back to
FMP, get the next record, and do it again until the recordset has been
processed. How do I integrate the calling of the applescript into this
loop? I don't really know how to get back to FMP to continue the loop
once I've called the Finder to do the name change.

Also, do I need to be concerned about execution timing between the two
scripting platforms?
~Tim~
Professional Techworks
Eugene, OR
Ursus - 29 Dec 2003 11:09 GMT
You can pretty easily use the scriptstep: Perform Applescript as a script
step. You can then either use a field as it's source, or even a calculated
field if values change (like one filename for each record). No problem.

Signature

Keep Well,
VintageUrsus

> My latest FMP solution is a little online bookshop manager that
> involves exporting XML through an XSL stylesheet to create some static
[quoted text clipped - 15 lines]
> Professional Techworks
> Eugene, OR
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.