• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Plugin version number

Engaged ,
Mar 09, 2018 Mar 09, 2018

Copy link to clipboard

Copied

I have a number of x64 filter plugins with no dialog in which I would like to place a version number and change date for each and is somewhere attainable by the PS user.   Prefer to include the filename carried in the PIPL for this as Actions/Scripts need to be changed each code change of the plugins.  Plugin filename xxxxxxxx.8bf or something like that.  That same filename is used in the PIPL.  No versioning software available on the installation site.

Looked at PIPL docs and sames and didn't see anything helpful in SDK and search here.

Thanks,

RONC

TOPICS
SDK

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mar 12, 2018 Mar 12, 2018

That version is not in the PiPL. The Version you see in the PiPL is the version of the PiPL resource which hasn't changed in some time.

You want to add it to your rc file for windows and your Info.plist for mac. The SDK does this by including About.rc on windows via the *.rc plug-in project file. The Info.plist is used directly via the xcodeproj.

Votes

Translate

Translate
Adobe
Mar 09, 2018 Mar 09, 2018

Copy link to clipboard

Copied

What do you get for Help->System Info...here is dissolve. The version comes from your version resource I believe.

   Dissolve 19.0 - from the file “Dissolve.8bf”

You could also add it to your about box. Help->About Plug-Ins->Your plug-in name. Via the about selector in your entrypoint.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 10, 2018 Mar 10, 2018

Copy link to clipboard

Copied

Tom,

I'm losing my ability to translate from Dissolve to reality.   I have not dialog so About is not included in my code.

Help>System Info gives me XXXX,8bf   NO VERSION ..............     My XXXX is a simple title like MATH   I have found nothing in Dissolve.r relating to VERSION  which I would like to be MATHv1.02.01.

I can't see where the Version would be inserted.  I've read every Adobe PIPL article that looked like it might help me.

Dissolve doesn't make for good documentation!!!!

Regards,

RONC

Here is the latest Dissolve.r installed by Adobe to my PC:

// ADOBE SYSTEMS INCORPORATED

// Copyright  1993 - 2002 Adobe Systems Incorporated

// All Rights Reserved

//

// NOTICE:  Adobe permits you to use, modify, and distribute this

// file in accordance with the terms of the Adobe license agreement

// accompanying it.  If you have received this file from a source

// other than Adobe, then your use, modification, or distribution

// of it requires the prior written permission of Adobe.

//-------------------------------------------------------------------------------

#include "PIDefines.h"

#ifdef __PIMac__

#include <Carbon.r>

#include "PIGeneral.r"

#include "DissolveScripting.h"

#include "PIUtilities.r"

#elif defined(__PIWin__)

#define Rez

#include "DissolveScripting.h"

#include "PIGeneral.h"

#include "PIUtilities.r"

#endif

#include "PIActions.h"

resource 'PiPL' ( 16000, "Dissolve", purgeable )

{

{

Kind { Filter },

Name { plugInName "..." },

Category { vendorName },

Version { (latestFilterVersion << 16 ) | latestFilterSubVersion },

Component { ComponentNumber, plugInName },

#ifdef __PIMac__

CodeMacIntel64 { "PluginMain" },

#else

#if defined(_WIN64)

CodeWin64X86 { "PluginMain" },

#else

CodeWin32X86 { "PluginMain" },

#endif

#endif

SupportedModes

{

noBitmap, doesSupportGrayScale,

noIndexedColor, doesSupportRGBColor,

doesSupportCMYKColor, doesSupportHSLColor,

doesSupportHSBColor, doesSupportMultichannel,

doesSupportDuotone, doesSupportLABColor

},

HasTerminology

{

plugInClassID,

plugInEventID,

16000,

plugInUniqueID

},

EnableInfo { "in (PSHOP_ImageMode, RGBMode, GrayScaleMode,"

             "CMYKMode, HSLMode, HSBMode, MultichannelMode,"

"DuotoneMode, LabMode, RGB48Mode, Gray16Mode) ||"

"PSHOP_ImageDepth == 16 ||"

"PSHOP_ImageDepth == 32" },

PlugInMaxSize { 2000000, 2000000 },

FilterLayerSupport {doesSupportFilterLayers},

FilterCaseInfo

{

{

/* Flat data, no selection */

inWhiteMat, outWhiteMat,

doNotWriteOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Flat data with selection */

inWhiteMat, outWhiteMat,

writeOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Floating selection */

inWhiteMat, outWhiteMat,

writeOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Editable transparency, no selection */

inWhiteMat, outWhiteMat,

doNotWriteOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Editable transparency, with selection */

inWhiteMat, outWhiteMat,

writeOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Preserved transparency, no selection */

inWhiteMat, outWhiteMat,

doNotWriteOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination,

/* Preserved transparency, with selection */

inWhiteMat, outWhiteMat,

writeOutsideSelection,

filtersLayerMasks, worksWithBlankData,

copySourceToDestination

}

}

}

};

resource 'aete' (16000, "Dissolve dictionary", purgeable)

{

1, 0, english, roman, /* aete version and language specifiers */

{

vendorName, /* vendor suite name */

"Adobe example plug-ins", /* optional description */

plugInSuiteID, /* suite ID */

1, /* suite code, must be 1 */

1, /* suite level, must be 1 */

{ /* structure for filters */

plugInName, /* unique filter name */

plugInAETEComment, /* optional description */

plugInClassID, /* class ID, must be unique or Suite ID */

plugInEventID, /* event ID, must be unique to class ID */

NO_REPLY, /* never a reply */

IMAGE_DIRECT_PARAMETER, /* direct parameter, used by Photoshop */

{ /* parameters here, if any */

"amount", /* parameter name */

keyAmount, /* parameter key ID */

typeFloat, /* parameter type ID */

"dissolve amount", /* optional description */

flagsSingleParameter, /* parameter flags */

"disposition", // second parameter

keyDisposition, // parameter key ID

typeMood, // parameter type ID

"dissolve disposition", // optional description

flagsEnumeratedParameter, // parameter flags

"ignore selection", /* optional parameter */

keyIgnoreSelection, /* key ID */

typeBoolean, /* type */

"filter entire image", /* optional desc */

flagsSingleParameter /* parameter flags */

}

},

{ /* non-filter plug-in class here */

},

{ /* comparison ops (not supported) */

},

{ /* any enumerations */

typeMood, /* type disposition 'mooD' */

{

"clear", /* first value */

dispositionClear, /* 'moD0' */

"clear headed", /* optional description */

"cool", /* second value */

dispositionCool, /* 'moo1' */

"got the blues", /* optional description */

"hot", /* third value */

dispositionHot, /* 'moo2' */

"red-faced", /* optional description */

"sick", /* fourth value */

dispositionSick, /* 'moo3' */

"green with envy" /* optional description */

}

}

}

};

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mar 12, 2018 Mar 12, 2018

Copy link to clipboard

Copied

That version is not in the PiPL. The Version you see in the PiPL is the version of the PiPL resource which hasn't changed in some time.

You want to add it to your rc file for windows and your Info.plist for mac. The SDK does this by including About.rc on windows via the *.rc plug-in project file. The Info.plist is used directly via the xcodeproj.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

LATEST

Tom,

You got through to me on this.  I found that there is Version Info section of the .rc file.  This section is defined by Microsoft for general use relating version information of not only software but anything.  See also Plugin with "NO VERSION" .

RONC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines