Quantcast
Channel: Adobe Community: Message List
Viewing all 150094 articles
Browse latest View live

Re: Sequential Numbered Callouts or Tags

$
0
0

I am using the below script to number the grey box / "dynamic" portion of the tag. Basically, you select all the objects you want numbered and run the script. So in my case, I select same fill of the grey "dynamic" portion and run the script and it adds number, however formatting isn't quite right. 

unnamed-1.png

I feel like I am almost there..  But I need help to edit a bit to get the formatting...

 

Basically, here is what I am looking for as the desired outcome. Need to adjust the following elements: 

  1. Change it to a defined font character and style, ie: Proxima Nova Regular, size= 17pt, tracking= -10, paragraph= align center.
  2. Define the color as a specific CMYK value, ie: C0 M0 Y0 K1
  3. Add leading 00's so the outcome would be 001 through 999 (this one I could do without if it's complicated, as I can use the "fix sequential numbers script" below to add the 00's if need be - or maybe you can help incorporate this as part of this script?).
  4. Center the 001 vertically and horizontally on the grey box
  5. Maintain the group, ie: so the number created is grouped with the rest of the tag.

 

Here is the script I'm using thus far...

 

Add numbers script

var document = app.activeDocument;           //Use the current open Ai File

var selected = document.selection;           //Use the current selection in Ai

 

 

 

 

for (var i = 0; i < selected.length; i++) {  //Iterate over every selected object

    var text = document.textFrames.add();    //Add a new text object

    text.contents = i + 1;                   //Set the corresponding number text

    text.top = selected[i].top - 10;         //Position the text object underneath

    text.left = selected[i].left;

    text.textRange.characterAttributes.size = 24;

    text.textRange.characterAttributes.fillColor = document.swatches[4].color; // use the 4th swatch's color

}

 

 

 

 

Fix Sequential Numbers Script

// fixing sequential numbers

 

 

// a script for Adobe Illustrator CSx-CCx

 

 

// For the selected text objects, change each content so that they become

// a sequential numerical values at even intervals from the backmost value

// to the foremost value.

// For the number of decimal places and the number of zero-filled digits,

// the largest one of the foremost value and the backmost value is adopted.

// (Fractions are rounded off as necessary.)

 

 

// ex. (the left end is the backmost and the right end is the foremost)

// 1 1 1 1 5     -> 1 2 3 4 5

// 1.0 x x x 5   -> 1.0  2.0  3.0  4.0  5.0

// 1 1 1 1 5.00  -> 1.00  2.00  3.00  4.00  5.00

// 1.0 1 1 1 6   -> 1.0  2.3  3.5  4.8  6.0

// 1 1 1 1 6     -> 1 2 4 5 6

// 01 1 1 1 5    -> 01 02 03 04 05

// 00 1 1 1 1 10 -> 00 02 04 06 08 10

 

 

// Hiroyuki Sato

// http://shspage.blogspot.com/2009/06/fixing-sequential-numbers.html

 

 

// 2018-10-03

 

 

main();

function main(){

  if( app.documents.length < 1 ){

    alert("ABORT\rthere's no open document");

    return;

  }

 

  var texts = [];

  var sel = app.activeDocument.selection;

 

  if(!(sel instanceof Array) || extractTextFrames(sel, texts) < 3){

    alert("ABORT\rplease select 3 or more text objects");

    return;

  }

 

 

  var num_to   = texts[0].contents - 0;

  var num_from = texts[ texts.length - 1 ].contents - 0;

  if(isNaN(num_to) || isNaN(num_from)){

    alert("ABORT\rthe foremost and the backmost text objects in the selection must be a number.");

    return;

  }

   

  var interval = (num_to - num_from) / (texts.length - 1);

 

 

 

  var decimal_places = 0;

  if( texts[0].contents.match(/\.(\d+)/)){

    decimal_places = RegExp.$1.length;

  }

  if( texts[ texts.length - 1 ].contents.match(/\.(\d+)/)){

    decimal_places = Math.max( decimal_places, RegExp.$1.length );

  }

 

 

 

  var zero_fill = 0;

  if( texts[0].contents.match(/^0+\d*/)){

    zero_fill = RegExp.lastMatch.length;

  }

  if( texts[ texts.length - 1 ].contents.match(/^0+\d*/)){

    zero_fill = Math.max( zero_fill, RegExp.lastMatch.length );

  }

 

 

 

 

  var s;

  for(var i = 0; i < texts.length; i++){

    s = (num_to - interval * i).toFixed(decimal_places);

   

    if( zero_fill > 1 ){

      while( s.match(/^\d+/)

             && RegExp.lastMatch.length < zero_fill ){

        s = "0" + s;

      }

    }

   

    texts[i].contents = s;

  }

}

 

 

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

function extractTextFrames(s, arr){

  for(var i = 0; i < s.length; i++){

    if(s[i].locked || s[i].hidden){

        continue;

    } else if(s[i].typename == "TextFrame"){

      if(s[i].textRange.characters.length > 0) arr.push(s[i]);

    } else if (s[i].typename == "GroupItem"){

      extractTextFrames(s[i].pageItems, arr);

    }

  }

  return arr.length;

}


