How to move the ends of skewed lines to the bleed bounds

Hi all,
I am developing a script that trims page items to the bleed. To achieve this I collect all page items (except text frames) located partially on the pasteboard, create a temporary mask and 'crop' them with Pathfinder's Subtract feature. However this approach doesn't work with graphic lines so I am attempting to move ends of lines to the bounds of bleed box. (I'm assuming that these are simple straight lines consisting of two end points.)
I've figured out how to deal with orthogonal lines -- it's quite easy:
if (theItem.constructor.name == "GraphicLine" && theItem.paths.length === 1) {
     path = theItem.paths[0];
     if (path.pathPoints.length === 2) {
          ep = path.entirePath;
          w = ep[1][0]-ep[0][0];
          h = ep[1][1]-ep[0 ][1];
          if (w > h) {
               newEp = [ [ spreadWithBleedBounds[1], ep[0][1] ], [ spreadWithBleedBounds[3], ep[1][1] ] ];
               path.entirePath = newEp;
          else if (h > w) {
               newEp = [ [ ep[0][0], spreadWithBleedBounds[0] ], [ ep[1][0], spreadWithBleedBounds[2] ] ];
               path.entirePath = newEp;
This moves A1 to A2, B1 to B2, C1 to C2, D1 to D2.
But how to deal with skewed lines? How to calculate coordinates for points E2 and F2? Is there some magic formula? Or can anybody point me to the right direction: e.g. some book to read?
I guess this has something to do with geometry/trigonometry, but I haven't studied this stuff at school. (I graduated an art school -- studied to draw nude models instead.)
If someone is going to answer to my question, please do it on elementary level since I am a total noob in this.
Below is the whole script:
if (Number(String(app.version).split(".")[0]) == 7) ErrorExit("This script can't work with InDesign CS5 so far.", true);
var doc = app.activeDocument;
var spreadBounds, spreadWithBleedBounds, gPartiallyOutOfSpreadItems;
var ungroupErrors = 0;
var originalHorUnits =  doc.viewPreferences.horizontalMeasurementUnits;
var originalVerUnits =  doc.viewPreferences.verticalMeasurementUnits;
doc.viewPreferences.horizontalMeasurementUnits = doc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.INCHES;
doc.viewPreferences.rulerOrigin = RulerOrigin.spreadOrigin;
doc.zeroPoint = [0, 0];
if (doc.layers.itemByName("Temporary Layer") == null ) {
     var tempLayer = doc.layers.add({name:"Temporary Layer"});
else {
     var tempLayer = doc.layers.itemByName("Temporary Layer");
UngroupAllGroups(doc.groups);
DeleteObjectsOnPasteboard();
ProcessSpreads(doc.spreads);
ProcessSpreads(doc.masterSpreads);
tempLayer.remove();
doc.viewPreferences.horizontalMeasurementUnits = originalHorUnits;
doc.viewPreferences.verticalMeasurementUnits = originalVerUnits;
var msg = (ungroupErrors > 0) ? " Failed to ungroup " + ungroupErrors + " groups since they are too large." : "";
alert("Done." + msg, "Trim Pages Script");
//================================== FUNCTONS ===========================================
function ProcessSpreads(spreads) {
     var spread, path, ep, w, h;
     for (var s = 0; s < spreads.length; s++) {
          spread = spreads[s];
          spreadBounds = GetSpreadBound(spread, false);
          spreadWithBleedBounds = GetSpreadBound(spread, true);
          gPartiallyOutOfSpreadItems = GetPartiallyOutOfSpreadItems(spread);
          var theItem, theMask, newItem;
          for (var i = gPartiallyOutOfSpreadItems.length-1; i >= 0; i--) {
               theItem = gPartiallyOutOfSpreadItems[i];
               if (theItem.constructor.name == "GraphicLine" && theItem.paths.length === 1) {
                    path = theItem.paths[0];
                    if (path.pathPoints.length === 2) {
                         ep = path.entirePath;
                         w = ep[1][0]-ep[0][0];
                         h = ep[1][1]-ep[0 ][1];
                         if (w > h) {
                              newEp = [ [ spreadWithBleedBounds[1], ep[0][1] ], [ spreadWithBleedBounds[3], ep[1][1] ] ];
                              path.entirePath = newEp;
                         else if (h > w) {
                              newEp = [ [ ep[0][0], spreadWithBleedBounds[0] ], [ ep[1][0], spreadWithBleedBounds[2] ] ];
                              path.entirePath = newEp;
               else {
                    theMask = CreateMask(spread);
                    try {
                         newItem = theMask.subtractPath(theItem);
                    catch (err) {
                         $.writeln("2 - " + err);
                         theMask.remove();
function IsPartiallyOutOfSpread(pageItem) {
     var result = false;
     if (pageItem.constructor.name == "TextFrame" ||
          pageItem.constructor.name == "Group" ||
          pageItem.parent.constructor.name == "Group")
          return result;
     var visBounds = pageItem.visibleBounds;
     if (visBounds[0] < spreadBounds[0] && visBounds[2] > spreadBounds[0] ||
          visBounds[1] < spreadBounds[1] && visBounds[3] > spreadBounds[1] ||
          visBounds[2] > spreadBounds[2] && visBounds[0] < spreadBounds[2] ||
          visBounds[3] > spreadBounds[3] && visBounds[1] < spreadBounds[3]  ) {
          result = true;
     return result;
function GetSpreadBound(spread, bleed) { // including bleed -boolean
     if (bleed == undefined) bleed = false;
     with (doc.documentPreferences) {
          var topBleed = documentBleedTopOffset
          var leftBleed = documentBleedInsideOrLeftOffset;
          var bottomBleed = documentBleedBottomOffset;
          var rightBleed = documentBleedOutsideOrRightOffset;
     var bFirst = spread.pages.item(0).bounds; // bounds of the first page
     var bLast = spread.pages.item(-1).bounds; // bounds of the last page
     return [     ((bleed) ? bFirst[0]-topBleed : bFirst[0]),
                    ((bleed) ? bFirst[1]-leftBleed : bFirst[1]),
                    ((bleed) ? bLast[2]+bottomBleed : bFirst[2]),
                    ((bleed) ? bLast[3]+rightBleed : bLast[3])
function CreateMask(spread) {
     var unitValue = new UnitValue (app.pasteboardPreferences.minimumSpaceAboveAndBelow, "mm");
     var unitValueAsInch = unitValue.as("in");
     var outerRectangleBounds = [spreadWithBleedBounds[0]-unitValueAsInch,
                                                            spreadWithBleedBounds[1]-8.07,
                                                            spreadWithBleedBounds[2]+unitValueAsInch,
                                                            spreadWithBleedBounds[3]+8.07
     var outerRectangle = spread.rectangles.add(tempLayer, undefined, undefined, {geometricBounds:outerRectangleBounds});
     var innerRectangle = spread.rectangles.add(tempLayer, undefined, undefined, {geometricBounds:spreadWithBleedBounds, fillColor:doc.swatches.item("Black"), fillTint:30});
     var mask = outerRectangle.excludeOverlapPath(innerRectangle);
     return mask;
function GetPartiallyOutOfSpreadItems(spread) {
     var allPageItems = spread.allPageItems;
     var partiallyOutOfSpreadItems = [];
     var currentItem;
     for (var i = 0; i < allPageItems.length; i++) {
          currentItem = allPageItems[i];
          if (IsPartiallyOutOfSpread(currentItem)) partiallyOutOfSpreadItems.push(currentItem);
     return partiallyOutOfSpreadItems;
function DeleteObjectsOnPasteboard() {
     var objs = app.documents[0].pageItems.everyItem().getElements();
     while (obj=objs.pop()) {
          try {
               if(obj.parent instanceof Spread || obj.parent instanceof MasterSpread){ obj.remove() }
          catch(err) {
               //$.writeln("2 - " + err);
function ErrorExit(myMessage, myIcon) {
     alert(myMessage, "Trim Pages Script", myIcon);
     exit();
function UngroupAllGroups(groups) {
     for (var i = groups.length-1; i >= 0; i--) {
          var gr = groups[i];
          if (gr.groups.length > 0) {
               var subGroups = [];
               for (var j = gr.groups.length-1; j >= 0; j--) {
                    subGroups.push(gr.groups[j].id);
               try {
                    gr.ungroup();
               catch(err) {
                    //$.writeln("1 - " + err);
                    ungroupErrors++;
               for (var k = subGroups.length-1; k >= 0; k--) {
                    try {
                         doc.groups.itemByID(subGroups[k]).ungroup();
                    catch(err) {
                         //$.writeln("2 - " + err);
                         ungroupErrors++;
          else {
               try {
                    gr.ungroup();
               catch(err) {
                    //$.writeln("1 - " + err);
                    ungroupErrors++;
Thanks in advance.
Kasyan

Hi Kasyan!
I didn't try to integrate this into your script, so you might have to adjust it a little bit. The trick is to define a function that finds the intersection point of two lines --- and, obviously, you should only call it for the lines that are sure to cross the page border! (Otherwise, it would simply extend *any* line up and over the border.)
I think it would be wise to allow for a tiny error for lines that appear to run "up to" the page edge -- I tested a line for "x <= 0" on a line that appeared to start on 0; the control panel told me so. However, I didn't type that 0 in; I dragged the line to the edge. Apparently, it was *NOT* at precisely "0mm", but something like "0.001mm", because the script simply didn't "see" the line.
My function comes from this page: http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline2d/ and I didn't test what it does to orthogonal lines
(but of course you could add this as an exception), and this is my line-extending script, with a little wrapper to set things up.
The function tests *any* line against *any* other line, so if one crosses the page bounding box, I get the intersection with the bleed box on the side where it crosses the page bbox.
line = app.selection[0];
// pg size in "regular" [y1,x1, y2,x2] format
pagebbox = [0,0, app.activeDocument.documentPreferences.pageHeight,app.activeDocument.documentPreferences.pageWidth ];
bleedDist = 5; //
bleedbbox = [ pagebbox[0] - bleedDist, pagebbox[1] - bleedDist, pagebbox[2] + bleedDist, pagebbox[3] + bleedDist ];
pt1 = line.paths[0].pathPoints[0].anchor;
pt2 = line.paths[0].pathPoints.lastItem().anchor;
// Start point:
if (pt1[0] <= pagebbox[1] || pt1[0] >= pagebbox[3] ||
pt1[1] <= pagebbox[0] || pt1[1] >= pagebbox[2])
if (pt1[0] <= pagebbox[1])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[1], bleedbbox[2] ] ] );
if (pt1[0] >= pagebbox[3])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[3], bleedbbox[0]], [bleedbbox[3], bleedbbox[2] ] ] );
if (pt1[1] <= pagebbox[0])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[3], bleedbbox[0] ] ] );
if (pt1[1] >= pagebbox[2])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[2]], [bleedbbox[3], bleedbbox[2] ] ] );
line.paths[0].pathPoints[0].anchor = intersectPt;
// End point:
if (pt2[0] <= pagebbox[1] || pt2[0] >= pagebbox[3] ||
pt2[1] <= pagebbox[0] || pt2[1] >= pagebbox[2])
if (pt2[0] <= pagebbox[1])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[1], bleedbbox[2] ] ] );
if (pt2[0] >= pagebbox[3])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[3], bleedbbox[0]], [bleedbbox[3], bleedbbox[2] ] ] );
if (pt2[1] <= pagebbox[0])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[0]], [bleedbbox[3], bleedbbox[0] ] ] );
if (pt2[1] >= pagebbox[2])
  intersectPt = IntersectionPt ( [pt1, pt2], [ [ bleedbbox[1], bleedbbox[2]], [bleedbbox[3], bleedbbox[2] ] ] );
line.paths[0].pathPoints.lastItem().anchor = intersectPt;
function IntersectionPt (ln1, ln2)
var ua;
var x1 = ln1[0][0], x2 = ln1[1][0], x3 = ln2[0][0], x4 = ln2[1][0];
var y1 = ln1[0][1], y2 = ln1[1][1], y3 = ln2[0][1], y4 = ln2[1][1];
ua = ((x4 - x3)*(y1 - y3) - (y4 - y3)*(x1 - x3))/((y4 - y3)*(x2 - x1) - (x4 - x3)*(y2 - y1));
return [ x1 + ua*(x2-x1), y1 + ua*(y2-y1) ];

Similar Messages

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • Finding the end of a line in a JTextArea and inserting a comma

    Hi,
    At the moment I am reading in a comma delimited file into a JTextArea.
    This part is ok I can see the file in the window correctly.
    The problem that I am having now is that I want to add a comma to the end of each line in the JTextArea.
    Does anyone know how to do this?
    Thank you

    Well you have to get the String value of the JTextField.
    String text = YourJTextField.getText()
    Then you have to make a loop and check each single character if it equals '\n', that means "RETURN" or "NEW LINE".
    That is the direction I would go. Inform yourself about String manipulations first, like how to look for character, how to compare them and how to add them.

  • Space at end of each line in the RDF report.

    Hi All,
    I am developing one HRMS report for sending salaries to bank. Bank has given one format, there should be 24 spaces at the end of each line in the report. But I am not getting any spaces in the report at the end of line. I have tried soo many ways to get that, but I unable to get spaces. If I put any character it is coming, but if I put space that is not coming.
    Anyone please tell me how to get spaces at end of each line in RDF report. Its urgent guys...... Anyone please help me out.
    Thank you,
    Phani

    Hi,
    I am developing one HRMS report for sending salaries to bank. Bank has given one format, there should be 24 spaces at the end of each line in the report. But I am not getting any spaces in the report at the end of line. I have tried soo many ways to get that, but I unable to get spaces. If I put any character it is coming, but if I put space that is not coming. For the line that is set the height of the Repeating Frame long enough to have the blank space. Vertical Elasticity should be expand.
    Also you can try by setting the property *"Vert. Space between frames"* for the Repeating frame.
    Hope this helps.
    Best Regards
    Arif Khadas

  • How to delete a character at the end of each line in a file

    Hi
    How to remove a character or symbol at the end of each line in a file?
    I am having a file with every end of line conatins special chars @.
    I need to remove or delete that sysmbol from file.
    Regards

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • How can I eliminate automatic "quotation marks" that are appearing at the end of each line?

    I keep getting "quotation marks" at the end of every line when I type. How can I eliminate these marks as they are even showing up when I print and I will not have on my wedding programs! Please help (from a desperate bride-to-be)!

    It sounds like you are using an East Asian font and unless you are issuing invitations in Chinese, Japanese, or Korean that doesn't sound like a good idea.
    Peter

  • HT1343 Error on Page: "Control-E     Move to the beginning of a line or paragraph" should be "Control-E     Move to the end of a line or paragraph"

    Error on Page: "Control-E Move to the beginning of a line or paragraph" should be "Control-E Move to the end of a line or paragraph"

    Apple - Feedback

  • How to prevent inline bullets from falling at the end of a line?

    Okay, I am SURE the subject of my question is difficult to understand, so I will try to explain a little better below
    I am working on a catalog where the bullet points for items are all 'inline' and not each on their own line.
    Here is an example below:
    • bullet point one • bullet point two • bullet point three • bullet point four
    • bullet point five • bullet point six • bullet point seven • bullet point eight
    Now, once the item info is placed, the bullet points usually ends up running over several lines because some fo them can be rather long. Now, next to each of the sets of bullet points an image is placed with a text wrap (on the left side of the image only), so that the right side of the set of bullet points wraps to the image. What is happening in a lot of instances tho' is that the bullet point itself falls at the end of a line, and I want to know if there is anything I can do to prevent this from happening and have it rather carry over to the next line. Perhaps there is no way to do this, but I am SO hoping there is. What is so great about InDesign is that I have so far been able to (almost) make it do anything I need it to do:)
    So here is an example of what I wish to prevent from happening:
    • bullet point one • bullet point two •
    bullet point three • bullet point four •
    bullet point five • bullet point six •
    bullet point seven • bullet point eight
    so that it rather looks like this:
    • bullet point one • bullet point two
    • bullet point three • bullet point four
    • bullet point five • bullet point six
    • bullet point seven • bullet point eight
    SO HOPING that someone can come up with an easy solution:)
    Thank you in advance for your help,
    Christine

    Peter, thank you SO much...you actually answered my question and a big "DUH" just hit me like a hammer The text is simply being pasted in from a spreadsheet and I am manually adding bullet points using OPTION-8 kb shortcut (on a mac). Doing bullets the regular way (via the "Bullets and Numbering" accessible from the Paragraph panel) will not work in this case since they are inline.
    All I had to do was insert a non-breaking space instead of a regular space after each bullet. I am able to do this very quickly tho' because I am pasting in the bullets along with the non-breaking space. Thank you SO MUCH:)

  • Is it possible to export to PDF without a Return character at the end of every line?

    I am the author of a book whose first edition has been typeset and extensively amended in InDesign.  I now need to rewrite the first edition to produce a second edition.
    When I copy-and-paste from the PDF with which the publisher has supplied me into MS Word, I get a Return character at the end of every line, which means that text doesn’t automatically wrap and sentences are fragmented so that I get spurious grammar errors.
    I know that not all PDF files have a Return at the end of every line.  Is it possible to restrict Returns to the end of paragraphs when exporting from InDesign to PDF?  If so, what should the publisher be asking the typesetter to do?

    Thanks for your lightning-swift and helpful replies, Mike & Ellis.
    I don't have InDesign myself, so I know hardly anything about how it's used.  I'm just trying to research what an internationally-known publisher should already know how to do, but apparently doesn't!
    Following your suggestion, Mike, I have downloaded the trial version of Acrobat and exported the PDF to a Word file.  This has been moderately successful as there are far fewer spurious Return characters, just a few that I suspect may be hangovers from the typesetter having introduced soft returns in ID.
    As you've suggested Peter and Ellis, I'll suggest that the publisher asks the typesettter to export from ID to RTF and Text to see if that's even better.
    Message was edited 15:24 GMT by: AlanS5100

  • The starting quote marks at the end of a line in my epub file are separated from the words quoted.

    The starting quote marks at the end of a line in my epub file are routinely separated from the word quoted which appears on the next line. The formatting contractor accurance.com who prepared this epub file tells me that this is a feature of Adobe Digital Edition 2.0 and that there is nothing they can do to correct this. Are they correct, or else how can this problem be overcome?

    I'm not sure about buying css style sheets. 
    You don't need one for each book; if you want to have a series of books all with the same general format,
    then they should all use the same style sheet on a given device, but maybe different style sheets for different devices.
    All the books will then have one consistent look on a given device, and a different consistent look on another device.
    ADE only runs on PCs and Macs.  There are lots of different ereader software apps out there for running on different devices.
    For a dedicated device, you are stuck with the reader the device provides.
    For tablets you can download different ereader apps, for example Bluefire (my favourite, ios, Android), Aldiko (android) and DReader and DL Reader (windows RT).
    I don't know if the readers/apps are derived from the same root as ADE in any way and likely to show similar bugs.
    If it is not DRM, you should certainly try on Calibre, which is the most popular (free) ereader app for computers.
    If you care to create a very short non DRM extract (complete with css) and post it somewhere on the web I'll have a quick look.
    If you have inclination to get more involved yourself,
    there is free software called sigil (https://code.google.com/p/sigil/) that will help you get off the ground and experiment.

  • Adding a pipe character '|' at the end of each line

    How can I add a '|' at the end of each line in a text file?
    Please provide an example.
    TIA

    Using Readers and Writers are often a better choice for text: they are designed for character-based I/O, handling different character set encodings and thus more easily localizable.
    BufferedReader and PrintWriter are buffered which in many cases will increase performance.
    These classes also provide line-oriented methods, readLine() and println(), which will handle end-of-line delimiters in a platform-independant way.
    BufferedReader in = null ;
    PrintWriter out = null ;
    try {
        in = new BufferedReader(new FileReader("infile.txt")) ;
        out = new PrintWriter(new FileWriter("outfile.txt")) ;
        String line ;
        while ((line = in.readLine()) != null) {
            out.print(line) ;
            out.println('|') ;
        out.flush() ;
    } catch (FileNotFoundException e) {
        System.err.println("problem opening file for read: "+e) ;
    } catch (IOException e) {
        System.err.println("problem reading file: "+e) ;
    } finally {
        try {
            if (out != null) out.close() ;
            if (in  != null) in.close() ;
        } catch (IOException e) {
            System.err.println("problem closing files: "+e) ;
    }

  • Connecting a router at the end of DSL line using 255.255.255.255 subnet mas

    Hello there, I am going to attach one Cisco 1760 router at the end of DSL line. My service provider has given us one static IP address with 255.255.255.255 subnet mask and no gateway address. I am going to run IPSec VPN between this router and our center router over the Internet. However, with the given IP address, it seems that I cannot make this VPN tunnel as we do not have the IP address for the default gateway. do you think I can use this IP address with 255.255.255.255 subnet mask and no gateway to achieve my goal?

    Hi
    You can setup the easy vpn server/client setup here for the VPN connectivity between ur locations.
    Your central router will act as the easy vpn server accepting the tunnels from the easy vpn clients which is nothing but your remote locations.
    But before getting this configured i would suggest to check out whether both ur routers support the configuration required for the same.
    basically u need to have the required ios in ur router to support them up also the required h/w resources like DRAM,FLASH to hold the supported IOS code..
    Pls check this link for more info on how to configure the same..
    http://www.cisco.com/en/US/tech/tk583/tk372/technologies_configuration_example09186a00801dddbb.shtml
    regds

  • Is it possible to add a word at the end of a line?

    Hi, i'm searching a way to automatically add a word at the end of a certain paragraph styles?
    is it something possible doing by using a script?
    i don't script myself but if someone could find me a way to do this it would be really appreciated.
    Here's an example to what i need to do:
    i have paragraph style X in a current  book document, and i need to edit the book and add the copyright source at the end of every line that has the style X to it
    so i would need something that asks me
    the targeted paragraph style
    which word i want to append to it, and then apply it torough the document.
    Thanks in advance

    Yes, the screen shot shows where you got it wrong:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Find: (.)$
    and set your paragraph style in the find format area
    Change: $1XYZ
    where XYZ is the text you want to insert.
    .. you forgot the '1' right after the '$'. It's an important omission: "$1" is a GREP code, meaning "insert the found text, parenthesized group #1" -- and there is also a "$2", "$3", etc. up to "$9". It's great if you have to switch two, or even more, items around! But without the digit, the dollar sign indicates ... just a dollar sign.
    Change the Change to text to
    $1~S(CEMEQ)
    and you'll be fine.

  • Is it possible to remove hyphens at the end of a line separating parts of a word? Thank you

    Hi there,
    I was wondering, Indesign automatically adds hyphens at the end of a line to join one part of the word with the next part (on the next line). Is there any way to get rid of this in my entire document so that indesign automatically puts the word on the next line rather than separating it with a hyphen? I've been going through it manually and correcting it but it's taking many hours.
    Let me know if it's not clear what I'm saying
    Many thanks

    LegitNZ wrote:
     I've been going through it manually and correcting it but it's taking many hours
    Ouch!  What you need to do is turn "hyphenating" off.  Select all your text and do it in the control panel like this:
    You can also turn it off before you start in the paragraph panel, or by turning it off with no documents open make it off by default.

  • I cannot play the m4v movie (Linear)  I downloaded with the U2 album "No line on the horizon". I have the latest versions of itunes and quicktime. I have a windows 7 computer. Can you help.

    I cannot play the m4v movie (Linear)  I downloaded with the U2 album "No line on the horizon". I have the latest versions of itunes and quicktime. I have a windows 7 computer. Can you help.

    Hi whatisitagain, 
    Thank you for participating in the Apple Support Communities. 
    If the movie you downloaded from the iTunes Store is not playing in iTunes for Windows, start with the troubleshooting tips in this article:
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues - Apple Support
    All the best,
    Jeremy 

Maybe you are looking for

  • Application running too slow on sun T5440 but run normal on sun M3000

    Hi all, I have application running on sun server T5440 4x8x1.4 GHz, 64 GB RAM, application running very slow though load average too low. when I install my application on another server SUN M3000 (One CPU 1x8x2.5GHz, 8GB RAM), application run smoothl

  • USR user defined field in OIM design console in not visible

    Hi all, We have OIM setup in the environment and wanted to add some custom attributes for USR user defined field definition. When I open the User Defined Field Definition tab, I could not see USR form. When I tried to export specific users from OIM j

  • IPhoto delete  problem

    To quote Charlie Brown, "ARRRGGGHHH!!!" Now that I have that off my chest. I, too, am experiencing a problem deleting images from iPhoto 5. Like the proverbial bad penny, they keep coming back. Whenever I move images from the iPhoto main library to t

  • Game won't sync with nano 4th gen

    I bought iQuiz to my nano 4th gen and it clearly says that it is compatible with it, but it just won't sync. It won't even show up in the games tab. I've updated to the newest iTunes and I've updated the software on the nano but it still won't work.

  • Entity Lock Unlock issue

    Dear All, We are facing one issue with locking and unlocking of entities Locking of period from April to February (11 months) 1100 entities takes 40 seconds - We lock top parent and last period February Unlocing top most parent for single month of Fe