Re: ProcessInformationCopyDictionary

2009-02-11 Thread Jean-Daniel Dupas
Le 11 févr. 09 à 12:46, Trygve Inda a écrit : I think it exists a standard Apple Event to retrieve a process version. (get «vers») But you can also add a custom "get version" Apple Event handler to your helper and use it to retrieve the version from your pref pane. This works great for fu

Re: ProcessInformationCopyDictionary

2009-02-11 Thread Jean-Daniel Dupas
Le 11 févr. 09 à 12:54, Trygve Inda a écrit : I think it exists a standard Apple Event to retrieve a process version. (get «vers») But you can also add a custom "get version" Apple Event handler to your helper and use it to retrieve the version from your pref pane. Hmmm... It seems keyAEV

Re: ProcessInformationCopyDictionary

2009-02-11 Thread Trygve Inda
> I think it exists a standard Apple Event to retrieve a process > version. (get «vers») > > But you can also add a custom "get version" Apple Event handler to > your helper and use it to retrieve the version from your pref pane. Hmmm... It seems keyAEVersion ('vers') only gets the version info

Re: ProcessInformationCopyDictionary

2009-02-11 Thread Trygve Inda
> > I think it exists a standard Apple Event to retrieve a process > version. (get «vers») > > But you can also add a custom "get version" Apple Event handler to > your helper and use it to retrieve the version from your pref pane. This works great for future versions, but not existing ones. I'

Re: ProcessInformationCopyDictionary

2009-02-11 Thread Jean-Daniel Dupas
Le 11 févr. 09 à 11:43, Trygve Inda a écrit : I call ProcessInformationCopyDictionary (&psn, kProcessDictionaryIncludeAllInformationMask); but if the application has moved since it was launched, the result of this call in the CFBundleExecutable and BundlePath keys is wrong. The va

ProcessInformationCopyDictionary

2009-02-11 Thread Trygve Inda
I call ProcessInformationCopyDictionary (&psn, kProcessDictionaryIncludeAllInformationMask); but if the application has moved since it was launched, the result of this call in the CFBundleExecutable and BundlePath keys is wrong. The values contain the original location of the application.