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
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
> 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
>
> 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'
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
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.