See PIActions.h You will need to acquire this suite PSActionDescriptorProcs and use these routines /** char* cstrValue); /** * Gets a string (\c typeChar) from a descriptor for a given key. * @param descriptor The descriptor from which to read. * @param key The key to read. * @param cstrValue [OUT] The string returned. * @param maxLength The maximum number of characters to return. * @returns Non-zero error if failure */ SPAPI OSErr (*GetString)(PIActionDescriptor descriptor, DescriptorKeyID key, char* cstrValue, uint32 maxLength); If you are in a filter you will need to convert from the handle descriptor to the PIActionDescriptor. See the Hidden.cpp source file on how to do that. AsHandle HandleToDescriptor P.S. Is it just me or is this a horrible editor for posting messages!!! * Puts a string value (\c typeChar) into a descriptor for a given key. * @param descriptor The descriptor in which to write. * @param key The key to write. * @param value The string to write. * @returns Non-zero error if failure */ SPAPI OSErr (*PutString)(PIActionDescriptor descriptor, DescriptorKeyID key,
... View more