Scroll.Any time a user installs a new application on a Mac, it becomes the default Mac app for that file type. Open the Windows 10 Settings menu and navigate to Apps > Default Apps. Preview is default OSX app of choice, I guess, but as a designer, I open files with GraphicConverter, Photoshop, PaperPort Page Viewer (the "MAXm" of the sample script) depending on need holding the control key offers me probably 30 apps that read tiffs.Heres how to change the default web browser on a PC, Mac, iPhone, iPad.Every year I seem to do a little updating and re-tweaking.)Windows 8: Change Default Application to Open File Type. The default application doesn't change to match (though it did when the project came through last year.) It's not that I can't do it some other way, but I only make money with an optimized workflow, which AppleScript definitely offers (at least when I get it up and running. In the case of the scripts I tried, AppleScript does report a change of creator, but. I straighten and crop them one at a time, then resave as compressed tiffs for Quark chapters, where I import them ( and size and scale and position them) folder by folder via AppleScript. However, if a user downloads and installs Adobe’s Acrobat Reader or Adobe Acrobat DC, the default file type will change so that all PDF files will open with Adobe Acrobat.In this case, files come in from my scanner to a folder, neatly numbered, and I want to convert them all to open with PPPV on a double-click.
![]() ![]() Set Default App For Opening A File In Mac App ForDon't know why it happens so sporadically.And with perhaps a thousand files in all, putting them back into their respective folders would be more work than changing them a folder at a time. (Maybe once I get beyond this project, I'll be ready to move onward to new system software, but I've learned not to get too adventurous in the middle of a large scripted project, or I'll be squashing bugs instead of turning out billable hours.)Incoming format is straight tiff from the Epson scanner, running under OSX, so I don't think it's that.I don't know why, but when I try to change the creators for a block of files, I have been getting individual windows for Get Info at least half of the time, which makes it tedious to change creators that way. So even if, ideally, I'd like to generate a recursive script to change the several-thousand files at a pass, I can maintain reasonable productivity in spite of the recalcitrance of this default application property!But if any other ideas come up, I'd still like to try them out. Uninstall adblock on chrome for macWhile I have several years experience with AppleScript, and some with javascript, postscript, Fortran and Basic,etc., I'm not currently ready to learn to stay out of trouble with Unix-based commands from what I understand, mistakes can be catastropic and irreversible. My comments were intended simply as feedback to the list I know I always check the archives first, and others may come with similar issues.For now, I think I will pass on command-line solutions, but I will keep them in mind for when a more "geeky" solution is urgently called for. I hope you didn't take my comment as a criticism or as being unappreciative I do appreciate the help you and other scripters have extended so freely over the years, and I doubt I would have the knowledge I do without all those many contributors. (Unfortunately I don't have that option available at present.) I was just reviewing the only place I saw "default application". "When a boy has a hammer, everything looks like a nail." ))No, I'm administrator on this machine, both root and user levels.My System Event library (system X10.4, AS 1.10.7) showsFile n : A file in the file systemCreator type (Unicode text) : the OSType identifying the application that created the fileFile type (Unicode text) : the OSType identifying the type of data contained in the fileKind (Unicode text, r/o) : The kind of file, as shown in FinderFile type (type class) : the OSType identifying the type of data contained in the itemCreator type (type class) : the OSType identifying the application that created the itemDefault application (alias, r/o) : the application that normally opens this kind of itemSo it is true that creator type and file type are settable (and a dowser script that asks for creator type and file type does report the changes) but apparently that is (maybe no longer) enough to get the file launched by its creator.Let me repeat that I always talked about default application of System Events (not of Standard Additions), with is only available in 10.5 LEOPARDI do appreciate that you were discussing Leopard for default application. (I realized last night I could probably have put an alias of the app on the desktop and dropped files on that to open them. In other words, write a script that changes the Creator Type and double-click to your heart's content.Is this not 100% true in Leopard anymore and somehow I've just randomly avoided the issue?Otherwise using "set creator type of to as text" solves the problem handily. For example, all "EPS" files must be Photoshop files.couldn't be Illustrator after all.So Clorox File Repair uses hard-coded detection routines that are more accurate, and when it fixes File Type, Creator, and sometimes the extension, the Mac OS wil treat the file as such:-If the Creator is available, launch that application-If the Creator is unknown, use the "Open with" choiceSo by all that I know, simpy changing the Creator Type should fix the problem of the OP unless I misread. This is the behavior the OS exhibits in my experience when missing File Type and File Creator:-Tries to use the file extension as a basis to guess what app to use, then uses the "Open with" defaults-Without extension, the Mac OS seems to have some limited ability to peek inside a file's header to take a guess.Problem is, it's a lousy guesser at both. It wouldn't be the first time, and I remain appreciative that this technology continues to save me enormous amounts of (very boring) time.I write a script (Clorox File Repair) that restores the File Type and File Creator of files that lose their resource fork, usually from landing on a PC without an AppleTalk stack, or from being compressed into things like TAR.
0 Comments
Leave a Reply. |
AuthorPatricia ArchivesCategories |