Re: Laggy Camera

$
0
0

What version of Character Animator are you running? Did you try the option to limit the camera's FPS to 12?

Did you by any chance run across this thread? Low fps in camera

 

DanTull from the Character Animator team had some suggestions. Perhaps he's discovered something new since that post in December?

Re: How can I duplicate conditional form fields?

$
0
0

Thank you so much, try67.  However, you've overestimated my Javabilities.  I'm so sorry, but can you please clarify?

1. Do you mean that I should add those lines to my existing script?  If so, do I add them to the end of the existing script?

2. Should I use the "Create multiple copies" function to add the additional drop-down boxes to the form? Should they be created before I add the parameter you provided?

3. Should I use the "Create multiple copies" function to add the additional text boxes to the form? Should these be created before I add the parameter you provided?

4. And could you tell me where to "add the field name ("Prev", in this case) to the function call from your drop-down field."?

 

I apologize for my lack of understanding.

Re: Possible Bug encoding video from ProRes 422 and "lower" in Premiere Pro 13.1 on Windows PC

$
0
0

If you're transcoding, either the DNxHD format perhaps with HQ codec, the Cineform, or ProRes 422 or better would work fine.

 

I'm not sure of the reason you hate proxies, so would be interested to hear of ge trouble you see with that process.

 

Neil

Re: creative cloud abo verschenken

$
0
0

Danke für dein Feedback.

 

Auch wenn es schade ist, dass dein „Geschenk“ auf diesem Weg nicht funktioniert, zeigt sich doch, dass es richtig war, vorher nachzufragen (und auch, dass mein Einwand berechtigt war).

 

Aber auch wenn Geldgeschenke nicht „ganz so schön“ sind – was hindert dich daran, einen schön gestalteten „CC-Wertgutschein“ zu verschicken und die CC auf diesem Weg zu verschenken?

 

Viele Grüße

 

Fatal Error when recording with Custom Mode settings

$
0
0

I updated to the latest version of Captivate, and am now getting a fatal error when recording.

 

"A fatal error has occurred and the application is being terminated. Adobe Captivate has tried to save all your work...."

 

I have the issue narrowed down to the recording setting.  I use a Custom recording mode, to capture a "hybrid" version or simulation/demo.

 

In the Modes>Custom screen, I have selected the option to "Use Smart Shapes instead of Captions"

 

If I "deselect" this setting and instead use Captions - then it will record with the rest of the settings and no error is generated.

 

So there is an issue with using Smart Shapes in the capture.

 

Here is some other information:

  1. I have been using this recording setting successfully on Captivate 2019 - this only started happening with the latest version release - which we upgraded to last week.
  2. This is happening to EVERY team member on our eLearning design team (6 team members) - so this is not specific to one user
  3. I cleared the CACHE in Preferences
  4. I did the Clean PreferencesWin file in the utils folder
  5. I renamed the Captivate 11.5 folder in the App Data - to Captivate 11.5_old then reopened Captivate, to force it to generate a new one
  6. I changed the layouts folder on the C drive to force it to create a new one - and again - still have the issue (C:\Users\Public\Documents\Adobe\eLearning Assets) - found the folder called Layouts - renamed to Layouts_old - and restarted Captivate.
  7. I have files setup to save to the C: and not a network location, so it's not a network connectivity issue.

 

Nothing has resolved. We have well over 100 learning materials - with several hundred more to develop over the next year - and really need the smart shape in place of the caption setting.

 

Any other suggestions of what to try?

 

