Hi Deb, Glad it worked. Like you I'm a long time mac user and I think the developers snuck it in and didn't tell us ! Found it one day when I was idly looking over the Get Info for something to do with permissions. Not like you'd spend a lot of time there.
Kind Regards Eric On 06/05/2011, at 1:20 AM, Deborah Tinsley wrote: > Hey Eric, > This was a great tip. I was skeptical. I didn't even know Get Info had > that feature (I've only used Mac forever. Shows how observant I am). > It worked like a charm. I converted all jpegs, tiffs, and png files. > Now they all open in Photoshop. > > Deb > > Deborah Tinsley > Visual Resources > Kansas City Art Institute > [email protected] > 816.802.3395 > > > > On Wed, May 4, 2011 at 8:35 PM, Eric Wright <[email protected]> wrote: >> Hi Andre >> >> This may have been covered or irrelevant but you can control the default app >> for file types within the finder. >> Do Get info on a file. The option tis there for Open With and can be set for >> all documents of this type. >> My be then FM will use Photoshop. >> >> Kind Regards >> Eric >> >> On 05/05/2011, at 9:50 AM, André Boey wrote: >> >>> Thanks for the clarification, Tim. I need to work on integrating my >>> AppleScripting with FileMaker a little better. ;-) >>> >>> Andre >>> >>> On May 4, 2011, at 18:20, Tim Mansour wrote: >>> >>>> On 5 May 2011 07:33, André Boey <[email protected]> wrote: >>>>> tell application "FileMaker Pro Advanced" >>>>> tell database "Database Name" >>>>> tell table "Table Name" >>>>> set filePath to cell "global Field Name" >>>>> end tell >>>>> end tell >>>>> end tell >>>> >>>> That's not necessary André. >>>> >>>> For starters, the script is being run within the FileMaker context so >>>> the first "tell" statement is redundant. >>>> >>>> Also, it's fair to assume that Deb's FileMaker script will be run from >>>> a context where the field "Photo >>>> Catalog::File Path" evaluates correctly so we can use that field >>>> without having to first set a global. (Plus, you forgot to mention >>>> that the script would first need to set the value of the global >>>> field.) >>>> >>>>> If the path is not a Mac-style >>>>> path but a Unix-style one, you'll have to use Substitute to replace the >>>>> slashes with colons. >>>> >>>> Sorry to be pedantic, but it's not necessarily as simple as that. >>>> Translating from a Unix- to a Mac-style file path is best done by >>>> using: >>>> >>>> POSIX file filepath >>>> >>>> For example: >>>> >>>> set foo to "/Users/tim/Desktop/image.jpg" >>>> POSIX file foo >>>> --> file "Macintosh HD:Users:tim:Desktop:image.jpg" >>>> >>>> HTH. >>>> >>>> -- >>>> Tim Mansour <[email protected]> >>>> Neologica Print & Promotions ABN 63 904 335 408 >>>> Certified FileMaker 10 Developer >>>> PO Box K1163 : Haymarket NSW 1240 >>>> Mobile 0405 500 846 >>
