Access to a file via relative path -- was Re: (no subject)
Access to a file via relative path -- was Re: (no subject)
- Subject: Access to a file via relative path -- was Re: (no subject)
- From: Markus Wick <email@hidden>
- Date: Tue, 15 Oct 2002 17:05:47 +0200
Hi !
Thanks for your answer !
The FileMaker-Thing is no problem. I created some kinds of
formula-fields which generate a applescript that enables filemaker to
access a file. The other direction is the problem: i need to access
filemaker from the outside !
The exact scenario is:
a) FileMaker needs to have access to a specific flash file to tell the
flashplayer to open that file. that works in all conditions with my
filemaker scripts.
b) flash needs to have access to specific filemaker-files to open them
or to tell filemaker to open them. thre is the problem. flash can not
open the files directly, it can only open applications, opening
filemaker with flash makes no sense, cause i need a specific file to be
opend, but flash cant tell anything to filemaker. So id like to go the
way to start a compiled apple script with flash. this script should
then open the specific file or tell filemaker to do so.
this part (b) is my problem. how can i access a specific file with
applescript (written with script editor) without knowing the exact path
the file has ? i would need a command that gives me the path of the
folder where the compiled script is located and replace the folder
where the script is with the foldername where the filemaker files are.
thats all. but how ?
a command that makes it possible to change
{startupdisk:folder1:folder2:data;tools:} to
{startupdisk:folder1:folder2:
data:filemakerdata:}
without knowing the name of the startup disk, the folders above the
data folder or the amount of folders above.
???
Markus
Am Dienstag, 15.10.02 um 16:23 Uhr schrieb Simon Forster:
On Tuesday, October 15, 2002, at 02:04 PM, Markus Wick wrote:
This file is located in an specific internal folder structure, but
the outside folder structure can be completely different. So the
script should be independent of the outside structure.
Check out FileMaker Pro's own scripting: Status (CurrentFilePath).
IIRC, this was only made available with recent versions of FMP but it
should do what you want from within FMP.
HTH
Simon Forster
_________________________________________________
BabelFix Ltd, Office One, 16 Canham Road, London, W3 7SR, UK
<tel int="+44 20 8746 0555" uk="020 8746 0555">
<tel int="+44 70 9230 5244" uk="070 9230 5244">
<fax int="+44 70 9230 5247" uk="070 9230 5247">
<mailto:email@hidden>
_________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
Markus Wick
-------------------------------------------------
INSIDE Graphic Development
Visualizing your Ideas
3D-Modeling/Rendering/Animation
Dipl.Ing. Markus WIck
http://www.inside-graphic.de/
--------------------------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.