Problem Creating an Alias

Dave dave at looktowindward.com
Mon Jul 9 09:44:52 CDT 2007


Hi,

I have the following on a button:

on mouseUp
   local myFilePathName
   local myAliasFilePathName


   put "/Users/Dave/Desktop/DavesTest/frame_test_mjpeg.mov" into  
myFilePathName
   put "/Documents/HFPA-Server/HFPA-JobInput/frame_test_mjpeg.mov  
alias" into myAliasFilePathName

   create alias myAliasFilePathName to file myFilePathName
end mouseUp

A file gets created, but it's NOT an alias file. According to the  
Finder Get File Info command  it's a 4K QuickTime Movie.

If I create an Alias to the file in finder, then the file created is  
"Alias" file according to the get info command.

How can I create an Alias to a file?

Thanks a Lot
All the Best
Dave




More information about the use-livecode mailing list