GraphicLines margin

Hi Forum,

I'm trying to move created GraphicLines left MarginEdge.

myPage var = app.activeDocument;

var myGraphicLine = myPage.graphicLines.add ();

myGraphicLine.paths.item (0).pathPoints.item (0) .anchor = [10-10];

myGraphicLine.paths.item (0).pathPoints.item (1) .anchor = [10-3];

myGraphicLine.select ();

right = app.activeDocument.documentPreferences.pageWidth - app.activeWindow.activePage.marginPrefer ences.right;

myPx = app.activeDocument.documentPreferences.pageWidth;

myPy = app.activeDocument.pages [0].marginPreferences.left;

myZy = myPy-myPx;

App.Selection [0]. Move [myPy, myPx];

but the ESTK says error (undefined, one line is added above the top of the page and it is not moved to the edge of the left margin).

Can the body help on this...

Hello

You have to play with

page. Bounds,

page.marginPreferences

and graphicLine pathPoint.anchor.

your position correct myx = page.bounds [1] + page.marginPreferences.left

position your line like so well:

myGraphicLine.paths.item (0).pathPoints.item (0) .anchor = [myx,-10];

myGraphicLine.paths.item (0).pathPoints.item (1) .anchor = [myx-3];

Jarek

Tags: InDesign

