IDCS6 Mac - Transforming in a document whose size has changed...

In one of the plugins I am porting to CS6 I have this code that works in all earlier versions of InDesign:
TransformInnerPointToPasteboard(PageGeometry, &StartPoint);
TransformInnerPointToPasteboard(PageGeometry, &EndPoint);
The context:  I am creating a box for text.  The box lays mostly off of the document on the pasteboard.  It will contain processing information for all the prepress gang to review as they edit the submissions from our customers. 
The problem:  If the document size has been changed, the box is not placed correctly.  I have monitored the coordinates that are supposed to be calculated prior to the Transform call and they are correct.  If the document size has not changed, the box appears where expected.  If the document size has changed at any time, the box is moved upward and to the right several picas. 
Is there a new step I need to be taking in order to force the program to use a refreshed transform matrix? Or is this a bug within CS6?
R,
John

@Colly –  sometimes we use descriptive variables to illustrate something. The "my" in the name is always an indication, that a variable is in play, that has to be defined elsewhere… We could debate now, if that is "good style" or not, but no. I don't do that right now ;-)
It's kind of "dummy" code and not meant to work immediately.
In the case of "myDocument", you could use an additional line of code to define the variable "myDocument" at the start of the snippet and leave all other incidences of "myDocument" unchanged in the code:
var myDocument = app.activeDocument;
or you work with index 0 in an array like fashion:
var myDocument = app.documents[0];
or in a collection like fashion ("documents" is a collection of single document objects, and if you want to point out that to you, use the following syntax):
var myDocument = app.documents.item(0);
or you could have worked with the name of an open document (amongst others):
var myDocument = app.documents.itemByName("MyDocumentName.indd");
There are other examples as well…
Uwe

