[V4REV] How correctly prepare stack for cross-platform use ?

Trevor DeVore lists at mangomultimedia.com
Sat Jun 11 13:08:55 CDT 2005


On Jun 11, 2005, at 12:41 PM, Trevor DeVore wrote:

Sorry the handler I sent had some mistakes in it.  Here is a revised  
one that works:

on setExternals
     answer folder "Select folder with stacks"
     if it <> empty then
         put it into tFolder
         put defaultFolder into tOrigDefault
         set defaultFolder to tFolder
         put files() into tStacks

         repeat for each line tStack in tStacks
             if char 1 of tStack = "." then next repeat

             get tFolder &slash& tStack
             if there is a stack it then
                 set the externals of stack it to "windows.dll" &cr&  
"mac.bundle"
                 save stack it
                 delete stack it    --> REMOVE FROM MEMORY
             end if
         end repeat

         set defaultFolder to tOrigDefault
     end if
end setExternals

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the Valentina mailing list