• 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
version of process - file references don't function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

version of process - file references don't function


  • Subject: version of process - file references don't function
  • From: "Armin Egginger [x]" <email@hidden>
  • Date: Sun, 12 Jun 2005 10:50:31 +0200

Hi Scripters,

my idea is, to get the version of the active application process and call it with the correct app name.
The command "file reference of process" doesn't function - bug?
Also the Unix command "ps -x" cuts the application paths and so I can't get the real path to the app file.

I want to get following
check the active processes of maybe FileMaker (I get only the name "FileMaker" back, without any version info)
Get the version of these processes and choose the right one (Developer/Pro/6 or 7) - to get the version look on the app file for the "version info" and than choose the right one.
I also need the complete name of the app - if the user changed it (FileMaker Pro, FileMakerPro7, FMPro6, FMD7,...) to call the app in the right name.
The user shouldn't do that by himself - I want to choose is in my code and switch in the code to the right part of it.

tell application "Finder"
set xInDesignProcNames to get name of every application process whose name contains "InDesign"
set xInDesignProcNames to file reference of first process whose name contains "InDesign"
set xFMProcNames to get name of every application process whose name contains "FileMaker"
--set xFMProcNames to get file reference of every process whose name contains "FileMaker"
end tell

Thanks for any idea to realize it.

cheers

Armin

MacOS X.3.9
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: version of process - file references don't function
      • From: "J. Stewart" <email@hidden>
  • Prev by Date: [ANN] Bitwise and Record Libraries Added to appleMods
  • Next by Date: Re: version of process - file references don't function
  • Previous by thread: [ANN] Bitwise and Record Libraries Added to appleMods
  • Next by thread: Re: version of process - file references don't function
  • Index(es):
    • Date
    • Thread