(I did report this to Adobe support as well, via email - but I don't know how long it will take to get a response.)

Re: Laggy Camera

$
0
0

Yes I've seen that thread, and the only solution that was stated was to reset PRAM, and it did not work. Limiting the fps to 12fps only makes it worse.

Re: Real Estate on Left Hand Side

$
0
0

Here's the second CSS file. This is the only area where the margin is not set to 0.

CSS Source.PNG


Re: How can I duplicate conditional form fields?

$
0
0

First you will need to better explain the situation, I think.
Do you have multiple drop-down fields with multiple corresponding text fields that you want to populate based on the selection in each drop-down? If so, what are the names of those fields?

Erreur Adobe - Export d'un .gif sur Photoshop

$
0
0

Bonjour,

 

Je rencontre une erreur avec Photoshop (version 20.0.03) lors de l'export d'un fichier .gif

En effet, il me donne le message d'erreur suivant : "impossible d'effectuer cette opération. Une erreur indéterminée s'est produite" lors du chargement de l'export.

 

Je voulais simplement savoir si un autre utilisateur avait reçu cette erreur avec la dernière version de Photoshop ? Si oui, avez-vous réussi à outrepasser ce problème ?

Merci.

Re: Is there some way that the screen font size in inCopy can be enlarged?

$
0
0

OHMYGOSH thank you! I don't know why I couldn't figure this out on my own, but it was driving me nutty! 

Re: There is not enough memory to process the appearance of an object

$
0
0

For me, it's also happening just in the past two weeks. I reinstalled Illustrator and it works until ---  I try to open the graphic styles window, I get the out of memory error. Using latest version of Mojave and Illustrator.

Re: Laggy Camera

$
0
0

There was also the suggestion of making sure the app has permission to use the camera, if you're on Mojave. I'm going to ask around and see if anyone has some insight into this issue.

Add value to proximity based scale expression

$
0
0

Hello! Thanks for your time!

 

So, I'm trying to make a square shape layer scale down to 0 once it passes thru a text, so it doesnt cover the text up.

 

I've got this expression:

 

  • t = length(position, thisComp.layer("Text").position);
  • s = ease(t, 200, 0, 0, 100);
  • [s, s]

 

But it only references the text's anchor point, which is in the center. My problem is the square shape layer is multiple (lots of squares going thru) and they will come on a 45 degree angle. So if I adjust the distance from the anchor point which the scaling will begin horizontally, the vertical distance gets too large, and vice versa (except it gets too small for the horizontal once I adjust the distance based on the vertical).

 

I've figured that if I make 4 layers of the same text, each with an anchor point in the extremities (up, down, right, left) and managed to reference each anchor point to the proximity scaling, it should work the way I wanted, but I dont know how to use 4 values in this expression:

 

  • t1 = length(position, thisComp.layer("Text").position);
  • t2 = length(position, thisComp.layer("Text 2").position);
  • t3 = length(position, thisComp.layer("Text 3").position);
  • t4 = length(position, thisComp.layer("Text 4").position);
  • s = ease( [t1, t2, t3, t4], 200, 0, 0, 100 );
  • [s, s]

 

Except the brackets doesnt work. Anyone can give me a light? Maybe there is another way to do it that I`m missing. Sorry for any stupid questions, I`m new to the expressions world...

 

 

Re: Lightroom Mobile Premium not working

$
0
0

Hi Russ and Tomo. Can you both do me the favor and try the following....

 

  1. Sign out of the Lightroom app.
  2. Sign out of your iTunes ID in iOS Settings > iTunes & App Store
  3. Restart your device.
  4. Sign back into iTunes, and ensure your credit card/payment details are current, not expired
  5. Confirm the Lightroom subscription is still valid in your iTunes account info. 
  6. Sign-in to Lightroom app again.  (It is important the iTunes account that buys the subscription is the same account that downloads the app!)
  7. Try Restore Purchase again in Lightroom's settings.
  8. If the spinner takes a long time, and the purchase or restore doesn't complete within in a few minutes, please try a different network connection. 

 

Let me know if that helps.

Guido/ Lr Mobile QE


Re: Black shadows on Illustrator screen when the document is zoomed out.

$
0
0

Thanks for confirming. Please feel free to update the discussion if you have any further query.

Regards!

Re: Forgot the password of PDF file

$
0
0

please see your replies above. Your not very helpful are you "Remember the password or re-create the file." then they asked the question again and you said "Read my old reply."

 

No point in you answering if you're going to be unhelpful. Genuine question and to then get berated by you. GROW UP.

Trying to install helper tool on Flash Player 32.

$
0
0

When I try to install, popup says "Install Adobe Flash Player is trying to install a new helper tool. Enter your password to allow this." User name shows my name. Tried new password and it failed. Changed user name to email address and tried new password again. It failed.

Re: CP9 and Radio Button Widget no displaying in HTML5 when published

$
0
0

Oh, right. We're on HTML5, I can inspect the element in Chrome because it's nto flash. (more than one cup of Coffee today, maybe that's why).

 

It's around here that may be where the problem is... (bolded)

 

<div id="Widget_8c" class="cp-widget" style="transform: translate3d(0px, 0px, 0px); opacity: 1; left: 36px; top: 348px; width: 240px; height: 115px; position: absolute; color: rgb(0, 255, 0);">

     <span>

          <iframe id="51100" name="51100" src="wr/w_51100/Widget_51100.htm#rpctoken=xxxxx&amp;oahParent=xxxxx" frameborder="0" scrolling="no" style="width: 100%; height: 100%; visibility: visible; display: inline;"></iframe>

      </span>

</div>

 

I *believe* it's this DIV that is constraining the display of the radiobutton content within (which contains an iframe). How come this is not being adjusted to the size of the radio button height/width on the screen? Inspecting the CSS on the page, and this particular element, I think this is the culprit for all that ails. Granted this does seem to contradict my earlier hypothesis of the 140/175 above, but that I could actually delve into the CSS and code, I already like it better than Flash.

 

It appears that Adobe Captivate creates an iframe for the radio button widget, which contains another full-up HTML page just of the widget.

 

If the size of the iframe isn't set properly in the CSS, then it's going to constrain its contents to just that iframe size of 240/115 and anything displayed outside of it will not be "shown through the window" of said iframe.

 

And I agree, that the CSS included in the index file *should* work to resize the iframe... tried adding height attribute to no avail.

 

--kC

Cannot attach file to DC

$
0
0

When I go to attach a file (docx, xlsx, etc) I always get an error - "An internal error occurred".  Used to using Acrobat XI and never had this problem, am using trial version of DC.

 

Running OS X 10.14.5.

 

Help is appreciated than you

Dan

Viewing all 150094 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>