schroef
Advisor
schroef
Advisor
Activity
‎Dec 09, 2024
02:28 PM
Its also not defaulting because i believe, the descriptor stores the last setting. Unless you dont use the store function for that particular part, it will always store it and always revert to its last used setting At least, thats how i use this script. i have a custom version of a mixed one. Ive mode which does layercomps and artboards and i store everything using ObjectToDescriptor. In the artboard to files jsx files it is used. The part is called "isOverrideSticky"
... View more
‎Dec 09, 2024
11:59 AM
result[8] is the callback
... View more
‎Dec 09, 2024
10:32 AM
Nice find! Curious, why they have such an error in their code. PS does not seem to fix the issue. I dont get any thing in return when adjusting the code to this
... View more
‎Dec 09, 2024
07:04 AM
1 Upvote
You can actually open another panel using a button. There is no close panel function though function openGuides() {
var ext = "com.sbaril.animdessin2.Guides";
csInterface.requestOpenExtension(ext, "");
} Where Guides is another panel in the same CEP extension. you also actually open panel from other CEP extension this is the guides panel in the manifest.xml <Extension Id="com.sbaril.animdessin2.Guides">
<DispatchInfo >
<Resources>
<MainPath>./toolsguide.html</MainPath>
<CEFCommandLine>
<Parameter>--persist-session-cookies</Parameter>
</CEFCommandLine>
</Resources>
<Lifecycle>
<AutoVisible>true</AutoVisible>
</Lifecycle>
<UI>
<Type>Panel</Type>
<Menu>%PNL_Title_ToolGuide</Menu>
<Geometry>
<Size>
<Height>800</Height>
<Width>320</Width>
</Size>
<MinSize>
<Height>500</Height>
<Width>320</Width>
</MinSize>
<MaxSize>
<Height>1920</Height>
<Width>1080</Width>
</MaxSize>
</Geometry>
<Icons>
<Icon Type="Normal">./icons/iconNormal.png</Icon>
<Icon Type="RollOver">./icons/iconRollover.png</Icon>
<Icon Type="Disabled">./icons/iconDisabled.png</Icon>
<Icon Type="DarkNormal">./icons/iconDarkNormal.png</Icon>
<Icon Type="DarkRollOver">./icons/iconDarkRollover.png</Icon>
</Icons>
</UI>
</DispatchInfo>
</Extension> Here you see an example. Notice how the help guides is a separate panel, im going to open it through that panel we see at the bottom. See attached screengrab
... View more
‎Dec 04, 2024
10:14 AM
Doesnt seem to solve it for me, it won ON, i turned in OFF and it still pop-up all the time. Never had a crash, its probably, due to this. But i find the popup annoying and unnecessary. Its probably Windows rubbish dev work
... View more
‎Dec 04, 2024
09:08 AM
I answer, so others can see it as well. But the same code works just fine. How ever, the parameter you can feed into the colorPicker function seems different. Where in Photoshop app.showColorPicker(true) will set the forgroundColor on return and also inputs that color so it doesnt start at black. In illustrator this works different, but the picker still shows var storedDigitalColor = new RGBColor();
exportInfo.options.customDigitalColor = "128-128-128"
digitalColor = exportInfo.options.customDigitalColor.split('-');
storedDigitalColor.red = digitalColor[0];
storedDigitalColor.green = digitalColor[1];
storedDigitalColor.blue = digitalColor[2];
completedDigital = app.showColorPicker(storedDigitalColor); This example is from setting the color from a stored JSON file. Ive used this for a custom dialog. Also what is different, in photoshop when you assign a variable to the showColorPicker. It returns a Boolean. Where in Illustrator it return a colorObject
... View more
‎Nov 29, 2024
06:56 AM
I did not try that. I believe the calculations in general cause this. It rounds to 2 decimal numbers. Which in this case, causes the mismatch. With a 3 decimal number, it's almost perfect match
... View more
‎Nov 27, 2024
10:07 AM
There is however a mismatch, probably due to rounding of numbers which illustrator does. If you also do the last one, so it should overlap the first one. In outline mode we see a mismatch. small gap, meaning a mismatch I found this by using a different method. I tried a method using the "Pie" slicing options. I noticed this showed a mismatch end, a gap so to speak. Then tried this method and again, same mismatch and a gap again same gap, using pie slice options I used the same number; 6.92deg I even tried 360/52 to make sure it was exactly the same Pie slice settings All nice and dandy that illustrator says it can do math, but its not reliable. See what a calculator comes to with same 360/52 Issue with illustrators math and rounding of numbers Issue is kinda fixed by using a float of 3. so paste in this number. Illustrator again rounds it, but now to 3 decimal. 6.923 gives much better result No visible hole at regular zoom
... View more
‎Nov 27, 2024
10:01 AM
2 Upvotes
Bizarre, still see this issue happening as off 2024
... View more
‎Nov 27, 2024
08:53 AM
I feel this tool hasnt gotten the love of smart guides. It would be so much nicer to have smart guides on this tool as well. same goes for reset option. EDIT Well, going to Character Panel > Reset Panel. Its actually resets the touch type edits, but i had to do it twice. First time it clears the rotation, second time it clears the letter-spacing and others Reset Panel resets Touch Type
... View more
‎Nov 27, 2024
08:51 AM
I feel this tool hasnt gotten the love of smart guides. It would be so much nicer to have smart guides on this tool as well. same goes for reset option EDIT Well, going to Character Panel > Reset Panel. Its actually resets the touch type edits, but i had to do it twice. First time it clears the rotation, second time it clears the letter spacing and others
... View more
‎Nov 20, 2024
04:26 AM
Do the files end with .jsx? Is it possible to make a screen grab? There should be other scripts in there as well, you mean those also don't show/work? That would be kinda strange. Many of those a native illustrator scripts
... View more
‎Nov 08, 2024
11:02 AM
No not a type. I set to range to a out 2700Mb, say 2.7 Gb RAM. Why would I want ps to give all available 16Gb.
... View more
‎Nov 08, 2024
06:42 AM
Seeing the same issue in v25.1.0 I limit it to say, 2500MB, i open perhaps 1-2 documents. It surpasses that limi by double or tripple the amount. What is then the use of setting a limit?!
... View more
‎Nov 05, 2024
01:02 PM
Having this preset is nice, now i can use same trick from Illustrator as well
... View more
‎Nov 05, 2024
12:33 PM
Nice trick! I did it wrong first time. I was thinking a, no fill, no border, would work as well. Nope. Really needs opacity 0 in order for this to work
... View more
‎Oct 15, 2024
05:39 AM
I remember this issues on OSX. Sadly this is an os issue. I worked till last year on an Mac pro 2.1 from 2009nrunnijng El Capitan, had this same issue. I also have a WI does laptop and his does NOT show this "issue". Perhaps the devs need to do something specific on osx side to turn this behavior off. If you run a Google inn this subject, youpl find tons of people asking / wondering the same. Makes me wonder if it actually can be foxed
... View more
‎Oct 04, 2024
08:10 PM
Ps there is also class to get duration as r-bin shower. I've never tried that, so perhaps that gets the duration per frame. You will need a groot to jump to different frames though
... View more
‎Oct 04, 2024
08:06 PM
1 Upvote
Sorry as I reread it, I think you mean you want the time per frame. I'm not sure that's is possible. I have not found that that. I have used a combinations of codes to get the complete timeline duration as I need that for a custom timeline scrubber I made.
... View more
‎Oct 04, 2024
01:11 PM
1 Upvote
@alexanderl16240166 This function return the t8melineframelength // Paul Riggot
function getTimelineLength() {
var ref = new ActionReference();
ref.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID('duration'));
ref.putClass(stringIDToTypeID('timeline'));
var desc = new ActionDescriptor();
desc.putReference(charIDToTypeID('null'), ref);
var TC = executeAction(charIDToTypeID('getd'), desc, DialogModes.NO);
TC = TC.getObjectValue(stringIDToTypeID('duration'));
var M = 0;
try {
M = TC.getInteger(stringIDToTypeID('minutes'));
} catch (e) {}
var S = 0;
try {
S = TC.getInteger(stringIDToTypeID('seconds'));
} catch (e) {}
var F = TC.getInteger(stringIDToTypeID('frame'));
var F = TC.getInteger(stringIDToTypeID('frame'));
var FR = TC.getInteger(stringIDToTypeID('frameRate'));
var A = new Array();
A.push([
[M],
[S],
[F],
[FR]
]);
return A;
} Note that copy paste can break it. Simply test it with a. Alert()
... View more
‎Sep 21, 2024
01:27 PM
This panel works for frame animation, not the video style method. As @c.pfaffenbichler states, an simple example file would help pinpoint possible issue
... View more
‎Sep 19, 2024
06:21 PM
But how is this done in the future. I didn't see anything about that or 8 missed it
... View more
‎Sep 18, 2024
08:50 AM
@Matheus3825881488n1 which version of the script are you using and do you get any error or dialog when running it?
... View more
‎Sep 18, 2024
08:49 AM
@amitf37167611 Yes, if the colorbooks are there in the app settings folder and the swatch is rendered properly in illustrator, it will show the correct LAB values. all other values are off since the official pantone values are not included in there spot colors
... View more
‎Sep 17, 2024
09:10 AM
Perhaps add panels which show option names. It will group items and look more defined See here my example, where i used your initial code to add webp as an export type GUI for replace link SmartObject script PS how do you guys get that enlarg icon when placing an image. Ive never seen an option for that. Thats why i always use large. But thats not clickable, tried all sizes, but never is clickable in my case Top right corner shows enlarge icon
... View more
‎Sep 14, 2024
06:51 PM
1 Upvote
Yeah I feel you on that. It's so tedious to get it to work. Takes of hours of testing and debugg9ng.. If you than want to expand it using descriptor so it stores the variables, it gets even worse. If you need a preset system, dang that's also tons of work. Yet, somehow I do like this process and it sure does make me feel good when 8 accomplish on the job
... View more
‎Sep 14, 2024
06:49 PM
Can you show a screen grab of the dialog?
... View more
‎Sep 14, 2024
06:48 PM
Is AI cclever" enough to understand which variable is for what and use the inputs as a variable. That's genius! I always scripture website by Joonas, but it's very tedious work. Especially big scripts with lots of options. Then. Adding presets and storage of the files expands the difficultly and time needed to test and take out errors. Very cool you were able to do this
... View more
‎Sep 10, 2024
08:47 AM
1 Upvote
To make the extra step, you can use a directional gausian blur. As reflections under an angle turn more sharp towards smaller view angle
... View more
‎Sep 06, 2024
09:47 AM
@Anubhav M Okay dove a bit deeper in Windows settings. Im more of a OSX person, but im working since about a year on windows for the time being. But i found this setting and seems this also is a fix. The causes wont allow the cursor to move in between clicks. Tested it a bit and is much more convenient now. By default it was set to the right about 1/5 or so. I set it all the way to the left now. Perhaps this helps others Edit PS to get this window above. Search for "double tap settings" Then select double click > settings Then adjust "Spacial Tolerance"
... View more