How to find Images and text on different layers

Hi all

Is that someone has a script js code that alerts if my images are on my text layer and my text is on my image layer?

Please help me.

Thanks in advance

Like this? This will move the page to the "correct" layer element I don't know if that's what you want, however.

main();
function main(){
    var doc = app.activeDocument;
    var textLayer = doc.layers.item("Text Layer");
    var imageLayer = doc.layers.item("Image Layer");
    var misplacedImages = 0;
    var misplacedTextFrames = 0;
    var pis = doc.pageItems.everyItem().getElements().slice();
    for(var i=0;i

Tags: InDesign

Similar Questions

  • How to add images and text from a txt file in Adobe Muse?

    How to add images and text from a txt file in muse

    Hello Tony,.

    At you can easily found in your text, copy and then paste in the new text box within the Muse, following a normal copy and paste.

    but images can be copied and pasted, so you need to save the images first as normal JPEG or PNG formats, and then you can import them into your file of muse.

    Best regards

    _Ankush

  • Display a different image and text on the Quiz result based on percent reached

    Captivate v5.5

    I have a quiz with a pass mark of 80%.

    I want the text and the background image is based on the success or failure.

    If the score is less than 80%, displays a picture (sad face) and a relevant text 'failed ".

    If the score is 80% or more, show another picture (happy face) and a relevant text "passed."

    I help Lilybiri and the stem when I used Captivate v4 - but cannt find the details.

    (Liybiri/Rod...) someone can help me once again and explain the process.

    Thank you

    Noel

    Hi Noel,

    I don't know if you read that my blog post on the features of Question slides and slide to score? And somewhere I have a topic customization review messages (also on the slide of score) as well.

    If you want to only two situations: success or failure, it will be pretty easy. The pass/fail is stored in the cpQuizInfoPassFail of system variables. This system variable has its final value when you go to the slide to Score, so you can use it in a conditional action advanced at the entrance to this slide to Score. The idea is that you have both images and text captions ready and hidden and you show one of these, based on the conditional action. And you must get rid of the message default review on the slide to score, but without deleting the placeholder review if you want to allow the review.

    Is that what you want?

    Lilybiri

  • How to change the highlight color, click the button image and text and sound.  are there packages of buttons for use in my project?

    How to change the highlight color, click the button image and text and sound. are there packages of buttons for use in my project?

    Hello

    Even if the point of things based Web links buttons created using them is of simple images. Captivate uses simple images. If you need to put your creative hat and not to let the fact that you see the word 'web' scared you somehow. An image is an image. Use on the web, use Captivate. Same case!

    If you change the properties of the button, you can activate the legend of success. Fix any sound that you like with the legend of success and it will play when you click the button. If you do not want to see the legend of success, delete the text and configure it as transparent.

    See you soon... Rick

    Useful and practical links

  • White spaces between and vertical shifting of images (and text) as a preview of the browser

    I built my site in Muse, but when I preview the, there are white spaces of different sizes that appear between images and text. In addition, an entire section of the Web site has moved down through an entire page. Here are a few screenshots as I can manage them. Unfortunately it is not yet hosted, so I can't post a link.

    Just a note: I'm build this page of my site as a portfolio to side scrolling. At the beginning of each "page", I added an anchor point, and I've added a 'back to the start arrow' so that the elements of different menu on the far left of the page (at the beginning) a link to their respective 'page' along the portfolio of horizontal scrolling. Similarly, the "back to the start arrow" menu link.  I don't know if this is part of the question, but it seems that it shouldn't be, because I got that simply making the page extremely broad and not very large.

    Here are a few screenshots.

    Inside, Muse:

    Screen Shot 2015-12-22 at 5.10.29 PM.png

    Leave the browser preview:

    Screen Shot 2015-12-22 at 5.09.54 PM.png

    Inside the Muse:

    Screen Shot 2015-12-22 at 5.10.22 PM.png

    Leave the browser preview:

    (Here are two screenshots only because they were separated by white space so that I could not them on the screen at the same time.)

    Screen Shot 2015-12-22 at 5.09.34 PM.png

    Screen Shot 2015-12-22 at 5.09.42 PM.png

    A more. This one shifted downwards, rather than on the side. Note that I did so that the image on the bottom was not attached to a low sticky footer or anything.

    Inside, Muse:

    Screen Shot 2015-12-22 at 5.08.11 PM.png

    Leave the browser preview:

    Screen Shot 2015-12-22 at 5.07.47 PM.png

    Thank you!

    Well well, the standard answer (and I should perhaps store them somewhere as a copy & paste NOTE): you must use groups and other methods of structuring as widgets. Your items may not stick together because they have no container parent to hold them together as in reverse, they can overlap with because they have no logic telling them everything that is left, right, above and below. Muse is not a page layout program and you not post a PDF file where everything is nailed in place. dumping everything on the page without which concerns the way in which it will interact in your browser never gives the result you expect.

    Mylenium

  • positioning images and text

    I've noticed in muse when you change the size or the leader etc. of a text box, it automatically increases its size to fit the new size of the text (unlike in indesign, photoshop and illustrator)


    It's cool and not only that sometimes repeat sometimes muse grows automatically any block image or text to the bottom of the page to make space for what it


    still very cool


    but then, as does an indesigner, you start dragging images and text on the page around areas and they look very good in design muse, but the preview and the browser sometimes puts higher upwards or downwards more down the page you wanted or expected


    as I muse and I can not look under the hood and don't want to anyway and cannot change any code (thank God) what should I do?


    Muse is not all guess it is


    PS once when I selected the text boxes and tried to move them they stole off the screen in a wild part of the pasteboard and I had to go after them and wrangle that they return to the page

    Short and precise: No... You're confusing Muse for a web version of InDesign, which is not. What you describe is normal behavior because the real positioning of elements on a web page is calculated according to the rules of formatting and how they interact with each other. Some of this stuff is figured correctly at design time, other stuff not because we need to run the scripts or formatting rules to be evaluated first. This has always been the bane of any web - design overview is that a preview is a preview, nothing more. You simply don't know how pages can knock out on light in the wrong browser. In your case, looks like just the typical mistake of beginners to plopping at the root of the page without making good use of layers and groups to determine priorities. This and of course you can apply the padding, wide margins and so on or in the opposite direction does not reset rules rather generous padding and margin a few widgets. So in the end, as much as you can not, you down serious things and work up to at least a basic understanding of how the work of formatting of Muse and how it translates a web page once published. Web design isn't just about 100% WYSIWYG.

    Mylenium

  • slideshow of the entire width of the images and text with switch small points

    Hi!, I'm going crazy trying to do something I think should be really easy and simple:

    a full-width or full-screen composition or a slideshow of images and text with little switch points instead of thumbnails.

    I guess everyone nows what I'm talking about... because all of a sudden he's everywhere!


    Something like this QooQee model: http://www.qooqee.com/templates/sense/sense-qooqee-slideshow.html

    I tried the compositions, but they cannot be expanded full-width...

    then I tried to slide shows, but they do not have triggers... they have thumbnails...
    I tried to fill points picture slideshow thumbnails too (I know that is not the best way to do this, but...). He did not, the filling will not appear unless I low opacity... Why is this?

    I also noticed that the example of sense QooQee is something complicated... text is displayed as 'on-off', but images do their entry by a transition melted... are you looking for they combining 2 widgets for this?

    Any help is appreciated! : )

    Hello

    What you're trying to achieve is possible in the Muse by using the Fullscreen Slideshow option.

    I created a video showing how it can be done. Please download it using this link:- http://adobe.ly/1mp5X84

    Please let me know if this worked for you.

    Kind regards

    Rohit Nair

  • Thumbnail images, more large images and text PROBLEM

    Unclear title, with a problem difficult.

    What I am wanting to do is, when I click on a thumbnail image, I want to have the content of the DIV to display the image and the thumbnail information you just clicked the right to change accordingly. I use Dreamweaver CS5 on MAC:

    -J' have a page divided into 2 vertical columns. On the left, I have 6 thumbnails in their individual DIVs, all wrapped together in another DIV container

    -on the right side of the page, I assigned a large DIV to display a large image with a description below what the project was etc...

    I know that you can attach a behavior to the thumbnail to change the big picture on the right, but I have a short paragraph of the text below the big picture too, and I don't particularly want to make the image and text a huge image. I want to keep the text, text.

    How can I do? Is it a simple thing? or y at - there a lot of coding to do this with JQuery, Javascript or something? Is there something to do with the data record sets involved?

    Is it possible to do that when you click on the thumbnail it can charge the relevant image and text in the div on the right?

    Sorry if it did not clearly explain, do not know how do it, so don't know if I'm describing correctly.

    As always, all the help and advice very welcome.

    In the right column, you would-

    Legend legend legend

    Legend legend legend

    ...

    The CSS would be-

    {of signs

    display: none;

    / * Add other styles as needed for the caption * /.

    }

    The thumbnails would each of the following behaviors:

    * onclick set the desired right column div to "display: block" using behavior ChangeProperty of DW.

    * also onclick set all the other div of the right column on ' display: no "DW ChangeProperty behavior.

    Be aware that how to apply this behavior for inches is one) first to wrap every inch in an anchor null () and then apply the behavior to the anchoring of the packaging not to the image.  Alternatively, you can apply the behavior to the image and then using the behaviors panel, change the behavior of "onClick" event to " onClick.

  • [AS] Find images and scale

    Hello!

    I have a document with thousands of pictures of most of them same size.

    However, some of them are too big so I need findthem and reduce them.

    How to find images that are too big, 50 mm width > and scale only images of 70%?

    All images have fixed width frame while the image in the framework should evolve.

    Thank you

    Jukka

    Something like this should do it:

    Tell application "Adobe InDesign CS3"

    the value of transforming the reference point of the window layout 1 anchor Center

    Tell document 1

    all graphs the value pictures

    Repeat with i from 1 to the number of pictures

    i the geometric boundaries of the element value {x 1, y1, y2, x 2} of pictures

    If x 2 - x 1 > 50 then

    set the Properties of the point i of pictures to {horizontal scale: 70, vertical scale: 70}

    end if

    end repeat

    tell the end

    tell the end

  • Images and text blocks will not stay on-site in a target of composition

    I'm having a problem with the placement of the images and text on a target of composition. What is maddening, it's that I did several times before and it's worked very well. Now, when I place the image, it is still there - even when the user clicks on a new trigger or when the composition is entirely closed. I can provide a link to the site, do not know if this is allowed here. I'm just trying to add a trigger/target more to one of the compositions. All the settings on the images, triggers and targets are the same as they have been for all the previous ones, that I have added in the past. Any help would be appreciated, as the company that I'm running the site is naturally impatient

    Did you try to 'cut' the image, and then select the right target in the nested composition (in the upper left corner of your application window displays the label "target: Normal ') and 'Paste' the image 'in place'?

    (And: are you using the latest version of Muse?) It is a version, which refuses to add several triggers to a composition in designs complex page.)

  • How to find children and parent of a resource in the HQU

    How to find children and parents of a resource in the HQU?
    for example, there is a server, how can I find all its services and its platform?

    by the way, where can I get a full HQU API doc? There is no description in detail in the Documentation of HQU:http://support.hyperic.com/display/hypcomm/HQU+Documentation

    Hello

    You can use the ResourceCategory.getPlatform () method to get the parent platform and you can use Resource.getViewableChildren () to the children. Here is a very basic example which comes out in the server.log:

    import org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory
    import org.hyperic.hq.hqu.rendit.helpers.ResourceHelper
    imports org.hyperic.hq.authz.server.session.AuthzSubjectManagerEJBImpl AuthzMan

    def authzMan = AuthzMan.one
    def Overlord = authzMan.overlordPojo
    def rHelper = new ResourceHelper (overlord)

    def resource = rHelper.find (server: 12226)

    println ("" Resource: "+ resource.name +" is a child of ' + ResourceCategory.getPlatform (resource) .name + "and has children:" ")
    resource.getViewableChildren (overlord) .every child {-->
    println (child.name + "\n")
    }

    As far as documentation goes, what you see on this page is all that is available at this time. I use the code source HQApi as reference when I can't find anything in the docs.

  • text-align: center in div with images and text

    If I put a div with text-align: center, and includes annother div with text as an image inside, will be the text and the image centered on the page in all browsers?

    , It works very well on fire fox but so do a lot of things! Ive tested the net IE rendering (http://ipinfo.info/netrenderer/index.php) and it seems to work fine. IM worried however as Ive read the tutorials that use means much more complex centering images and text so im wonding if it has some problems.

    Thank you

    It works fine in all browsers.

  • Error display IMAGES and TEXT

    Hi all

    I am currently evaluating FLEX technology for future WEB developments company. As part of the evaluation, I'm working on a Web Page demo.

    Currently, I'm stuck trying to show the text formatted with pictures. To do this, I use the property mx:htmlText of the mx:TextArea of the class because it allows me to insert directly to the HTML code. I was aware that not all tags have been supported by the mx:htmlText property, but I was worried when I read this quote in the developer's Guide Flex "the < img > tag is not fully supported in Flex 2 and may not work in some cases.". Even this warning, I decided to go head with the tests, I put the < img src = "image1.jpg" > inside the mx:htmlText. Unfortunately my suspects have been confirmed: it did not work, I get this runtime error message twice whenever I load the component with the HTML content "Error #2044: Unhandled IOErrorEvent:.» Text = Error #2036: finished loading never. "I tried to use an absolute path and I had a security error but the image is displayed, but no way parents are allowed.

    CODE:

    "" < mx:TextArea xmlns:mx = ' http://www.adobe.com/2006/mxml " width ="100% "height ="100% "editable ="false"wordWrap ="true"paddingRight = paddingLeft '0' = '0' backgroundImage="@Embed('recursos/logoINSITMA.jpg') ">"

    < mx:htmlText >
    <! [CDATA]
    < p align = "justify" > < size = '13' color = "#0021CC" > < textformat leftmargin = "5" rightmargin = attack "5" = "5" > blah blah blah blah blah blah blah blah blah blah blah blah blah < img src ='\logoinsitgris. GIF' > blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
    < / textformat > < / police > < / p >
    []] >
    < / mx:htmlText >


    < / mx:TextArea >


    As a walkaround, I thought to use mx:Labels and apply styles to format the text and mx:Images to add pictures, but I'm not sure if I could even generate the layout that I have in mind (I would like text surrounds the images).

    so my questions are:

    1-. Is my < img > syntax invalid or there is something I should have in mind to avoid the error "Error #2044: Unhandled IOErrorEvent:.» "Text = Error #2036: never finished loading? Or is happening this error due this HTML tag is not supported by FLEX?

    2-. Is there a walkaround to generate images and text formatted? With the help of mx:Labels and mx:Images can be, but they are much more restricted than HTML and also it is not very maintainable.

    All your comments/ideas/suggestions are welcome.

    Thanks in advance for you invaluable help.

    J.B.

    Solved. Set the security zone sand as sand of file system box.

  • How to find users and groups in the Sun box

    Please adivce how to find users and group in sunsolaris

    Thanks in advance

    We can get all the details of the Group of the file/etc/Group.

    Similarly the user details are in/etc/passwd.

  • How to create a listfield with image and text?

    How can I add images in a list. In addition, I also want to display with the image, a text. How to do?

    Help, please...

    in a listfield you use drawListRow to paint each line.
    You can use drawBitmap to paint a picture and drawText to paint the text.
    There are a few samples on the basis of knowledge, take a peek.

Maybe you are looking for