[CS] TextFrame and page.place [JS]

Hello

page.place("...") allows to import a file and create a textFrame. How can I get the textFrame?

page.place return a story...

I would normally use textFrame.place (). You have much more control

in this way...

Substances

Tags: InDesign

Similar Questions

  • How can I put a dashed between enrty line and page number of an index?

    I've successfully created an index with Indesign CC, but I can't seem to right align page numbers and get a dotted line between the entry and the page number. It doesn't seem to be an option for that. The menu of content table has a field "between entry and Page number", but I can't find an equivalent here.

    There is also a full stop after each page number. I don't know how it got there, but how do I get rid of this?

    You must change the paragraph style, you use with your texts to index. Go to the tabs tab and change the tab tab left justified right, Insert tab arrow to correct places on the rule of the tab and finally add a point to the head field. Then you need to return to your indexing settings and make sure that you separate the entries index and page number with tab...

    Paragraph Style settings:

    Indexing settings

  • CS3 and Delphi: Place pdf in indesign

    Hello

    I'm developing a script with Deplhi that automates the creation of documents.

    I would like to be able to place pdf documents in an InDesign document. I adapted a script I found in this thread: http://forums.adobe.com/message/3013174

    I didn't define the types appropriate for variables, because Delphi does not not typed variables. There was a line in particular that I had to change completely:

    myPDFPage = myPage.place(File(myPDFFile), [0,0])[0];

    The nervous parameter must be an array of double, and missing parameters should be defined. Finally, the following worked:

    var
      APoint:      array of double;

    begin
      ...
      SetLength(APoint, 2);
      APoint[0] := 0;
      APoint[1] := 0;
      myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false);
      ...

    Original, the result of the function of the place is assigned to the myPDFPagevariable in the script, and I have problems to get this assignment work. Often uses TypeLib by as olevariants and we must understand ourselves what types are permitted and must be used, and what kind of actors.

    In the original script follows this code:

    myFirstPage = myPDFPage.pdfAttributes.pageNumber;

    Only interfaces in the type library that have a property called pdfAttributes are PDF and ImportedPage. But none of these types of work if I set pdfAttributes of this type. I'm not sure if that place seems to return a table only adds additional problems. Most of the time, TypeLib tables are based at index 1, not zero.

    But I tried

    var
      APoint:      array of double;
      myPDFPage:   PDF;
    begin
      ...
     
    myPDFPage := PDF(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
      ...

    and

    var
      APoint:      array of double;
      myPDFPage:   ImportedPage;
    begin
      ...
     
    myPDFPage := ImportedPage(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
      ...

    and even with the array index to 1 instead of 0 and without a clue. But none of this should be compiled without error.

    Justifications know how this command line must be or what type of myPDFPage ?

    And more generally: how could determine the types possibla of a parameter, variable, or return type which is an OleVariant in the type library?

    I found a few InDesign CS3 scripts specific documents PDF here: http://www.adobe.com/products/indesign/scripting/, but no reference full of functions and types.

    Best regards

    Christian Kirchhoff

    Hi Christian

    I don't know if anyone else uses Delphi on this forum.

    But here is what I get JS - we will perform a simple test:

    var doc = app.activeDocument;
    var myPDFFile = new File("~/Desktop/Sample.pdf");
    var page = doc.pages[0];
    app.pdfPlacePreferences.pageNumber = 1;
    var a1 = page.place(myPDFFile, [0,0]);
    var a2 = a1[0];
    

    A1 returns an array of objects PDF, but declare you it as doubles. AFAIK, it is always an array of single item since you cannot place more than one page pdf at a time.
    A2.constructor.name;
    Result: array

    A2 returns the class PDF object
    A2.constructor.name;
    Result: PDF

    Kasyan

  • When I go Incognito, is it possible that someone can keep track of Web sites and pages that I enter?

    I wonder if: when I go Incognito, is it possible that someone can keep track of Web sites and pages that I enter?

    Hi master,
    The answer to your question is Yes and no.

    None: No one can keep track of your history on the side of your computer.
    Yes: Your ISP (Internet Service Provider) can keep track of your history.

    Anyway that you do not have to worry about anyone using your computer accessing these data.

    Here's the article for help in case you want to more information: https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history

    I hope this helps, have a nice day.

  • If I save bookmarks manually and the place it on another computer, are also my passwords to connect to these bookmarks will be transferred?

    Hi guys! Hope you're doing great!

    I want to give some very important bookmarks to a colleague, but for most of them, I have the passwords saved in Firefox (Linux 14.0.4 LTS) 34.0.

    I am afraid that him giving the bookmarks that I have downloaded onto my PC from the option import and export bookmarks, also give passwords to connect to them.

    Is it that this will happen or it is authorized to send necessary bookmarks? I don't have another PC on which I can test that for the moment.

    I searched through these recommended articles:
    -Can I restore my favorites if they were registered to the same profile on another computer?
    -Why firefox alters my favorites each time that I load it on another computer?
    -How can I move all my favorites of different Firefox profiles in a field to organize them and then place them in different Firefox profiles?
    -Where are my credentials stored?
    -Restore the Favorites from a backup or move them to another computer

    Thank you very much!

    Thank you very much for the reply!

    I wishyou a beautiful day!

  • I opened Firefox and page say to install plugin. After installation, I drove on my computer. Why?

    Last week, I opened Firefox and page said that a plugin is available to install on my computer. I ignored the page and open a new page in Firefox, but the plugin has been installed on my computer and I had driven. I googled leads and learned how to uninstall. Also, I got speedanalysis.net arise and scan my computer of Firfox pages. Today I opened a new page in Firefox and a Norton said npConduit Firefox popup is safe. How is that possible?

    He probably forced installed, run a check of malware, as said by cor - el and make sure you download not junk from cnet or you want to use the 'Direct link' below

  • What versions of are the numbers 09 (v2.3) and Pages 09 (v4.3) supported by El Capitan?

    I use OS x 10.8.5 on a MacBook Pro for mid-2010 and my Twitter account has transferred me to Twitter Mobile (as it says that I'm on an older version of Safari) and it's driving me crazy.  Before moving to El Capitan (which I hesitate to do, anyway, I read the comments) I need to know what versions of numbers of Pages and words are supported because they are more important than Twitter and I am struggling to find information.  Thanks in advance :-)

    Numbers and Pages will be automatically updated to their latest versions. They are respectively 3.6.1 and 5.6.1. Their documents will be the same way for compatibility with earlier versions.

    See Microsoft for support with their products. To help other users, I know Word 2011 will work, and Microsoft has released a number of updates to compatibility of El Capitan.

    Read the upgrade to OS X El Capitan - Apple Support.

    Assuming that you have already used to regularly back up your system, you can evaluate El Capitan at no risk and no cost. If you will not back up your system, you should. Get a bolt of lightning, FireWire or USB external hard drive for your Mac, then download and install El Capitan on it. You can choose to start your Mac from this disc or the internal using Boot Manager (hold down option while you start your Mac) and evaluate El Capitan without any risk whatsoever to your existing installation. Just be sure to designate the appropriate for El Capitan, installation location when you get to this stage of the installation.

    Running OS X from a disk external hard is not as fast as an intern of the Mac, but it will be enough to draw conclusions about its suitability for your needs.

    A disk drive external hard with sufficient capacity can be purchased for well under $100 - far less than the cost of some updates OS X previous themselves. When you trust yourself that El Capitan works for you, 'clone' contents of the external drive on your inside one, and then use the external drive to backup purposes - which you should do anyway.

  • How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Hi Sir,

    I created a 4-page tab control. How is it possible to change the 1 tab to Page 2 and page 3 page, etc. by using a Boolean control?

    Thank you vey much Mr. It worked

  • Whenever we start to use our computer, the screen goes black and the message 'Auto adjust is in Prgress'. Then, all of our screen is small and all the icons and pages are smaller than before.

    original title: Auto Adjust

    Hello.

    Whenever we start to use our computer, the screen goes black and the message 'Auto adjust is in Prgress'. Then, all of our screen is small and all the icons and pages are smaller than before.

    I tried restoring the system that works and that gets our screen back to normal but every day that this Auto setting is coming and we can't seem to stop it.

    Any help would be appreciated... Thank you

    Try this:

    Go to the Web site of the manufacturer of your laptop computer-graphics/computer card > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon.

    Mick Murphy - Microsoft partner

  • an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    Original title:

    Win7 victory explrer click dsktop & mployment plces & get eror msg file is not a CDSA wth to prfrmin ths field prgrm. pls instl one prgrm so is alrdy instld Credit Union assc ltvds cntrl pnl prgrms

    I don't know how to fix. Help, please.    Win7 windows Explorer click

    Office & recent locations & grterror msg:
    This file does not have a program associated with it for performing this action. Please install a program or, if it is already installed. create an asssociationin the default programs control panel.
     
    Information given in the new thread:
    Error Msg When you try open office spaces & recent since the win Explorer

    when im in windows Explorer and click on the desktop or the recent places the link I get a msg of error and they will not open, but all others open. I posted pictures of error msg to skydrive yesterday.

    Hello

    Welcome to the Microsoft Community Forums.

    I see you've found an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    1. Have you made changes on the computer before this problem?
    2. What is the full error message?

    I suggest you to report to us the screenshot of the Advanced window so that we can understand what exactly the situation.

    See:
    Use SkyDrive download collected files and post screen shot/image
    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    The average while you can try the following steps and check if the error reappears.

    Method 1:

    Step 1:

    Start the computer in safe mode and check the number.

    Some options, including the mode safe mode, start Windows in a limited State, where only the essential is started. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers and services as a possible cause.

    Follow this link provided below to start your computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    Put the computer to boot and check if the problem persists.

    To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 3 of the KB article provided above.

    Method 2: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    It will be useful.

    Back with the details so that we can help you further. We also indicate the result of the suggested steps.

  • DOWNLOAD SERIAL NUMBER GB TO DOWNLOAD AND PAGE WAS NOT FOUND

    Bought adobe photoshop elements 14 and first elements 14 tent install got the serial number and click here to download and page says not found

    Hello

    You can try to Download Adobe Premiere elements 14, 10, 11, 12, 13

    Concerning

  • Beginner jQuery is having trouble with the links and the page redirect and page caching.

    Hi all

    I'm trying to update an old legacy of multipage site (each page has headers html etc.), adding jQuery Mobile. Most of the time it goes well, but I'm having some problems with the links, the redirect of the page, and caching.

    I write javascript like this...

    < script >

    -do things - then-

    Window.Location.Replace ("Page1.html");

    < /script >

    and links like this


    < a class = "-ui ui-btn-b btn tsize1" href = "page2.html" rel = "external" > page 2 < /a > "


    CACHING ISSUES


    On many pages - such as those that I have problems with, I've added no caching of code as...

    < head >

    < META HTTP-EQUIV = "Pragma" CONTENT = "no-cache" >

    < META HTTP-EQUIV = "Expires" CONTENT = "-1" >

    ... more...

    < head >

    Problem: for example, I can go to Page 1 and click on a link to go to page 2 and page 2 has the lines "no cache" header. The problem is that a fresh change of page 2 does not appear even with no cache lines above and even if I hit refresh in the browser that I thought it was supposed to reload the page (live get of the site). On the contrary, it seems to continue to see the old content before the update.

    In another case I could be on page 21 and click on a link that goes to the publicationfootnote22 and made a few treatment database and then goes to the page33. In this case, my fees top22 updates are not appearing and showing just the old cache data.

    Q: what is the best way, at least while I am writing code, to force the Page to refresh (non-cache), I can see my updates all the time, because otherwise it becomes very confusing because I'm sure you know.

    Thanks in advance: Dave

    Hi Dave,.

    Are you handy with your developer tools? It's always where I head when I need to look inside something. Before getting anywhere in addition or developed, check the response code you get for the page request and see what is the numeric code. If it is 200, you get a new copy. If it is 304 then your browser is striking the same content or something in your UI is to preserve the previously loaded document fragment.

    Photos make it easy, Chrome this is grabbing a small page for the first time and with disable cache enabled, and we get the status code 200:

    If I keep refreshing with "Disable cache" activated so I keep getting GET/200, copy fees.

    However, delete the "disable cache" to speed things up and the server and the client negotiate and check if she even needs to send you the document (if she thinks she's changed), and if not, of course you GET/304, or "load cache:

    Whenever I update I get GET/304, hitting the cache.

    Make sure your requests are GET/200 if you expect not to be cached.

  • I am trying to download the free track of Photoshop CC. It will open a new tab and show places of loading spinning. Then they disappear and remains white. How to make it so I can download it?

    I am trying to download the free track of Photoshop CC. It will open a new tab and show places of loading spinning. Then they disappear and remains white. How to make it so I can download it?

    Please try using another web browser or deleting the browser history and cookies, then try again.

    Kind regards

    Hervé Khare

  • I am trying to download Photoshop CS 5 installation stops because I was invited to turn the Notifications of Safari and SafariCloudHisto.  I don't know what they are and the places where to disable them.  Help, please.  I use a macbook pro.

    I am trying to download Photoshop CS 5 installation stops because I was invited to turn the Notifications of Safari and SafariCloudHisto.  I don't know what they are and the places where to disable them.  Help, please.  I use a macbook pro.  How can I find the Notifications of Safari and SafariCloudHisto?

    Guest of installation of close SafariNotificati

    https://helpx.Adobe.com/Acrobat/KB/install-prompt-close-safarinotificati.html

  • I need to restrict printing, but keep the Content Type and permitted Page Extraction. How can I keep the content type and page extraction authorized display?

    When I change the settings to allow content type and page extraction and save it, it shows authorized.  When I close the pdf file, re-open it, examine the security properties, it shows the type of content as allowed and extraction of page as rejected. I need both to stay permit, how that happen?

    As soon as you select do not allow any type of change made to extract file then pages is automatically banned as well. There is no way around that.

Maybe you are looking for