Jump to content

filepath script broken since moving to 10.2


This topic is 7913 days old. Please don't post here. Open a new topic instead.

Recommended Posts

ok,

i have this database in which each record references a sound file on a hard drive using a text field (filepathtext) as its file path.this script plays the sound via quicktime. Now it all works fine in OS9 and OSX 10.1.5 ,but since upgrading to 10.2 i now just get a quicktime -43 error ,file not found...

has apple messed around with filepath names etc etc with 10.2 and if so how do i change the syntax to repair it

my original file path for example would be :"sfx1:fx:az:az01:az-01/01" and works fine in older OS's

here is my script :

tell application "QuickTime Player"

launch

activate

tell Application "FileMaker pro"

Set Myfile to cell "Play Sound Global"

end tell

open file myfile

rewind every movie

play every movie

tell Application "Finder"

set visible of process "QuickTime Player" to false

end tell

end tell

any ideas??

thanx

Paul Apted

Link to comment
Share on other sites

I believe your problem is with the convention OS X now uses with file paths. Since it runs with BSD in the background, it also uses the "/" to separate files/folders to define the path. You have "sfx1:fx:az:az01:az-01/01" as a file path. Try renaming it to "sfx1:fx:az:az01:az-01-01" or "sfx1/fx/az/az01/az-01-01" paying attention to change your "/" in "...01/01" to some other character. This should do the trick for you.

Link to comment
Share on other sites

This topic is 7913 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.