• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script running the wrong application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script running the wrong application


  • Subject: Script running the wrong application
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 24 Aug 2001 14:17:49 -0700

I have a folder with JPEG files with a Picture Viewer creator. I have a
script that tells Graphic Converter to open the pictures, but Picture
Viewer winds up opening them. Anyone know why?

Here's the code:

set the folderToProcess to choose folder
tell application "Finder"
set the photoList to (the files of the folderToProcess)
end tell
repeat with photo in the photoList
tell application "GraphicConverter"
open the photo
end tell
end repeat

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Script running the wrong application
      • From: Paul Berkowitz <email@hidden>
    • Re: Script running the wrong application
      • From: Bryan <email@hidden>
  • Prev by Date: Re: Tex-Edit string manipulation.
  • Next by Date: Re: Replacing Characters in file name - Part II
  • Previous by thread: Re: Attaching a folder action
  • Next by thread: Re: Script running the wrong application
  • Index(es):
    • Date
    • Thread