[CS3][JS] page.place(...) works for pdf, not for snippet

Hi all,
I'm having some problems with the page.place(...) command on InDesign CS3 Server.
When I try to place a PDF on a page, it works perfectly. I can see the PDF on the document.
But when try to place a snippet file, it gives me a very strange result.
There is a frame on the document where the snippet should be placed, but it doesn't contain anything. You also cannot see it unless you select it.
I can move the frame around, but not resize it.
But when I copy and paste this frame, the newly copied frame does contain the contents from my snippet.
When I try this on my desktop version it works correct, but not on the server.
Here's the code I use:
//set measurement to pt, just to be sure
myDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.POINTS;
myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.POINTS;
//place the snippet on the last page
myDoc.pages.lastItem().place(new File("c:/mySnippet.inds"), [170, 400]);
I managed to solve this by using the PDF place instead of snippet, but at a later stage I will have to use snippets, so it would be great to know what I'm doing wrong.
Regards,
Dany

Hmm it seems that the snippet is placed on the first page, but for some reason, the coordinates are so wrong that it ends up on one of the following pages. that's wy I cannot select it.
I attached the document, it's hard to explain.
You can see two pages, all seem empty at first sight.
When you click on the first page and do a ctrl-a to select all items, you can see that there is an item selected on the second page.
Remarkable is that if I use the same code to place a pdf, the pdf is placed at the correct position on the second page.
Is there something wrong with the coordinates when placing snippets, or am I doing something wrong?
Dany
Edit: I can't seem to reproduce this problem with a blank indesign file, which will probably make it hard for anyone to find the problem.
Must be something else in the complete script that is causing this.