Similar Messages

  • DBACOCKPIT storage information update when filesystem size has changed

    Hello Experts,
    I'm playing around with db2, linux and virtualization...
    I reduce the file system size where the /db2 is mounted on. Problem is that TC dbacokpit shows the same information under space->automatic storage -> summary  as before the file system was reduced. I understand that with automatic storage DB2 will grow as need, but
    what happen when file system is shrunk ??
    do I have to do something in order to have dbacockpit to show accurate informating regarding the real available space in the file system once its size has changed?
    is there any danger on having dbacockpit reporting wrong available space on the file system?
    thank you

    Hello,
    Validate if standard job SAP_COLLECTOR_FOR_PERFMONITOR is scheduled hourly, if not, schedule it in client 000 with DDIC user. Review logs too, maybe there is an error shown in job logs.
    Also, you should take a look to SAP Note 1508792: "Refresh does not work in DBACockpit" or  SAP Note 1002840: "No data or obsolete data in DB Space Statistic monitor" may be helpfull too.
    Best regards,
    Isabel

  • Only my email font size has changed....it's gone smaller while everything else including ads is normal size. How do I change it back to 12 pt type?

    twice in the past few weeks the font size on my email has changed smaller. The first time it went from 12 pt type to maybe 10 pt type. Last night while I was chatting on Yahoo with our daughter, it went down to maybe 2 pt type. I couldn't find a way to change it back. This morning I opened up the computer to try to work on it again and the font size was maybe 1/2 pt type. The words look like little squiggles on the page. Both my email addresses on Yahoo have reacted the same but the ads to the right of the email on the mail page remain the same size. If I open up another window, and say go to foodtv.com, everything is normal size. I have opened up Safari and gone to my email and everything is normal szie so the problem is the Mozilla. I have also called ATT and gotten help and they couldn't help as it's definitely a Mozilla problem.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • My default print size has changed to 130%.  I have tried everything to change it back to 100%.  Any suggestions?

    My Mac Mail default print size has somehow changed from 100% to 130%.  I have tried everything to change it back to 100% with no resolve.  Help!

    I'm using Tiger right now, but I believe Leopard is the same. Select Page Setup from the Menu. Input 100% in the Scale block. Then at the top of the Page Setup window, click the arrow on Settings & change from Page Attributes to Set As Default.
     Cheers, Tom

  • Hi can some one please help my screen size has changed its self  and is now larger than the screen can someone please let me know if this is a bug? if so how do i fix this? or am i just a nonce? if so how do i resolve this thanks in advance.

    sorry Q is in the tittle having big issues with my screen so its hard to use

    Apple menu -> System Preferences -> Displays
    Apple menu -> System Preferences -> Universal Access
    are both places where screen size may change inadvertantly.  Use higher resolutions, but lower screen zoom.

  • Date Picker Size Has Changed

    Recently the size of our data pickers has changed. The length of the date picker is now the size of the window.
    Has anybody else experienced this and how did you resolve it.
    Cheers
    Gus

    Hi Gus,
    Did you recently just upgrade APEX? Or perhaps did you include some custom CSS (which is overriding the CSS for the date picker)?
    Or perhaps have you upgraded your browser (or switched to a new browser)?
    Things don't just change for no reason ;)
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd

  • Since upgrade to CC 2014 Saving size has changed.

    When I was working in Photoshop before my upgrade to 2014, I would resize my projects to 2 X 2 at 300dpi, and 9 or 10 and it would save it around 240K or slightly higher. All of a sudden it's saving it as 1.0M instead. I can't load this size into my store. I have no clue what happened, as I have not changed a single thing that I do. My original 12 X 12 files that it starts out as has changed to. Please help. No clue what the heck happened.

    jahmanrv wrote:
    All of a sudden it's saving it as 1.0M instead. I can't load this size into my store. I have no clue what happened, as I have not changed a single thing that I do. My original 12 X 12 files that it starts out as has changed to. Please help. No clue what the heck happened.
    JPEG format uses lossy compression and the file size is highly dependent on the image content. It sounds like you are using JPEG original files since both the original and resized JPEG export files are larger. Images with more detail will have larger file sizes at the same quality setting. Here are some good examples:
    http://regex.info/blog/lightroom-goodies/jpeg-quality
    In addition images shot at high ISO camera setting that have visible noise will inflate the file size. Use PS/ACR or LR's Noise Reduction tools to reduce the visible noise when viewed at 1:1 Zoom. This will help prevent the noise from inflating the Exported JPEG file size.

  • How to find out if file contents under some document library SPListItem has changed

    hi,
    I am building a Sync tool which will Sync SharePoint document library to some other service(e.g. FTP). I have added event handlers on the document library for ItemAdded, ItemUpdated etc.. etc.
    Now i have one problem, when ever a file is updated (either custom properties and/or file content) then there is no way to check if its updating of content or custom fields. So everytime i need to upload my file to that FTP location. I want to get some indication
    that this time file content is updated not the custom fields, or file content with custom fields are updated.
    I have checked After and Before properties but its of no use. When ever you rename a file or just open the edit dialogbox and save it without updating any thing, all after and before properties are same :(
    Need some solution for this, any help suggestion is appriciated.
    Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA

    Sorry for late reply.
    1st link (storing file hash/MD5) is not a solution for me as i have many Office documents
    2nd link doesnt have nay answers
    Archive Folder is not a solution. How can i find if current item SPFile has content changes?
    I already have my custom fields with each SPListItem. How can i find in itemUpdating/ed that if file content is changed? to make my custom field ture?
    Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA

  • Elements 6/Bridge - Image size has changed

    I used to open an image in Bridge and it would appear actual size in the center of my screen.  Now, it open s  to the left and smaller.  How can i fix?  Thank you.
    Adonnah

    Window>Workspace and click around till you find the option you've been using.

  • Grid size has changed in ACR

    In ACR (CS6), when you rotate a crop to straighten a picture, a grid appears to help you get horizons straight. I've noticed that for some reason that the grid looks much finer than normal - see here:
    Beforehand it used to look like this:
    How do you revert the grid so it looks the same in the second image?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    mikeengles wrote:
    As computers become more powerful and memory is so cheap and plentiful, the trend will eventually mean that all compositing and  processing will be done on RAW images.
    I don't see why that has to follow, but I'm clearly not thinking like everyone else.  I see Camera Raw as a means to get great data into Photoshop proper for editing.  Why reinvent the wheel?  Photoshop works.  I'll be the first to say, however, that Adobe has left a number of things alone that they should have updated - functions and filters that only work on 8 bit per channel data, for example.  Perhaps they see the trend as you do - no need to work on that antiquated stuff when everyone's looking to metadata-based operations in the future.
    I think it'll be quite a few years before computers are powerful enough to process all the metadata needed to represent an end-to-end editing session in real time, though.  And so it will remain most interactive to edit RGB pixels for the foreseeable future.  Note the threads around here, for example, where people complain how sluggish Camera Raw has become.  And just try editing an image that's got a stack of smart filters of any significant size.
    The modern GPU can crunch through a lot of graphics data in an eyeblink.  I hope I'm wrong about how long it will take to get GPUs working directly on the task.
    -Noel

  • Mac OS X 10.5: User folder has changed into a Package file

    So I've seen a few posts about Desktop becoming a package, but I've been living with my entire user account as a package for several months. I've checked permissions, run disk utility, and removed any .DS_Store files I could find all to no avail. If need be I can format and reinstall, but would prefer to just get this resolved. Any ideas on how to fix this?

    Thanks for the help. As I started looking at the directory more closely I noticed it had an 'at' (@) symbol next to the permissions list. Anyway, turns out it was an extended attribute, the following thread is what I used to fix the problem:
    http://discussions.apple.com/thread.jspa?messageID=5791060

  • Items outside of Document Setup size don't appear in PDF

    I have a document which I'm saving as a PDF with Preserve Illustrator Editing Capability selected. When I open this PDF in Acrobat critical elements just outside of the Document Setup size are not showing up. These are critical for the production but unless they are physically touching the Document Setup boundary they disappear from the PDF. How can I get these marks  and other elements to stay in the PDF side of the document without increasing the document size?
    MAC OS 10.5.8
    Illustrator CS3

    Can you post a screen shot I am not certain I understand what you man by essential objects?
    Here I just duplicated the art board and put some extra text on the second artboard and all the marks were on the first and second page of the pdf.
    I don't say you don't have a good point but what I think they should have is a feature like ID but that can be included in the pdf which is a library
    similar to the symbols panel that you could perhaps access fro acrobat for placement but what one can do is to put essential content on a layer and turn it off and export as a pdf as 1.8 acrobat compatible and when opened in Acrobat you can access that content in Acrobat by turning on the layer.

  • Are the apple wireless keyboards and mac book pro keyboards the same size?

    Are the apple wireless keyboards and the mac book pro keyboards the same size? I have the most current wireless keyboard and I use it with my iPad. Thanks in advance

    I took it to the same shop where i purchased they sent it to the apple
    service centre and it is a week and no one informed me abt the problem
    or the action on it.
    We are mainly just users to users here, and sometimes a Apple folk will respond, but it's just a direction to a Apple support document, no service or account issues are handled here.
    Will they replace the mac book pro as it is still in warranty
    We don't know what Apple will decide to do in your case, the best source of information is the shop you brought it to.
    They might be in the process of fixing it, or they might be deciding they need to keep your machine for investigation.
    Apple will take care of you, make sure you buy AppleCare and a external drive for TimeMachine if you haven't already.

  • Pages App on Mac won't open documents created on iPad

    My pages app on my mac wouldn't open documents created on my iPad, it said that I needed to down load the newest version which I belive I had.  So I put it in the trash hoping I could re install but now I can't open it at all :-(

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • Can you use a Mac Mini to share documents between several devices? iPhones, MacBooks, iPads, etc...? We are a home based business with several locations across the state and are having Google Drive issues, looking into Mac Mini options.

    We are having Google Drive issues (some files won't sync) and it's causing us trouble with our business communication. Is there any way to use a Mac Mini to share documents between two people in different areas similar to google drive? Would this just be done through iCloud?

    If you use Numbers, Pages and KeyNote it si very easy to sync those document among all the Apple devices. You need montain Lion on the Mac  and at least iOS 5 on the mobile devices.
    I show those document on my Mac, iPad 4 and iPhone 4S

Maybe you are looking for

  • Using Oracle SP to get data

    Hello, We have a simple need to load all data from a master table into an object in Java. We have written a simple query in Oracle and created a SP with a Ref_Cursor to return the data like below. The underlying table has 500,000+ records. If I run t

  • "itunes was unable to load data class information..."

    Hi everyone, When I connect the iphone to my computer, the itunes recognize the iphone but it is thinking and after a few minutes the itunes drop me the following message: "itunes was unable to load data class information from sync services reconnect

  • IMovie HD to FCP HD

    iMovie HD imports my HDV footage from my new Sony HDR-HC7camera, whereas my current version of FCP HD does not. (I hear rumours that FCP 6 is about to be released, so I'm waiting to upgrade my FCP HD software from 4.5 to 6) In the mean time I am sear

  • Photoshop CS6 Installer Won't Launch on Mac OS 10.8.2

    I've downloaded the Photoshop CS6 disk image but when I open it and then double-click on the installer to launch that, there is no response. I've tried the suggestions in this help document but have had problems with that as well: http://helpx.adobe.

  • USB port stopped working in macbook pro

    Hi, i bought a macbook pro, OS X lion, version 10.7.4 a month ago. one of my USB port suddenly stopped working. i am a new mac user, so i have very less idea about mac. i would appreciate if someone could give me step by step solution to this problem