How to use XFCNs & XCMDs in Rev?

Dave dave at looktowindward.com
Tue Feb 27 08:45:26 EST 2007


Hi.

Something like this should do it:


on preOpenStack
   local myExternalFilePathName

   set the externals of this stack to empty

   put <the_full_path_external> into myExternalFilePathName

--
--  Have to test for a folder here since on MacOS X the external is a  
bundle which looks like a folder to RunRev
--
   if there is a folder myExternalFilePathName then
     put myExternalFilePathName & cr into myExternalFilePathName
     set the externals of this stack to myExternalFilePathName
   else
     beep
     answer "External File Not Found: " & cr & myExternalFilePathName
   end if
end preOpenStack


Hope this Helps
All the Best
Dave


On 27 Feb 2007, at 12:53, Tim MacKenzie wrote:

>
> How do you install and use XFCNs and XCMDs in Rev?
>
> - Tim MacKenzie
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list