1. The old 4D Transporter still runs in classic and works fine (as long as you're not anti-Classic)

2. Transx from http://solo-dev.com/Docs/TransX.zip. It's an applescript application someone wrote which works quite well.

3. Aparajita even wrote and posted this shell script once a while ago:
*********** begin script *****
#!/usr/bin/env bash
#
# Split a file's data/resource forks
#
# $1 - path to source file
# $2 - destination directory
#

# Get the name of the file without extension and the extension
filename=`basename $1`
extension=`echo $filename | awk '{ match($0, /\.[^\.]*$/); print
toupper(substr($0, RSTART, RLENGTH)) }'`
filename=`echo $filename | sed -e 's/\.[^\.]*$//'`

# Figure out the data and resource extensions
case "$extension" in

         .4DB )  # Structure file
                 dataExtension=.4DB
                 resExtension=.RSR
                 ;;

         .COMP ) # Compiled structure file
                 dataExtension=.4DC
                 resExtension=.RSR
                 ;;

         .4DD | .DATA )  # Data file
                 dataExtension=.4DD
                 resExtension=.4DR
                 ;;

         .4CX | .4DX )   # Plugin
                 dataExtension=$extension
                 resExtension=.RSR
                 ;;

         * )     # Assume it's a structure file
                 dataExtension=.4DB
                 resExtension=.RSR
                 ;;

esac

# Copy the forks. To kill the resource fork in the data fork file,
copy a null file into the resource fork.
cp -f "$1" "$2/$filename$dataExtension"
cp /dev/null "$2/$filename$dataExtension/..namedfork/rsrc"
cp -f "$1/..namedfork/rsrc" "$2/$filename$resExtension"

*********** end script *****

HTH,
Randy

On Oct 23, 2006, at 5:13 PM, Brad Perkins wrote:

The first thing I need to do is split the single Mac Active4D.4CX plugin so that I can install it in the Mac4DX folder on our Windows server. I have the ResTransporter Utility (http://www.softrobots.de/ dimension/index.html), but when I run it creates a single file named Active4D. When I launch it it says it wants to Transport from Windows to Macintosh. I can't find a preference or switch to make it work the other way.

Any ideas or alternate suggestions?

Thanks,

Brad

Randy Jaynes
Management Software


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to