Label graphics script in CS2?

does anyone know if the LabelGraphics script for CS3 can be modified for use in IDCS2? Any hints on how to do it?
Thanks
jon

Why not try it out and see? You'll find out pretty fast one way or the other. Use a test file.
Peter

Similar Messages

  • Label Graphic Script CS4 Questions?

    Trying to test the label graphic script in cs4. How do I control the font in the label box. Seems to be defaulting to a font I dont want to use. Want to use a simple 9 point font. Is there any further documentation on the use of this script or other cs4 scripts? I have not done much with scrips but think they might be helpful in my workflow.
    Rob

    You need to set up, and select, a paragraph style that you want to use.
    Peter

  • What is the use of labels in scripts?

    What is the use of labels in scripts?
    why it is not possible to create lables in smartforms?
    How can we print different barcodes in scripts and smartfoms?
    Is it possible to create a background logo for a page in script?
    I think we can do this background logo in smartform but in script is it possible?
    Thanks in Advance.
    Regards
    Abhilash.

    1) Labels are used to get
        when u want to do same thing fro diffrent items.
      like when u want to print address for all employess to stick to hike salary envelopes.
    lke when u want price and barcode of matriels to print to metrials.
    2) it is possible to do this in smart form for this we use normal window consept.
    3) and 4) yes it is possible to create background logo in script
    Here is the blog on achieving watermark in SAPScript:
    /people/naimesh.patel/blog/2008/05/22/watermark-in-sapscript

  • What to buy? I want to a small amount of product photo editing, build websites, and do some product label graphics.  74 years old and do not want to do the Cloud thing online.

    what to buy? I want to a small amount of product photo editing, build websites, and do some product label graphics.  74 years old and do not want to do the Cloud thing online.

    Well, the web site building we can get out of the way rather easily:  You cannot build websites with any Photoshop related applications.  Adobe has other applications for that.
    You can still buy the full version of Photoshop CS6 with a perpetual license—no monthly payments and you own it. $700 for the standard version, $1,000 for the extended version.
    The Photographer's deal gives you a subscription to both Photoshop and Lightroom for $10 per month, but you never get to own the software.  The moment you stop paying, the software ceases to work.
    The Cloud thing is not really on-line.  It resides on your computer.  It only has to call the mother ship once a month or so.
    Then there's the bargain-basement priced, emasculated Photoshop Elements, with some hand-holding features.
    I'm a septuagenarian too, but then I've been using computers for decades, Photoshop seriously for over twelve years.  Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Depending on exactly how much editing you need to do to those products shots, you may be satisfied with Ps Elements mentioned above.
    There are trial versions for all of the above.

  • Printing graphics from InDesign CS2 to an HP 4000 PS Laserjet

    My HP 4000 Laserjet will not print InDesign CS2 documents that have pictures, other graphics, or objects created in InDesign with either a drop shadow or feathered.
    I have an HP Laserjet 4000 which I previously used with Pagemaker 6.5. I could set the screen lpi and angle values for exactly as it needed to be using the Acrobat Distiller PPD and print documents (with pictures and graphics) to the post script printer with no problem. Now I am using Adobe InDesign CS2 and I don't seem to have same the printing options and control that I had with Pagemaker. But mainly, in Pagemaker, when I printed a document I could select the HP 4000 PS printer in the Print Document box and it listed Acrobat Distiller in the PPD box which is what I used.
    Now with InDesign CS2, when I select the HP 4000 PS printer it only shows the HP 4000 PS series ppd (and this may be correct). Although I can still set the values for screening (lpi) and screen angles and screened objects that are created in InDesign will print to whatever screen values I selected, the document will not print when pictures and other graphics are placed into the document or if an object created in InDesign has a drop shadow or is feathered. When I remove the graphics and drop shadow, it will print, however, another problem is that it will not print certain fonts properly (leaving out certain letters in certain words - for instance the "l" in "floor".)
    Is this a compatibility issue between this older Laserjet and InDesign -- is there another driver that I need -- or am I overlooking something that's obvious? I'd appreciate someone's help who may know what the problem is so I won't be doing the trial and error thing.
    Thanks,
    Cliff Stone

    Thanks everyone for their input. As far as the memory shortage, I'm pretty sure that's not the problem. I can create a document in Pagemaker of only 200KB that prints fine and the convert the same document to ID and it fails to print.
    I think Dov is right about the 4000 because I remember when the printer was new, there were some incompatibility issues with Pagemaker that I had to work around. The Adobe people told me back then that Pagemaker and HP postscript printers didn't get along very well.
    I'll check with HP again (I've already written to them twice with no response) and see if the firmware upgrade Dov mentioned is still available, however, even though this 4000 has been very durable and a real workhorse for me, it may be time to put it out to pasture and invest in a new Postscript laserjet.
    Any recommendations?
    Thanks again for everyone's help.

  • Update Script Problem CS2 to CS3 ( Time/Date/Year Script NOT WORKING IN CS3?

    The below script works in CS2 but not in CS3? WHY?
    //DESCRIPTION: Use to insert date/time into document.
    if (app.documents.length == 0) { exit() }
    insertDTs(app.documents[0]);
    function insertDTs(aDoc) {
    var curPrefs = aDoc.characterStyles[0].extractLabel("dtprefs");
    if (curPrefs == "") {
    // Doc has no prefs; use saved prefs
    curPrefs = getCurPrefs(File(getScriptPath().absoluteURI.replace(/Insert\.jsx/, "Prefs.txt")));
    } // end if curPrefs
    var prefParts = curPrefs.split("\n");
    if (prefParts[2] != "[None]") {
    insertIt(aDoc, prefParts[0], prefParts[2]);
    if (prefParts[3] != "[None]") {
    insertIt(aDoc, prefParts[1], prefParts[3]);
    function insertIt(aDoc, formString, cStyleName) {
    var formStrings= ["Day, Month, Year"]
    var theFuncs = [dayMonthYear]
    var charStyleStrings = aDoc.characterStyles.everyItem().name
    if (indexOf(charStyleStrings, cStyleName) < 1) { return } // style not found or is No Style
    var func = indexOf(formStrings, formString);
    if (func < 0) { return } // requested form not recognized
    var dateString = theFuncs[func](new Date());
    app.findPreferences = app.changePreferences = null;
    aDoc.search("", false, false, dateString, {appliedCharacterStyle:cStyleName});
    } // end insertIt
    function dayMonthYear(date) {
    date.setDate(date.getDate()+1);
    // returns dayName, monthName date, year
    var myDateString = date.toLocaleDateString();
    myParts = myDateString.split(" 0");
    if (myParts.length != 1) {
    myDateString = myParts[0] + " " +myParts[1];
    return myDateString.slice(0,-5) + "," + myDateString.slice(-5);
    function indexOf(array, find,offs) {
    for( var i = offs == undefined ? 0 : offs; array.length > i; i++ ) {
    if( array[i]==find ) {return i}
    return -1;
    function getScriptPath() {
    // This function returns the path to the active script, even when running ESTK
    try {
    return app.activeScript;
    } catch(e) {
    return File(e.fileName);
    } // end try
    } // end getScriptPath
    } // end insertDTs

    It uses CS2-style searching is the most obvious problem.
    Try putting it in a folder named "Version 4.0 Scripts" -- without the quotes -- and run it from there.
    Dave

  • Labels in scripts

    hi can any please know , what is labels & why we are using it in Scripts?

    Hi
    You design the layout in SE71 and write the ZPL Command(Zebra Printer ) inur program or layout .
    Label size would be 4/6,3/3,3/5 and so on and it will have bar coding also.
    TABLES : ZPACK,ZTRN.
    DATA: BEGIN OF ITAB OCCURS 0,
          ZPKSLIP_NO LIKE ZTRN-ZPKSLIP_NO,
          ZCARTON_NO LIKE ZPACK-ZCARTON_NO,
          END OF ITAB.
    DATA MVAR(12) TYPE C.
    DATA MCTR(6) TYPE C.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: ZSLIP FOR ZTRN-ZPKSLIP_NO NO-EXTENSION NO INTERVALS
    OBLIGATORY default 6.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECT * FROM ZPACK INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE
    ZPKSLIP_NO EQ ZSLIP-LOW .
    CALL FUNCTION 'OPEN_FORM'
      EXPORTING
        FORM = 'ZTEST_RAJ'.
    DO 4 TIMES.
      MCTR = 100000 + SY-INDEX.
      MCTR = MCTR+1(5).
      CONCATENATE '55C/06/' MCTR INTO MVAR.
      DO 80 TIMES.
        ITAB-ZPKSLIP_NO = MVAR.
        ITAB-ZCARTON_NO = SY-INDEX.
        APPEND ITAB.
        CLEAR ITAB.
      ENDDO.
    ENDDO.
    SORT ITAB BY ZPKSLIP_NO ZCARTON_NO.
    CALL FUNCTION 'START_FORM'
      EXPORTING
        FORM = 'ZTEST_RAJ'.
    LOOP AT ITAB.
      AT NEW ZPKSLIP_NO.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            ELEMENT = '101'
            WINDOW  = 'MAIN'.
      ENDAT.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          ELEMENT = '102'
          WINDOW  = 'MAIN'.
      AT END OF ZPKSLIP_NO.
        CALL FUNCTION 'END_FORM'.
        CALL FUNCTION 'START_FORM'
          EXPORTING
            FORM = 'ZTEST_RAJ'.
      ENDAT.
    ENDLOOP.
    CALL FUNCTION 'END_FORM'.
    CALL FUNCTION 'CLOSE_FORM'.
    In sap script write :
    /E   101                            
    P1   ,,&ITAB-ZPKSLIP_NO(R)&         
    P1                                  
    /E   102                            
    P1   ,,&ITAB-ZCARTON_NO(R)&  
    Reward all helpfull answers
    Regards
    Pavan

  • Labels in script

    Hi experts,
      I am facing  a problem in script
    Where labels in at line itmes not printed but the data correpondinmg to the line item gets printed .
    i have checked the print program and sub routine program  every thing seems to be fine .
    while debugging i can see the labels comming but not getting printed on output.
    thanks in advance for your help
    R.S.
        t
    Edited by: rohit singh on Aug 21, 2009 5:54 AM

    HI ,
    Please  check the paragarh formate
    There may be some paragaraph element which may have no blank line check as ticked
    try removing this check or make a new  paragarph format with no balbk line unchecked
    replace this with the existing paragraph format.
    Hope this will solve your problem
    regards
    Prashant

  • Use of label in script?

    what is the use of Label in sap script ?

    To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    1. Create a page window and assign it to a page.
    2. Choose Edit --> Main windows.
    A dialog box appears.
    3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.
    4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.
    5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

  • Setting mouse cursor from script (JS, CS2, CS3)

    I'm working on scripts for Mac users. What I'd like to know is if there is a way to change the mouse pointer from within a script. Can one do this?
    The reason I need to do this is that when a script runs the cursor changes to the spinning beach ball. I display a dialog asking for information and may users think the script has hung InDesign because of the beach ball. People also don't know where the hotspot is on the beach ball so it's hard to click things accurately.
    Any tips?

    I have often noticed that spinning beachball and found it distasteful when working with a dialog, but there's not much choice, I'm afraid. ScriptUI might be a way out in CS3, but not in CS2. If you want the same script to work in both, then I think you're stuck with the beachball.
    Dave

  • Modify label in script

    How to modify pallet label in sap script?
    Points vl be rewarded for the helpful answer
    regards
    Rk

    To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    1. Create a page window and assign it to a page.
    2. Choose Edit --> Main windows.
    A dialog box appears.
    3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.
    4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.
    5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

  • Label on Script ICM

    Hi
    Someone knows, How to configure into the script ICM a node to dial a number or extension?
    In theory with a label node, but how to make the configuration
    Thanks

    Hi,
    using the ICM Config Manager. Tools > List Tools > Label List.
    You might want to configure a label for each peripheral aka routing client (you most likely have one AG/CUCM and a pair of VRU peripherals). Label = phone number. Label type = normal. Don't toch the rest of the form.
    In your script, use the Label node, and add a label for each peripheral (this ensures that wherever the call is, it will get the label).
    G.

  • Add lines to PDF script using cs2?

    Hell all,
    I've imported a PDF film script into Photoshop CS2 with the intent of adding lines and such to the script (part of lining a script and script breakdown). I was wondering what the best method is for adding lines. I've done some research and checked the help section, but haven't turned up a clear answer/preferred method. Any advice?
    Oh, also. When I load the PDF I am prompted to select a specific page. Once I do so that prompt disappears. After I'm finished altering a page how do I select a new page?
    Thanks!

    Photoshop is not the ideal tool for this. Photoshop is rasterizing the type, making your output file larger, and making your type lower in quality.
    You would do better to open the script in Acrobat, exporting to an editable filetype (RTF, DOC) and then edit in a word processor.

  • Changing script from CS2 to CS4

    Hi everyone!
    Having a bit of a problem (not to mention working against a deadline) with an old CS2 script created for a client. ESTK throws up an "Undefined is not an object" error.
    Below is the code that seems to be the culprit. ESTK stops on the line after the .place(), assuming here that it's because the .place() doesn't return a proper object or something like that (I hate when they change scripting around too much).
    Basically, what it does is placing an image into the first paragraph of a table cell. It then tries to set the dimensions to a "maximum" size and then fits the image proportionally to those dimensions.
    > tmpBild = "B0000843.jpg"; //temporary for testing
    newTable.rows[newTable.bodyRowCount-1].cells[4].contents = "\r";
    tmpPara = newTable.rows[newTable.bodyRowCount-1].cells[4].paragraphs.item(0);
    tmpPara.justification = Justification.centerAlign;
    tmpImg = tmpPara.place( PICBASE + tmpBild );
    tmpImg.parent.visibleBounds = ["0mm","0mm","38.236mm","38.236mm"];
    tmpImg.parent.geometricBounds = ["0mm","0mm","38.236mm","38.236mm"];
    tmpImg.fit( FitOptions.proportionally );
    tmpImg.parent.fit( FitOptions.frameToContent );
    tmpImg.parent.strokeColor = "Paper";
    tmpImg.parent.strokeAlignment = StrokeAlignment.centerAlignment;
    tmpImg.parent.strokeWeight = "5pt";
    tmpImg.parent.strokeType = app.strokeStyles.item("Thick - Thin");
    Can anybody help convert this so it works for InDesign CS4? In the meantime, I will try to take care of the rest of the script.
    Btw, I have/had a scripting
    b reference
    in PDF format for InDesign CS2, is there anywhere that I can download that for CS4, I know it was very helpful back then.

    What I ended up doing was create roughly enough pages in the document and create linked text frames on all pages, thus letting the table created in the first text frame flow as long as the document has enough pages. In the end processing, I then remove all the pages but the first one, effectively getting one page with one text frame containing all table contents.
    This was the only way I could find to get around this problem. No matter what I did, placing content into a table cell that was overflowing a text frame just didn't work.
    Here's the part where I create the pages (variable myMaxPages contains your estimated maximum number of pages). Please note in app.documents.add() that it is set to false to NOT open a window (speeds it up very slightly if you have a huge number of pages). You can remove the false and the myDocument.windows.add() statement if you don't want this or for debug purposes. The formatting mechanism on these forums seem broken, but the following code should be ok/readable once properly formatted.
    >myDocument = app.documents.add( false );
    with(myDocument) {
    for( i = 0; i < myMaxPages; i++ ) {
    myPage = pages.item(i);
    with(myPage) {
    if( i > 0 ) { myPrevFrame = myTextFrame; }
    myTextFrame = textFrames.add();
    with( myTextFrame ) {
    if( i == 0 ) {
    myTable = tables.add();
    with( myTable ) {
    bodyRowCount = 1;
    columnCount = 5;
    } else {
    if( i > 0 ) { previousTextFrame = myPrevFrame; }
    if( i < myMaxPages - 1 ) {
    pages.add();
    myDocument.windows.add();
    While fiddling with it, I also updated my image placement code a bit:
    > var myCell = myTable.rows[myTable.bodyRowCount-1].cells[4];
    myCell.contents = "\r";
    myCell.paragraphs.item(0).justification = Justification.centerAlign;
    var myRect = myCell.insertionPoints[0].textFrames.add();
    myRect.contentType = ContentType.unassigned;
    myRect.visibleBounds = ["0mm","0mm","38.236mm","38.236mm"];
    myRect.geometricBounds = ["0mm","0mm","38.236mm","38.236mm"];
    var myFile = File(PICBASE + tmpBild);
    if( myFile.exists ) {
    var myImage = myRect.place( myFile );
    myRect.fit( FitOptions.proportionally );
    myRect.fit( FitOptions.frameToContent );
    Maybe this helps someone, maybe it doesn't. Can't say that I'm happy with the behaviour of getting errors and being unable to place content in table cells that is overflowing out of a text frame, but I needed to solve it, and this is how I did it.
    Of course, if anyone else has a better solution to placing images into table cells that may be in the overflowing part of a text frame, go ahead and share with the rest of us, please.

  • Set Finder labels per script

    Hi Community,
    after a file server migration I lost on each folder all Finder labels. With the lsmac utility I can fetch the label color for each object and with the setlabel utility I can set a label color for objects. Both utilities come with the osxutil suite.
    Okay so far so good, the solution is based in this two utilities but how can I combine this two commands in a script which read out the label colors of each folder on the source file server and set the right label color of each folder on the target file server. Both servers are mounted via AFP on a Mac workstation.
    The following (test) command reads only a few folders, I would expect that the find command should run recursively but it doesn't:
    $ find / -type d -print0 | xargs -0 lsmac -L
    Orange ------ 93 items - Applications/
    None I----- 37 items - bin/
    None I----- 0 items - cores/
    FSPathMakeRef(): Error -36 returned when getting file reference from //dev
    None ------ 14 items - Developer/
    The following command run like the **** but print out mostly garbage:
    $ find / -type d -print0 -exec lsmac -L {} ;
    Okay, now I've already problems to determine the right label color of each folder. I'm far away from setting a label color. Help would be very appreciated in this job.
    Thx & Bye Tom

    I do NOT know the syntax of the lsmac nor the setlabel commands, so this is just an untested template.
    #!/usr/bin/env bash
    find / -type d | while read file
    do
    color=$(lsmac "$file")
    [[ "$color" = None * ]] && continue
    [[ "$color" = *: Error* ]] && continue
    (set -x
    setlabel "${color%% *}" "/Volumes/REMOTEVOLUMENAME/$file"
    done

Maybe you are looking for