[AS] Trying to place multipage indd files with applescript?

Hello,
I am trying to place page i of indd document onto page item "box1". I do not want to have a dialog box. Any help would be great.
I am aware of imported page attributes but do not know how to talk to the placed document to change the page number. Thanks.

Thanks. I figured it out. I was talking to the document instead of the application. That's always tricky for me.
tell application "Adobe InDesign CS3"
set TheFilepath to ""
set page number of imported page attributes to 2--or whatever page
place "TheFilepath" on page item "box1" of active document
end tell

Similar Messages

  • I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it.

    I am trying to organize a zip file with a bunch of links and files. But when I drag an image file to a folder, it always "Snaps to grid" instead of just landing where I put it. All of the files are going into the same zip file but I want them visually in the space that I put them and not at the bottom of the snap to grid folder location they are looking like.  I am trying to  drag and drop files in groups so that I can group them for now, but image files always do their own "sort by" when I drag them from my web pages. Links don't do it though.  I tried resetting the folder, and deleting the DS files. No luck.

    You keep asking variants on this same question. You've had replies in all your other threads. If you can't find them, go here and click where it says Activity:
    Thomas Cannon Jr.

  • I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    It's probably best to ask in the InDesign Scripting forum:
    InDesign Scripting

  • Can't associate INDD files with InDesign CC 2014 (Windows 7)

    After updating to CC 2014, I noticed that my file associations for all my Creative Cloud applications were pointing to the wrong places. I assume this is because the new updates are actually different versions of the application and installed as completely separate apps. I was able to adjust my PSD and AI files to point to their new CC 2014 counterpart just fine, but when I tried setting the file association for INDD files, I noticed that the file type did not show up in the Windows 7 control panel file association list. So, instead I went directly to an INDD file on my computer, right-clicked, selected "Open with...", clicked "Browse..." and navigated to "InDesign.exe." When I selected it and pressed OK, it failed to change the file association. Repeating the process has not helped and now the only way to open an INDD file is to drag and drop it into the workspace of InDesign CC 2014. After restarting my computer, the INDD file type is now showing up in the Windows 7 control panel file association list, but it still is not allowing me to change the association.

    No, I did not. I'm running the 2014 Release version of InDesign for Windows (see screenshot below). And as far as I'm aware, Adobe has not released another update to the 2014 release version. I used to have the older version of InDesign Creative Cloud installed as well (the version right before the 2014 release), but have since uninstalled it as didn't want or need two versions of InDesign. I may just try re-installing the 2014 release version and see if that fixes things.

  • Help associating indd files with ID CS5

    I uninstalled InDesign CS4 on my computer to free up disk space.  I already had InDesign CS5 installed.  Now, my .indd files are not associated with my CS5 version.  I can see the indd extension in my files, but when I click on them they do not open in any format.  I have tried going through the steps and associating the .indd files to CS5, but the computer will not allow me to associate those files with the indd.exe file.
    Any suggestions on getting this fixed?
    Thanks!

    Once you wind up with that situation it's fastest to just reinstall.

  • I place a psd file with transparent background on another layer in my InDesign document. The layer b

    I placed a psd file with transparent background on another layer in my InDesign document. The layer below has a color (RGB). When the psd file is placed it changes the color on the layer below. I've tried other psd files thinking something is wrong with my file, but get the same result. I have tried for days to figure this out. Can anyone help me?

    Wow, thank you! That was fast. I googled that question to death and even bought (another) book on CS5 and never saw that answer. Thank you so much. You made a very good ending to my day! I'd buy you a beer if I could!!

  • How to correctly update .indd files with incopy through adobe cc

    Hello,
    We have a group of users in our company that only have incopy. This is done both for a control (no one changes layouts by accident) and for cost savings of not haveing the full suite for every user.
    With this environment we have found that...
    After any change to text via incopy, a person with adobe InDesign will need to open the file and update links so the .indd file will reflect the text changes.
    This will need to happen after proofing or any other editorial changes along the way. This adds many steps to our workflow.
    Ex:
    Alyssa is editing a sustainability article with incopy (no indesign). She makes her edits and save the contents (copy fits, remove a punctuation etc). However, when viewing the .indd file in adobe CC, her changes are not reflected.
    Bill (indesign user) had to open the file with InDesign, click update links (this is a popup box upon opening) and then save the file again, before the file would reflect the text changes.
    Does anyone know of a way to get around this? It would be great if incopy could push the text changes to the .indd file without a seperate step.
    Thank you,
    Andy

    I'm a little confused. Are the InCopy users using InCopy to edit standalone files (they're opening ICML files)? Or are they opening up the INDD file (the layout) in order to edit the stories context of the design.
    If the latter, then there's no need for the InCopy user to wait for an InDesign user to do something. As they make their edits in InCopy, the layout view in InCopy gives them a pixel-accurate preview of how their changes will appear in the final layout. If other InCopy users are editing different stories in the same publication (layout), any user can update to view their colleague's edits on a story-by-story basis, or all at once.
    And when an InCopy user sits down to work and opens a layout from the server, InCopy automatically makes sure that they are seeing the current versions of all stories in the layout ... they don't get prompted to update the stories, it happens by default. Even if the InDesign user hasn't touched the file or updated the stories.
    FWIW, most of my InCopy/InDesign clients use this layout method.
    AM

  • I am trying to email a jpg file with exif data but it dissappears from the file when the recipient opens it.

    I am trying to email a jpg file so the recipient can read the exif data to confirm the number of shutter actuations the camera has made. On opening it there is no detailed exif data. I have replicated this myself by emailing it to myself and also tried using a gmail account (through Mail).
    Normally to see the exif data I open the jpg or RAW in Preview and open the Inspector which shows camera and lens exif data.
    I am using a iMac with Lion and the recipient has a MBP with Snow Leopard
    Any suggestions please.
    J

    How are you attaching the image to your mail document? There is a bug with iPhoto -> Mail that will cause a loss of EXIF data. It works fine when attaching from a file.

  • Uploading a File with AppleScript via JavaScript

    Hi everybody,
    being new to AppleScripting and JavaScripting I'm faced with the following problem:
    Is it possible to make AppleScript to input the path for a file to be uploaded via JavaScript? If yes, what should be the correct Path Format and how to wrap it up the JavaScript action into AppleScript? I've tried a few comands but to no success.
    On the webpage in question, there's a "Choose" button, that is defined as follows:
    <input type=​"file" class=​"gwt-FileUpload" name=​"swfFile">​
    I've been trying to use the following syntax:
    do JavaScript "document.getElementsByName('swfFile')[0].value('Macintosh HD:Users:myaccount:Desktop:Scrapbook:!动画.swf')" in document 1
    as well as this one, where the Path is definitelly understood by shellscript:
    do JavaScript "document.getElementsByName('swfFile')[0].value('/Users/myaccount/Desktop/Scrap book/!动画.swf')" in document 1
    The name of the file is (and must remain) in chinese, but for testing purposes I have also tried files with english names, without success.
    Currently I'm using a solution with JavaScript comand:
    do JavaScript "document.getElementsByName('swfFile')[0].click()" in document 1
    to click the finder  window to browse for the file, and manipulating  keystrokes by using System Events to find the right file, but it's not  infallible with a number of files and it's hardly an ellegant sollution.
    Any idea what I'm doing wrong?
    Cheers!

    @twtwtw
    the do JavaScript "document.forms[0].submit()" command didn't work, so I kept the original way of submitting by clicking the button. The submitting part works, but not the input file part.
    That's the code I used
        tell application "Safari"
            do JavaScript "document.getElementById('gwt-uid-13').value='on'" in document 1
            do JavaScript "document.forms[0].elements['swfFile'].value=" & "'" & SWFFilePath & "'" in document 1
            do JavaScript "document.getElementsByClassName('gwt-SubmitButton')[0].click()" in document 1  
            delay 1
        end tell
    with SWFFilePath set as the POSIX path as well as the default file format
    Macintosh HD:Users:myaccount:Desktop:Scrapbook:!动画.swf'
    but it did not work.
    If you've got the time, feel free to upload an .swf. The service is free and the server delats uploaded files after 15 min. (if you don't have any, you may try an empty .txt file instead - it won't get converted, but the point is just to get it into the input box).
    In the meantime, I'll have a look at adayzdone's suggestion. It's not perfect (the downside being that it requires the window to be active, so I can't run the script in the background or with my screensaver & password on), but it's still more reliable than my sollution with navigating arrowkeyes.

  • Edit/update config file with Applescript??

    am trying to read the file and then trying to change the values of the same with permissions, pls suggest how to write the same file with permissions.
    The below script gives me the values as shown below, i need to change those values like aaaaa to 1, pls suggest.
    set fileContents to {}
    set x to ""
    set filepath to POSIX path of "Macintosh HD:Library:Application Support:Macromedia:abc.cfg"
    try
        open for access filepath
        set fileContents to (read filepath)
        close access the filepath
    on error
        return false
    end try
    fileContents
    output :
    "aaaaa=0
    bbbbbbb=0

    If you want to write to the file you need to open it with write permissions
    open for access filepath with write permission
    Ideally you should store the result of that command as a reference to the opened file:
    set myFile to open for access filepath with write permission
    now you can read the data:
    set fileData to read myFile
    You can erase the file by setting the EOF to 0:
    set eof myFile to 0
    (otherwise writing to the file appends data, rather thatn overwriting it)
    You can write data to the file:
    write "blah blah blah" to myFile
    and close it when you're done:
    close access myFile

  • Find a file with AppleScript

    Hi everyone !
    Is there a way to find a file using AppleScript ?
    The "find" command in the finder seems not working or I have a problem with the syntax.
    In an other hand, I dont find any way to script Spotlight...
    I hope I am wrong
    Any idea will be welcome
    JPaul

    Hi Jeanpauld,
    It works fine.
    As the final use is in a FileMaker pro data base, I
    prefer this solution.
    Glad to hear the script worked for your particular situation.
    In which dictionnary can I find SpotlightSearch ?
    "SpotlightSearch" is just what I named the subroutine of the script. You could name it whatever you like but I figured that would be a good name for it since it uses the spotlight technology to perform the search.
    As Joseph Briggs pointed out the best way to get information about the mdfind command used in the do shell script portion of the SpotlightSearch subroutine is to use the Terminal application. Launch the Terminal and type man mdfind.
    If you have any further questions regarding this command please feel free to ask and I would be glad to try and help you through it. There's quite a bit that can be done using the mdfind command!
    Thanks a lot for your help !
    Anytime Jeanpauld.
    Sorry about not replying to your response sooner but the new discussion forum format is refusing to email me letting me know when my subscriptions get updated. I used to rely on that feature and will have to keep my own eye on my subscriptions for a bit while Apple works out the bugs in the new forums.
    Take care Jeanpauld...

  • When trying to open pages 08 file with pages 09

    I am trying to open an old pages08 document using pages 09 however is not letting me do so.  A message saying " to open it save it as pages09 first" is coming up however I cannot even open the file, how can I save it as pages 09 then?
    Very frustrating...

    The last version of Pages ’08 was 3.0.3. The last version of Pages ’09 was v4.3. On the right contextual menu from my previous post, one of these will appear as Pages (3.0.3), or Pages (4.3). Choose one of these to open that Pages ’08 document. If you have neither, then take a look at the free conversion service at zamzar.
    I just uploaded a Pages ’08, and a Pages ’09 document — both containing layout and images with text. I requested conversion into Word .doc format, and gave a little-used email address. In five minutes, I had an email response with download links to the converted documents. The reproduction in the Word documents was near perfect. Pages '09 and Pages v5.5.1 on Yosemite had no issue opening these Word documents, though there were the usual grumblings about removing linked text boxes, etc in Pages v5.5.1.

  • Trying to encrypt a config file with aspnet.regiis.exe.

    Hello,
    I am trying to encrypt a file using aspnet.regiis.exe. The problem I am running into is the file is not the web.config file that aspnet wants to encrypt. It is a file named CustomerConnStrings.config. I have tried to encrypt it, but aspnet_regiis errors
    out saying that "The configuratino for physical path 'c:\temp\customerconnstrings.config' cannot be opened. Failed!"
    The command I am running is :
    aspnet_regiis.exe -pef "connectionStrings" "C:\Temp\CustomerConnStrings.config"
    I tried to run cmd as both Administrator and a regular user. I have tried to run the 64bit version of aspnet_regiis. I am able to rename the CustomerConnStrings.config file to web.config and add the <configuration> lines in and then it will allow me
    to encrypt it, but I am hoping that is not the best solution.
    Thanks!

    Hi Andy,
    Please post your thread on asp.net forum for effective response.
    http://forums.asp.net/.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Trying to open a CP3 file with CP4::

    My client has me updating a course for them.  They delivered me 2 CP3 files and I have CP4.  When trying to open them, I am guided to save it as a different file name.  Once I do this, file number one opened and is fone...but file number 2 gives me this error message::  "Exception EConvertError in module converter.dll at 0000BBF#."
    Can someone help me with this?

    Hi again
    In that case you need to locate someone with Captivate 3 and have them try it for you.
    I can do that for you if you like. If you want, send me a private email message to rstone75 (at) kc (dot) rr (dot) com. You could use a free service such as http://www.yousendit.com or http://www.transferbigfiles.com to ship the file.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • I have an ipod touch that hasn't been used for a while.  Now we want to use it, but the screen says "ipod is disabled connect to itunes"--but it won't connect.  I have tried to place in recovery mode with directions given but still get the same message.

    I have an ipod touch that hasn't been used in a while.  We want to use it now, but the screen says "ipod disabled.  connect to itunes".  When I connect to itunes it tells me to enter my passcode, however the ipod will not allow me to do anything (and I don't know the code anyway).  I tried to put it in recovery mode as someone suggested by holding the home button while plugging the ipod up from the computer, but I never did get the "connect to itunes" symbol, I continually got the same screen saying "ipod disabled connect to itunes".  Help!

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

