This is the first time I’ve posted to a BBS, but I’m hoping you guys can help me execute
what I hope will solve a major problem I’m having transferring files from an eMac to a new
iMac. I have a very large quantity of Quark files [created in Quark 5 and Mac OS 9] that
need to be transferred to a new iMac G5. The problem I’ve run into is that the new system
does not recognize them as Quark files and has redesignated them Unix Executable Files.
None of the workarounds suggested by either Quark or Apple Support have worked.
What makes this all the more necessary is that even if I reassign the literally thousands
of changed-to-Unix Quark documents to open in Quark […which unfortunately can’t be
done with the “Use This Application to Open All Documents Like This” because other
kinds of files have also been Unixized], previous attempts to reconnect them to Quark
have wiped out many of the files’ “Created” and “Modified” dates and replaced them
with the current date. And that’s information I really need.
So… unless anyone happens to have come up with another solution [and God love you
if you have], the best alternative I have is to add the .qxp extension to all the Quark
files before transferring them from the OS 9 machine, enabling the new Mac to recognize
them. What I don’t know is the first thing about is how to create a script in OS 9 to do
that, and I could sure use some help. I’d really appreciate whatever help you can offer
or any other solutions you think might work. Thanks.
Try this: It’s an adaption of the essential subroutines that renames all quark documents from folders dropped on the application.
Open the script in script editor.
Save as an application.
Drop an files and or folders.
Quark files are renamed with .qxd
All non quark files and folders are simply ignored.
property type_list : {"XPRJ"}
property extension_list : {"XPRJ"}
-- This droplet processes files dropped onto the applet
on open these_items
repeat with i from 1 to the count of these_items
set this_item to (item i of these_items)
set the item_info to info for this_item
if folder of the item_info is true then
process_folder(this_item)
else if (alias of the item_info is false) and ((the file type of the item_info is in the type_list) or the name extension of the item_info is in the extension_list) then
process_item(this_item)
end if
end repeat
end open
on process_folder(this_folder)
set these_items to list folder this_folder without invisibles
repeat with i from 1 to the count of these_items
set this_item to alias ((this_folder as text) & (item i of these_items))
set the item_info to info for this_item
if folder of the item_info is true then
process_folder(this_item)
else if (alias of the item_info is false) and ((the file type of the item_info is in the type_list) or the name extension of the item_info is in the extension_list) then
process_item(this_item)
end if
end repeat
end process_folder
on process_item(this_item)
set the item_info to info for this_item
set itemname to name of item_info
tell application "Finder"
set the name of this_item to itemname & ".qxd"
end tell
end process_item