Similar Messages

  • Error (-45054) for WINDOWS not for a mac

    For the past three days i have been trying to download app updates via the iTunes WINDOWS software program without success due to the error -45054. I have done many a search but can only find answers on how to fix the problem on mac computers. I am running windows 8 (yes i know it ***** you don't have to tell me)
    There are a total of two users on the computer in question. However the error only occurs in the account of one of the two users. User #1 has no problems whatsoever and is a administrator. User #2, also listed as a administrator always gets the -45054 error.
    Files are all set as shared with everyone with full control.
    i have tried to remove iTunes and reinstall but still no help. Any suggestions are appreciated as long as they are for WINDOWS not for mac

    I tried submitting this same problem as a feature request and/or bug report.
    Unfortunately, and somewhat disconcertingly, the Captivate Bug Report form also doesn't work. No matter how thoroughly I entered my request, I got these error messages:
    The following error(s) must be corrected before this form can be completed:
    Please enter your name
    Please enter your E-mail address
    Please select if it is feature request or the bug report.
    Please select a product
    Please enter the issue description

  • Set file filters in flex for save, not for browse

    How can i set file filters in flex for save, not for browse?
    Right now i am using filereferce class for saving purpose but i could
    not able to set filter. We can easily do it for browse.

    You can try to delete [http://kb.mozillazine.org/mimeTypes.rdf mimeTypes.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    Create a new profile as a test to check if your current profile is causing the problems.
    See:
    * [https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile Basic Troubleshooting: Make a new profile]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See:
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Infotype only for pa40, not for pa20/30 ???

    Hello,
    How to set an infotype to be available only for pa40, not for pa20/pa30?
    J can programm it in PBO and check the transaction code, but I look for another solution, maybe in spro.
    Regards,
    Piotr

    Hi.
    I have got a doubt after reading ur question.
    PA40 is for Personnel Actions.
    PA30 is to maintain master data.
    PA20 is to display master data.
    so is it possible to set infotypes only for PA 40, and not for PA30/20

  • I want to be the only one who can access my profile, so how to create passwords for profiles (NOT for websites) ?

    I want to be the only one who can access my profile, so how to create passwords for profiles (NOT for websites) ?
    thanks

    Maybe use the portable Firefox version on a USB stick if you want to prevent access to your profile.<br />
    Solutions that use an extension can easily be bypassed by starting in [[Safe mode]].<br />
    Otherwise you need to locate the Firefox profile folder on an encrypted drive.
    See http://portableapps.com/apps/internet/browsers/portable_firefox

  • Looking for patch note for 3.1

    anyone has the link for patch note for v3.01?

    http://support.apple.com/kb/HT3754
    or
    http://www.pcworld.com/article/169432/applepatches_iphone_sms_vulnerability.html?tk=relnews
    Message was edited by: deggie

  • Using DVD@ccess for .PDF (not clear to me in Manual)

    So I've got a link typed into a certain page of the DVD to link to a .pdf file. The link is typed as:
    file:///DVDname/foldername/file.pdf
    This is how it tells me to link it in the Manual, however whenever I burn a test disc, put it in the computer, check the "enable DVD@ccess" box in the DVD Player prefs, and test it, it does not open the file. How is this not working? Do I have to place the folder in a specific location when the DVD begins to build and format, or do I have to include the full line of folder names (folders within folders) when I type in the address above? Am I selecting the wrong folder when I choose the "content" folder before building the DVD?

    Good links from Drew...
    The process is complicated. I'll try to make it simple.
    First off, your pdf file needs to be in a folder somewhere on your machine - let's call it EXTRAS. That folder itself now needs to be in a parent folder as well, let's call that one ROM_CONTENT. For simplicity just set this up on your desktop for now.
    From within DVDSP you need to set the location of the pdf file in the property inspector, but you do this in two places. First off, click on the disc icon in the outline view and then look in the property inspector for the ROM section. Use the 'Browse' facility to specify the outer folder you made earlier, and make sure the path in the property inspector points to the location of 'ROM_CONTENT'.
    Now, in the menu that is going to hold the DVD@ccess link you also specify the path to the file, but this time you set up the path as it would appear after the disc is built. If your pdf file is called 'products' and your DVD itself is called 'My_Disc' then the URL that you put in the menu needs to be:
    file:///My_Disc/EXTRAS/products.pdf
    Note that you *do not* use the name of the parent folder... this is very important!
    When DVDSP builds the disc it will place the Video_TS and Audio_TS folders at the root level (the first thing you see if you open the disc in your finder). When you use DVD@ccess it will also put a folder to hold the @ccess.exe file with instructions to PC users, and it will also put whatever it finds inside the ROM_CONTENT folder at the root level of the disc. In the example here it finds a folder called EXTRAS and so the root of your disc looks nice and tidy - four folders. If you didn't use the inner folder then your pdf would appear as a file on the root... which to me is plain messy.
    Now, since the folder called EXTRAS is now at the root level and holding the file to launch, that's what you MUST specify when writing the menu URL.
    Finally, in order to see this working on your Mac (simulator) you need to turn on the DVD@ccess prefs in both DVDSP and DVD Player. Once done, the file should launch your default pdf viewer (probably 'Preview'). If it doesn't then there is either something wrong with the paths you have used inside DVDSP, or there is something wrong with your Mac! I'd suspect the paths before anything else...

  • External Adobe Reader for pdf, not saved in settings

    I'm using Firefox v32.0.2 (with Adobe Acrobat 11.0.9.29 Plug-in) on Windows 7 Enterprise SP1.
    Using the Adobe plugin for very large pdf files results in a stalling browser, sometimes for minutes.
    Switching over to the external Adobe Reader in the mimetype settings works ok, but only for the current session.
    After restarting the browser, the setting for pdf files is back to the Adobe plugin.
    Indeed, setting "Preview in Firefox","Always ask","Save file" is stored in mimetypes.rdf,
    but setting the external Adobe read is NOT.
    By now my workaround consists of deactivating the Adobe Plugin; then pdf files are always opened with the external Reader.
    But i would like to know how comes that setting external apps to read pdf files is NOT stored in the settings and therefore lost when restarting firefox.
    Anybody know why that is ? bug or feature ?
    Regards,
    Gaston

    Hello,
    In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
    #Click the menu button [[Image:New Fx Menu]] and click Options (for Linux and Mac Preferences) button.
    #In the Options (for Linux and Mac Preferences) window, select the ''Applications'' tab.
    #In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
    #On the right hand side you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Works for Cell, Not for Computer

    My Gmail address works fine on Droid, but only partially on my Mac. On my cell I can send and receive. On my computer the Gmail only works on send, not on receive. Mail makes it clear that my outgoing message cannot be sent because a connection can not be made with my Gmail server (pop.gmail.com). None the less the email goes through to the intended recipient. Email initiated on my cell addressed to my Gmail address is only received on my cell. Connection Doctor says Outgoing server is connected, and that Incoming is not. Gmail address had previously worked on Mail. It stopped.
    I have tried every nuance in the Mail Gmail settings, to no avail. It is impossible to get any guidance from Google, and from Apple Mail for that matter (from previous experience). Any ideas?

    Thanks for your thoughtful reply. No improvement. In addition to Gmail address, POP and Smtp addresses now show as unconnected in Connection Doctor.
    Verizon set up my Gmail address on my cell, and the Gmail address appeared on my computer without my having to enter any information. Is Google Account password and Gmail password (necessarily, always) the same? How do I access my Gmail settings in Google account?
    Would it be simpler for me just to go back to Verizon and have them set up a new Gmail address, cancel the original account and give me in writing all of the information?

  • $LS_COLORS stopped working (for user, not for root)

    Good day.
    Some time ago,  "ls" stopped paying attention to my color settings when coloring output for my user, while still working for root. For both root and my user, I set $LS_COLORS through ~/.bashrc as "eval $(dircolors -b)" but while this works fine for root, it at some point stopped working for my user, simply since the "eval" doesn't seem to work anymore. That is, what could be the reason for the below behavior?
    (note: I also have colored ls output without $LS_COLORS; just not the colors that I want, and which root does have).
    ===
    [rene@e600 ~]$ echo $LS_COLORS
    [rene@e600 ~]$ dircolors -b
    LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:';
    export LS_COLORS
    [rene@e600 ~]$ eval $(dircolors -b)
    [rene@e600 ~]$ echo $LS_COLORS
    [rene@e600 ~]$
    ===
    bash is 4.2.045-5 (coreutils is 8.21-2)
    Regards,
    Rene

    I happens to have the same problem of yours after logging in to Gnome but i didn't test for root.
    I've followed what comment #40 says at
    https://bugs.launchpad.net/ubuntu/+sour … bug/549727 and the problem
    seems to gone.
    try removing ~/.gconf/desktop/gnome/peripherals/touchpad ?

  • How to create requirement for BOM, not for its components?

    Dear gurus,
    I have never worked in PS module before. Now I have the following task:
    There is Project, Network and WBS. I inserted material for operation in WBS and exploded the material.
    Now the system must create requirement for this material but NOT for components of BOM. How can I configure the system?
    P.S. We don't use MRP and we can't change Material Master Data.
    Edited by: Azat Fayzullin on Dec 8, 2009 12:44 PM

    Have you read SAP help on PS
    also check this forum for similar posts
    If you have never worked on PS module I am not sure if you will be able to configure the system
    please attend some courses in PS from your local SAP academy course names are PLM200, PLM210, PLM220, PLM230, PLM240
    for your specific requirements I would recommend PLM200 and PLM220

  • Java API or Web Service for PDF generator for PostScript?

    Hello Guys,
    We acquired the evaluation version of the LiveCycle PDF generator for PostScript software and are in the process of acquiring information regarding the web-service / java api option but we can't seem to find extensive documentation or sample code.
    The provided documentation gives some information on the different methods that can be used for web service but nothing extensive on how to use them properly in context. The documentation mentions java code samples on the developer ressource but I can't seem to get my hands on anything useful.
    I looked around for quite some time on the developer ressource site but I must say it is not very easy to use. We are buried under a ton of useless information and the search functionality doesn't seem to yield interresting results.
    Are we missing something obvious?
    Regards
    Jeff Michaud

    Hi Jeff, I am in the exact same situation... I've been trying to find a document, just an overall user guide for the tool... nothing.
    Even on the phone no one was able to answer me where that doc was. Does it exist?
    Has anyone found a doc containing the information describing the APIs and on how to use the Web Services? Jeff, did you find something usefull yet?
    Thanks!
    Pierre-Yves

  • Call method http_client- response- get_header_fields for PDF and for TIFF

    Hi,
    I am using a Function Module..
    APAR_EBPP_GET_INVOICE_DETAIL to display the TIFF images on the Biller Direct side.
    The above function module is used to retrieve the PDF documents from the document repository.
    In Similar way I am trying to do the TIFF Images too.
    But in this method
    call method http_client->response->get_header_fields
        changing fields.
    For PDF the table fields is as follows
                NAME                                       VALUE                                  
        1     ~response_line----
    |HTTP/1.1 200 (OK)                         |
        2     ~server_protocol----
    |HTTP/1.1                                  |
        3     ~status_code----
    |200                                       |
        4     ~status_reason----
    |(OK)                                      |
        5     content-length----
    |7136                                      |
        6     content-type----
    |application/pdf                           |
        7     server                                |Microsoft-IIS/6.0                         |
        8     x-powered-by                    |ASP.NET                                   |
        9     date                                 |Tue, 24 Feb 2009 18:09:35 GMT             |
       10     connection                       |close                                     |
    For TIFF the table fields are as follows:
        1     ~response_line----
                   |HTTP/1.1 500 (internal server error)        |
        2     ~server_protocol----
                 |HTTP/1.1                                    |
        3     ~status_code----
                     |500                                         |
        4     ~status_reason----
                   |(internal server error)                     |
        5     content-length----
                   |105                                         |
        6     content-type----
                     |text/plain                                  |
        7     server----
                              |Microsoft-IIS/6.0                           |
        8     x-powered-by                 |ASP.NET                                     |
        9     date                         |Tue, 24 Feb 2009 18:26:39 GMT               |
       10     connection                   |close                                       |
    The error message is Internal Server error..
    This is in HTTP2_Get Function Module.
    What would be the reason for HTTP/1.1 500 Internal Server error.
    Any suggestions are welcome..
    Thanks,
    Chaitanya

    Hi Niranjan,
    can you please check if you have imported the whole chain of certificates. Certificates usually diplayed in 3 levels in the Explorer. like
    Verisign - L1
    >>> Versign--  L2
    >>>>>>>>>>>>XYZ.com -- L3
    Extract all the 3 certificates and Put in Strust and do exit soft and hard in SMICM and restart the service.
    Its better to create a RFC destination of Type H and Do the Connection test for HTTPS configuration. If the connection test comes OK then u can be sure of the configuration.

  • Users group for View not for publish

    Hi guys,
    Does anybody can tell me how can I creat users group for view
    and not for publication?
    It's something like to create Contribute roles, but is not
    related with the permission levels to publish, but with the
    visualization permissions for exclusivy content, for ex.:
    Home (open for all users)-------- IT Dept--------Directory
    Dept ---------Support Dept
    - Johny - Johny - Joseph - Isaac
    - Jack - Jack - JJ - Jason
    - Rose - Rose - Robert
    - Joseph - Lisa
    - JJ
    - Isaac
    - Jason
    - Robert
    - Lisa
    Please somebody help me, It's very, very important!!!
    Thanks in advance for who can help me.
    San.

    Sandra Bercke wrote:
    > Hi guys,
    > Does anybody can tell me how can I creat users group for
    view and not for
    > publication?
    > It's something like to create Contribute roles, but is
    not related with the
    > permission levels to publish, but with the visualization
    permissions for
    > exclusivy content, for ex.:
    >
    > Home (open for all users)-------- IT
    Dept--------Directory Dept
    > ---------Support Dept
    > - Johny - Johny - Joseph
    > - Isaac
    > - Jack - Jack - JJ
    > - Jason
    > - Rose - Rose
    > - Robert
    > - Joseph
    > - Lisa
    > - JJ
    > - Isaac
    > - Jason
    > - Robert
    > - Lisa
    >
    > Please somebody help me, It's very, very important!!!
    >
    > Thanks in advance for who can help me.
    >
    > San.
    >
    You cannot restrict on the users to view a particular folder
    (say IT
    dept) using contribute. Infact there is a setting in IIS
    Webserver which
    allows you to set an Authentication mechanism where users
    when browsed
    to any site on your webserver will be prompted for username
    and password.
    But you might want to try something like this.. not sure if
    this will
    help you...
    1. Create 4 connections in contribute
    a) first connection to "Open for all users" directory on
    your webserver.
    b) second connection to "IT Department" directory on your
    webserver.
    c) third connection to "Directory dept"... etc
    2. This way you can administer 4 sites and send connection
    keys to them
    accordingly...
    Hope this helps.

  • Ready for Sale / Not for Sale

    My book has been in ready for sale status on iTunes Connect for a month now—but not for sale in the iBookstore.
    I've sent 5 queries via iTunes Connect support as to why my book isn't in the iBookstore with no acknowledgement or response.
    Any suggestions are appreciated.

    That's the problem. There is no way that I can find other than through iTunes Connect.
    Thanks anyway.

Maybe you are looking for

  • How to convert xslt file into string

    i'm writting a java program to use xslt to transform the xml file. i'm encountering the problem when i try to convert the xslt file into string. i've defined my utility class called 'XmlUtil' to carry out the operation of transform xml file through x

  • When connecting iphone to computer iphoto always loads

    When connecting iphone to my computer iphotos always loads on top. how do I stop iphotos from loading

  • Do need RA in MTO?

    Hello Gurus    In Make-To-Order,  use valued sale order stock and sale order carry cost and revenue. I need Result Analysis?  If required, what is the process flow? production order only perform wip no settlement? Please help me,thank you.

  • How to Join 2 tables if datetime diff is within range?

    Hi, problem figuring out how to join tables if the datediff ? is within range.   There are 3 tables  a main table then 2 sub tables, these are measurements with a date/time value.  Im trying to take the datetime entries from the 2 sub tables and matc

  • Can't connect to wi fi at home.  All other pc's, iphones etc. can.  Also I can connect at work.

    I have newer Mac book pro, running OS X Lion 10.7.5.  I can't connect to my home wifi.  I can connect at work.  All other computers and devices ar able to connect here at home.  I have read several forums and tried all options with no luck.  I'll lis