Maybe you are looking for

  • B1 with SQL Server 2008 and SEC with SQL Server 2005

    Hi, we are currently upgrading from B1 2005 to B1 2007. With B1 2007 we could use MS SQL Server 2008. In parallel we have a SEC implementation (which uses SQL Server 2005). Would there be any issues with the integration of B1 and SEC although they ru

  • Issue with event struct reading controls

    Hello all. I'm having issue reading my control clusters after triggering an event. Here is what I was trying to do: 1) I have a control with several booleans 2) A mouse up on the cluster triggers an event. 3) Although it's not pictured, I was using t

  • Google+ photo upload tool does not show thumbnails

    When I use the photo upload tool in Google+, you select the pics to upload, enter an album name or use an existing one, and the upload should start. When this is complete, each uploaded photo should show in a panel so that you can then rotate, delete

  • 4 Basic JNDI questions I have - please help :-)

    Hello JNDI lovers and haters as i feel at the moment :P Question 1: I get a warning message from my eclipse 3.3: NamingEnumeration is a raw type. References to generic type NamingEnumeration<T> should be parameterized     LDAP     MainWindow.java    

  • DAQcard-700 data vs time

    Hello, I'm using DAQcard 700 to receive sampled analog data to the computer. I'm planning to work with external trigger (EXTCONV) and my question is how can I receive 2 vectors of the data, one for the converted from analog to digital data itself and