Hi, I'm wondering if theres a way to limit the number of options you can "save as" or "export" to in all programs, but mainly photoshop/max/maya...
This aint really a "problem", its just a few seconds of annoyance a day, but it would be nice if someone knew how to do it
Basically the only formats I ever use are tga, jpg, png and psd. I want to avoid having to scan the list of useless formats every time I want to save a new thing (like IFF, EPS etc)
Same applies to max, I only use obj mainly and occasionally smd, fbx, and ase... I know its kinda silly but it sometimes takes me at least 2 sec to find the obj even though I know its position in the list
Also I would like to set obj as the default export type instead of FBX.
Replies
Thats something that always bothered me about PS. One way certainly would be using Jscript to extend photoshop and write Javascript within Photoshop that does what you want.
as for max and maya,- booth have ini or settings files- change or delete some of their enties and you will see less filetypes to choose from when saving or exporting.
But then another annoyance pops up, photoshop keeps adding a "copy" at the end of the filename all the time... and the option to "save as a copy" is greyed out so I cant even disable it. Theres a warning that says "File must be saved as a copy with this selection".
And about those ini files (for 3d max), I found the one in appdata and several others in the 3d max program folder but none of them have anything about any export options except the default directory for exports.
So in other words it will export (with optional no dialogues) your model right away to your preferred target url.
Next to that you could add a little interface (choose URL,- with only filetype OBJ for example) hit save and you are done.
I am sure the same could be archived with Maya and Mel or Python.
As for photoshop with CS4 (though even before possible but more difficult) you can now quickly scratch togehter some scripts to do a little bit more as those actions in photoshop itself.
In cs4 you can now create custom interface panels (with or without having flash) and either write Javascript to control Photoshop (any command that is accessable within photosop- hidden or not it doesnt matter).
Here is a link about it:
http://news.cnet.com/8301-17938_105-10058815-1.html
http://home.insightbb.com/~jamestaylor/
macroScript ExportObj
category:"whatever"
toolTip:"Export Obj"
buttontext:"Obj"
(
if (superclassof $ == geometryclass) then
(
selectionName = $.name
selectionName as string
extension = ".obj"
fullName = maxFilepath + selectionName + extension
exportFile fullname selectedOnly:true
)
)
I also made a ASE, SMD and FBX version and put it into a seperate quad menu - now I dont have to ever see the export dialog again wohoo.
Take the script posted above, and replace "maxFilePath" with
("C:/Documents and Settings/" + sysInfo.username + "/Desktop/")
That should save to your desktop instead of the current file folder.
sysInfo.username will return your username... so if yours were 'renderhjs' your desktop folder should be:
"C:/Documents and Settings/renderhjs/Desktop/"
Obviously this is for Windows (I don't think Max runs on other OS?), but US or wherever shouldn't matter.
c:\dokumente und einstellungen/renderhjs/desktop
and other Windows languages different as well- so I was wondering if that part could be determined.
The other thing is that not everyone installs windows on Drive C:\ - and vista so I assume uses a way different folder structure.
I'm sure there is a way in .NET to get this sort of information, it'd be worthwhile to ask on cgtalk.