Quark & OSX - File extensions gone? WTF?

BoyBlunder

[H]ard|Gawd
Joined
Nov 10, 2003
Messages
1,245
We've got a client that's having an issue currently with all of her file extensions for Quark disappearing. She can manually add them, but she thinks that's a pain in the ass and just bitches about it, so I'd like to resolve the issue.

Basically, all Quark files have lost their .qxd extension, and are showing up as UNIX scripts and she can't open them unless she adds the extension. I've tried Get Info > Open With > Other > (navigate to Quark) > Change from Recommended Application to All Applications and selected it, but that only does it for one file. How can I do this for ALL Quark files on the system?

Any help would be greatly appreciated.
 

sprale

n00b
Joined
Jun 1, 2008
Messages
37
What version of Quark is she using? What platform are the files being worked on?

In my workflows, the files are only touched on OS X, so extensions are no big deal. You could use AppleScript to add the ".qxd" to the end of a batch of files.
 

BoyBlunder

[H]ard|Gawd
Joined
Nov 10, 2003
Messages
1,245
I'm not too familiar with AppleScript which sucks because I should be :rolleyes:

She is running OSX 10.4.11 and Quark 6.5.2.
 

sprale

n00b
Joined
Jun 1, 2008
Messages
37
Same specs as my work groups. Head over to MacScripter, get registered and ask the extension question in the OS X forum.

MacScripter

Add Extension searches

Script Editor comes with OS X, so its just a matter of copying the code into a new window and saving as an application. Don't worry, the language is closer to English, so you can gather what the script is basically doing.
 

KaosDG

[H]F Junkie
Joined
Apr 3, 2000
Messages
11,944
Why not just use an Automator action?


use the action "Finder -> Get Selected Finder Items"
then "Finder -> Rename -> Add Text -> qxd -> as extension"

Edit:
Also with this, you can set it up as a folder action, so if the client saves all her quark files to a certain folder, it can automagically add the extension to any file in that folder.

Or, save it as a plugin and make it a right-click action.
 

sprale

n00b
Joined
Jun 1, 2008
Messages
37
Its odd that I've never tried to use Automator, but have used AS in numerous workflows. I've not had consistent luck with Folder Actions in Tiger, but that is a possibility. Try this in Script Editor, save as an app.

property newExtension : "qxd"
set theFolder to choose folder
tell application "Finder" to set name extension of (files of theFolder whose name extension is missing value) to newExtension
 

axlgroove

n00b
Joined
Aug 29, 2008
Messages
21
she thinks that's a pain in the ass and just bitches about it, so I'd like to resolve the issue.

Sounds like a old co-worker.. lol
I made her a sign once. "They have google on the internet now"
 

sprale

n00b
Joined
Jun 1, 2008
Messages
37
Designers generally are a PITA. They have enough computer knowledge to turn the box on and do what they have to, with little motivation to do much more.

Are the files being created or modified on a Windows box somewhere else or are they end-to-end on her Mac alone? Are there other Macs in her group displaying the same symptoms? Does it only happen under her account on that Mac?
 

BoyBlunder

[H]ard|Gawd
Joined
Nov 10, 2003
Messages
1,245
Are the files being created or modified on a Windows box somewhere else or are they end-to-end on her Mac alone? Are there other Macs in her group displaying the same symptoms? Does it only happen under her account on that Mac?

They are being stored on a Windows server, that's the only Windows "thing" in the environment. It's not affecting other users, until she saves files w/in Quark and other users are seeing them as UNIX files.

I'll find out later on today if it's happening on only her account.
 

KaosDG

[H]F Junkie
Joined
Apr 3, 2000
Messages
11,944
They are being stored on a Windows server, that's the only Windows "thing" in the environment. It's not affecting other users, until she saves files w/in Quark and other users are seeing them as UNIX files.

I'll find out later on today if it's happening on only her account.

Is she the only one using the Mac? (IE everyone else uses Quark under windows or something)
 

sprale

n00b
Joined
Jun 1, 2008
Messages
37
Sounds like the Windows server is separating the resource fork (which defines file type and creator) and the data fork (the file data). Moving files to the Windows server from the Mac is not an issue, but moving them back to the Mac strips off the resource fork. This is why you are able to repair them manually.

Your server admin needs to set up a share that the Mac users can access without separating the forks. Here is an article with the steps in more detail:

http://articles.techrepublic.com.com/5100-22_11-5875933.html

Good luck!
 

axlgroove

n00b
Joined
Aug 29, 2008
Messages
21
Or she could just remember to add the .qxd extension when she saves.

I'm not sure anymore, but I thought I recall quark 5 having the option to add the extension when you save. This really could save you both the trouble. The mac will see it just fine and pc users will see be able to open it without renaming em.
 

Absentee

[H]F Junkie
Joined
Aug 27, 2004
Messages
9,412
quark sucks. tell her to get indesign.


:D


my suggestion would have been an automator workflow, buts its been mentioned...;)
 
Top