Similar Questions

  • Behaviors can be used on the margins of the text?

    Motion 5 5.2.3

    Final Cut Pro X (10.2.3)

    OS X (10.11.6)

    I have the text on which I want to use the behavior of the 'Link' parameter on the page layout > margins > left margin. Margins does not however seem to create keyframe or behaviors. Is there a way to link the left margin with a source parameter?

    Some parameters are not able to bind.  Margins, width, height, etc.  Put in a feature request.

    http://www.Apple.com/feedback/motion.html

  • How to set paragraph margins in a document

    I would like to define paragraph L & R margins in a word processing document, but I find only the margins of the Document in the Inspector.  If I try and create a new section for paragraphs with new margins, a page break is created.

    Help pages 'Definition place outside' talking about click the layout button.  I can't find a page layout button.

    5.6.2 Pages using

    Select text > toolbar > Format > sidebar > text > page layout > withdrawals

    Paragraph margins are controlled by the sovereign or the settings in the sidebar. Drag the markers to end on the rule. They cannot go outside the margins of the Document and apply to the paragraphs, not pages.

    In Pages ' 09 you can use the set break to set INSET, including the top and bottom, over large areas within pages and on multiple pages.

    Peter

  • Installed Enigmail. Some "writing". The toolbar (fonts, change color, margins etc is missing? How to get the toolbar?

    Before installing Enigmail, there was the bar containing the fonts (increase or decrease) change of color, margins (left, Center, right) tool etc..
    In the menu by selecting "special characters", etc. was present. Now, nothing! No way to select menus toolbar with these elements.
    A real disappointment! Any help to restore the toolbar of composition would be greatly appreciated.

    Mitchell

    Christ1,

    Yet once, thank you for your follow up to my question.

    I followed your instructions; solve the problems I was experiencing.
    Thank you for taking the time to explain how to re - engage the formatting of composition.

    I hope that the other gentleman encounter the same problem also reads this information provided by you, as well.

    Kind regards

    Mitchell

  • In one of my firefox browser, the header/footer margin setup parameter is inches, I need to change it to milimeter to inches. Your help is appreciated.

    In one of my firefox browser, the header/footer margin setup parameter is inches, I need to change it to milimeter to inches. Your help is appreciated.

    As far as I KNOW Firefox displays the metric or Imperial depending on the type of paper selected for printing. If you are using A4, you should get millimeters/metric.

  • Email I generate have margins smaller than incoming e-mail. How can I change email margins to generate messages?

    When I type an email, sentences wrap to about 1/3 of the screen. Incoming e-mails wraps to the width of the screen. I wish that my emails generated to encapsulate phrases in 100% of the width of the screen.

    How to set the margins for the generated email?

    This article is a bit "techno" for some, but does the size of the margin, or packing on your screen when you call.

    http://codeverge.com/Mozilla.support.Thunderbird/margins-in-sent-messages/1998622

    It might give you an idea of the solutions. This is to make the configuration editor, which can be dangerous if you're not careful.

    TB38.2 Win10-PC

  • Is is possible to resize player view margins?

    I have a large screen that will support a large number of small texts, while the margins on items are an obstacle to my reading articles since this text could easily fit on my screen at the same time. To fix this problem I thought to try the drive to eliminate interference marginal on the web page as advertising banners and links to other articles still margins in player mode are too broad, making text a close and able to scroll column. Is it possible that I can adjust the margins of the page view of the player so that the smallest text can fit on my screen?

    Try this extension:

  • What is the wheel yellow in the left margin of the subject field of the thread pane?

    Today, some, but not all of the unread mails had a small symbol yellow like the Sun wheel in the left margin of the pane Inbox thread.
    The symbol appears in the same area where the other e-mails can have small arrows indicating that I responded to an email.

    When I click on a such mail, it goes to State reading (normal font as opposed to "BOLD"), and the wheel also goes.

    While trying to ask this question, I had to request a reset password, and after you receive that mail, the last unread message remaining which had this wheel, had more of her. I am therefore unable to make a screenshot showing the symbol. However, it consists of a circular yellow box with a large number of short black lines in the radial direction, places evenly along the perimeter inside the yellow box, forming a ring or radial lines.

    If you know the symbol, what you call it? What he's trying to say?

    In which case it is important, I use an IMAP account.

    Looks like it's the new message indicator when using threads messages.

    List icons.
    http://KB.mozillazine.org/Icons_-_Thunderbird

  • Is it possible to move email accounts in a different order... in the left margin, when you have multiple e-mail accounts

    I have several e-mail accounts. As I added each e-mail account, Thunderbird added their order entered. I would like to change the order in the programming on the left margin. for example ".
    Joe@123
    Jim@123
    George@123 it comes to existing order, but now I want to

    Jim@123
    george123
    joe123
    I know I could delete and add in a different order, but I have thousands of emails that I don't want to lose.
    Any suggestions would be greatly appreciated,

    https://addons.Mozilla.org/en-us/Thunderbird/addon/manually-sort-folders/

  • How can I move the margins so that I have MORE room for my messages

    I want to show more of my e-mail and less "Preview"... then how I move the margin to make more room for the message?

    Previously, answer you with a request to hit the edge of the window?

    If you move your cursor slowly, you should be able to pick up the horizontal divider between the message list and the message pane and drag it upward or down to suit.

  • My image of top margin disappeared, how do I get it back?

    I had the rear image on the top margin of my browser, but now it disappeared. How can I get that back? What do I need to reinstall Firefox from scratch? I looked in the options without result.

    After hovering round the installation instructions, I found the answer in the choice of themes. Now I have my FIrefox familiar back and I'm a happy camper.

  • print margins

    Hi all
    Want to use Firefox for our activity as well, but how to set print margins? Is this possible at all?
    Thanks in advance

    Print margins are defined in the settings of the printer. If you have any questions, you can set parameters for web pages with these instructions: How to print Web sites

    and use to resolve problems printing in Firefox

    Please report if you have any other questions.

  • How can I change the margin between inches and millimetres units?

    Firefox 23.0.1 Windows 8.
    Use the preview before printing-> layout-> margins & header/footer

    It seems to depend on what size paper it is selected.

    See: [755344/questions/755344] how can I use metric units in the dialog box layout?

  • All of a sudden started having a large margin on both sides of websites such as Facebook and Pinterest so everything is smaller in the middle. How can I change this?

    I don't know if I've accidentally changed something by mistake, but now most of the Web pages on which I'm going to have a margin of 2 inches on both sides which makes everything that should appear in a small space right in the middle of the screen. I would like to make the content of the pages to fill the entire page rather than just middle. How can I change this?

    You can reset the zoom of page on pages that are causing problems.

    • View > Zoom > reset (Ctrl + 0 (zero); 0 + Command on Mac)
  • Only on Facebook and Firefox, the left/right margin are defined in 6 inches, is not the print size that is correct, I want to know how to extend this back full page?

    This only happens on Facebook while I'm in Firefox, think of a word document where I put the margin by about six inches on each side. The print shows only on about half the page Central. It has nothing to do with the size of the text, it will appear as usual, just more lines to say the same thing. If that sounds confusing, it's OK, because it's confusing to me, questions let me know.

    Mark

    Update Firefox 18.0.1

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

Maybe you are looking for

  • Why my message a confirmation of reading on a device and not the other?

    I use my iMessage on my iPhone 5 and my Macbook Air, however, sometimes when I send a message from a device it shows a read receipt to the other person on my mac, but not on my iPhone. The message on my iPhone remains as "delivered" much later and th

  • For a sequence in real-time output variable

    VS 2011, I have a sequence of real-time voltage step that sets an AO for a voltage given for awhile, and then resets the output to 0. Just before setting the output to 0, I want to read the response of my this stimulus of an AI System I call StepResp

  • Transfer files via Bluetooth

    Hello I am new to Android and motorcycle G2. Need to transfer files via bluetooth. But I'm unable to locate the file (audio file). I used VLC to explore the multimedia file in the phone. But no option to transfer files via bluetooth. Help out me.

  • Matter of finding the resources function VISA after COM port disconnected

    I have an application in which I use two COM ports for communication, both only is active. Between testing a com port gets connected and disconnected dynamically. I am able to connect and disconnect without problem. Now after my com port dynamic disc

  • What are the sectors that have implemented firewall

    1. What are all the sectors concerned on the implementation of firewall for the security of their data? 2. how much would a firewall cost (or) what is the affordability for a firewall? 3. the role of SMEs in the firewall application?