Muppet Mark
Guru
Muppet Mark
Guru
Activity
‎Sep 10, 2014
09:35 AM
1 Upvote
Oh sorry... That may be me..!! Might have posted a binary... I will have to check... Sent from my iPhone
... View more
‎Sep 10, 2014
08:26 AM
I did these a while back. ID files do let you click the link icon top right and let you collect links per file.. Adding a loop to selection should be relatively easy... AI does not get these icons because of a missing bag in the file XMP. Sent from my iPhone
... View more
‎Sep 09, 2014
11:22 AM
1 Upvote
You will find an AI and ID links to collection scripts at psscripts... I did these some time ago.. Sent from my iPhone
... View more
‎Aug 19, 2014
02:26 PM
Bridge can read image data and save to JPEG format look at the new bitmap options... Sent from my iPhone
... View more
‎Aug 08, 2014
09:06 AM
You've several options available to you… As you have mentioned AppleScript I will start there… AppleScript has a faceless app called Image Events you can use this to extract the properties you want… This app just gives you easier access to SIPS you can do shellscript and do this yourself… Apple has spotlight that will store metadata about your files again you can do shell script with MDLS… You could AppleScript PhotoShop to open the files but this is a massive waste ( no need to open them ). Using extendScript again you could use PhotoShop but the same waste wrong tool for the job. A Bridge script would be better and faster me thinks… Using shell is super quick… but you need to search else where to get what you need… ( I've pretty much forgotten the bits I knew oops )
... View more
‎Aug 04, 2014
05:56 AM
It's in the guides but is the ExtendScript way to pass data between apps... Sent from my iPhone
... View more
‎Aug 04, 2014
05:16 AM
There is nothing wrong with the new files but yes this can cause more back up than is really needed. FRom a personal stand point I would have gone for Bridge for this workflow. It has a move command that works propery. It can watch a folder using a scheulled task. I would have tried BridgeTalk to pass to PS for processing. but that's just my preferred option...
... View more
‎Aug 03, 2014
03:25 PM
This will create NEW files though...
... View more
‎Jul 30, 2014
11:39 AM
Pedro, are you now using cc bridge? Has anything been fixed...? Im long overdue moving up... but I can't afford to be doing one forward two back.
... View more
‎Jul 30, 2014
08:27 AM
I know Paul had issues but you just don't see anything about what's fixed and when. Sorry I don't have good news but this forum is very low traffic. Someone else on newer may pop by...? Sent from my iPhone
... View more
‎Jul 30, 2014
07:52 AM
Paul told me a lot was broken in bridge CS6. I never went past CS5 because of this. I think the not bothering with fixes helped drive him away... If you can't find the answer in one of his d posts then don't hold your breath... Sent from my iPhone
... View more
‎Jul 25, 2014
08:45 PM
I only quick glance at your script… but I see several errors straight away… You only use the bounds of the first artboards[0]…? if they is all different then this must be inside the loop…? ( as size for each ) Just create the one options object and only change the scaling property for each…? ( you have far more than you need here ) Lastly detectSizes() is a function… You have passed it nothing in arguments terms so your variables are out of scope…? ( it no have the slightest idea what scale options are )
... View more
‎Jul 25, 2014
08:40 AM
Is this your input or output format..? I would be concerned abouts the quality... You could make templates and replace linked smart objects..? Personally I would have reservations over type..!
... View more
‎Jul 25, 2014
08:33 AM
And ur mad it's a one liner...! (DOM) You were close but no cigar...! Sent from my iPhone
... View more
‎Jul 25, 2014
05:43 AM
What file format are you using for your printer...? Sent from my iPhone
... View more
‎Jul 25, 2014
04:31 AM
Not unless a Graphic Style already exists in the current document… If so you can apply it…
... View more
‎Jul 25, 2014
04:28 AM
Hum… and you use Photoshop to do this type of work…? I would use ID or AI for this… Do you have just a PS licence or the suite…?
... View more
‎Jul 25, 2014
04:20 AM
1 Upvote
You can do 2 ways… Using the DOM or scriptlistener…
#target photoshop
var doc = app.activeDocument.artLayers[0].posterize( 50 );
//posterizeLayer( 50 );
function posterizeLayer( numb ) {
function cTID(s) { return app.charIDToTypeID(s); };
//function sTID(s) { return app.stringIDToTypeID(s); };
var desc66 = new ActionDescriptor();
desc66.putInteger( cTID( 'Lvls' ), numb );
executeAction( cTID( 'Pstr' ), desc66, DialogModes.NO );
};
artLayers is an Array so target the one you want by index… No need for the .add()
... View more
‎Jul 22, 2014
09:54 AM
Hum the counters is an odd thing… It looks like it does all or nothing…? If I change group visibility it does NOT change the count unless I do it to ALL…? if any 1 group is visible the the count length is ALL…? So using Adobe extendScript I can do this as alt…?
#target Photoshop
var doc = app.activeDocument;
for ( var i = 4; i >= 0; i-- ) { // Just a reverse remove
var allCounts = doc.countItems.length;
alert( ' All remaining Counters: ' + allCounts ); // All the doc counts…
selectCountGroup( i );
clearCountGroup();
var newCount = doc.countItems.length;
var grpCount = allCounts - newCount;
alert( 'Group ' + ( i + 1 ) + ' Counters: ' + grpCount )
};
// This has NO affect on count its either ALL || NOTHING
function countGroupVisible() {
function cTID(s) { return app.charIDToTypeID(s); };
function sTID(s) { return app.stringIDToTypeID(s); };
var desc130 = new ActionDescriptor();
desc130.putBoolean( cTID('Vsbl'), false );
executeAction( sTID('countGroupVisible'), desc130, DialogModes.NO );
};
//
function selectCountGroup( numb ) {
function cTID(s) { return app.charIDToTypeID(s); };
function sTID(s) { return app.stringIDToTypeID(s); };
var desc133 = new ActionDescriptor();
desc133.putInteger( cTID('ItmI'), numb );
executeAction( sTID('countSetCurrentGroup'), desc133, DialogModes.NO );
};
//
function clearCountGroup() {
function cTID(s) { return app.charIDToTypeID(s); };
function sTID(s) { return app.stringIDToTypeID(s); };
var desc198 = new ActionDescriptor();
executeAction( sTID('countClear'), desc198, DialogModes.NO );
};
... View more
‎Jul 22, 2014
09:07 AM
#target illustrator var doc = app.activeDocument; alert( doc.pathItems.length ); // All document paths alert( doc.groupItems[0].pathItems.length ); // Just the target group paths alert( doc.pathItems.length - doc.groupItems[0].pathItems.length ); // The rest… var count = doc.groupItems[0].pathItems.length; for ( var i = 0; i < count; i++ ) { doc.selection = doc.groupItems[0].pathItems; $.sleep( 500 ); app.redraw(); }; Just target the required groupItem…? As you can see from this you can isolate any objects within the doc… Should be exactly the same in VB…?
... View more
‎Jul 22, 2014
07:08 AM
A pain in the ar$e…
... View more
‎Jul 22, 2014
06:55 AM
If I was wanting to do this then I would add either a menu item or contextual menu…? Event handlers are going to kick off all the time and turning them on/off will be APITA…? Are the file paths between the *.psd files and *.jpg files always relative…?
... View more
‎Jul 22, 2014
03:07 AM
I can't help you using VB ( I'm on a mac ) but in answer to your question… Yes its pretty straight forward… Have script look for the path that has the clipping property as true… In the case of your codes its most probably the first and only one in the group… Do you mind using JS or do you need to do other processing in the VB…?
... View more
‎Jul 22, 2014
03:01 AM
Yes you certainly will find more help here if using JS over AS and yes cutting another's tech does reduce problems… Thats my experience… I've had less problems particulally app versioning with JS.
... View more
‎Jul 21, 2014
12:46 PM
What are you trying to do…? No need to but Javascript Ref you will find loads FOC. NOT all will apply as ExtendScript is based on an old version. You will need to learn the base classes as the guides don't help with any of that. They expect that you learned the basics elsewhere. Scripting language won't change an app's behaviour changing text will do the same in given both… Some actionmanager code may let you dig deeper but everything I've seen is a minefield with editing type…
... View more
‎Jul 21, 2014
08:43 AM
Hey start a new topic… The forum could use the traffic with your posts that makes about 5 of us here…!! Explain further what you are trying to do here… You can script *.jpeg filtering by script text or regexp methods…
... View more
‎Jul 21, 2014
08:38 AM
Text in PS is very hard to work with from the scripting POV. When you replace text layer contents PS will apply attributes of the first character to all... Sent from my iPhone
... View more
‎Jul 21, 2014
03:38 AM
Personly I would add argument to the function so I could pass the 4 options...
... View more
‎Jul 21, 2014
02:29 AM
1 Upvote
Line 30 you have the actionmanager "HdAl" hide all… Record again using show all…?
... View more
‎Jul 20, 2014
08:03 PM
Is that all your script or just part of it…? Either way it's got a line that is Bridge script… app.synchronousMode = true; // This ONLY applies to the Bridge App…
... View more