Resizing the Document window to predetermined size

Hopefully this is just a quickie... Have just defined a site
and am about to start afresh and wanted to change the page size to
760 x 420 as reccomended. However, have gone to change this in the
pop-up menu at the bottom and all the sizes are greyed-out (have
even tried to determine my own size - but that's greyed out too.
I am stuck on one size only (1018 x 497) Is this due to my
own screen size??? Should I just continue working to the parameters
I have set with guides?

1. You cannot change those items at the bottom of the page
until you have
unmaximized the document pane in DW. But don't bother
because,
2. Changing that value does nothing to your page other than
to show it in a
reduced size window. It adds no code to the page.
If you want your page to be 760px wide, then that's how wide
you make the
widest element on the page. Don't worry about trying to
control the
height - you cannot conveniently or reliably do that anyhow.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mccoole1" <[email protected]> wrote in
message
news:g16l5k$28r$[email protected]..
> Hopefully this is just a quickie... Have just defined a
site and am about
> to
> start afresh and wanted to change the page size to 760 x
420 as
> reccomended.
> However, have gone to change this in the pop-up menu at
the bottom and all
> the
> sizes are greyed-out (have even tried to determine my
own size - but
> that's
> greyed out too.
> I am stuck on one size only (1018 x 497) Is this due to
my own screen
> size???
> Should I just continue working to the parameters I have
set with guides?
>

Similar Messages

  • Drawing directly in the document window

    Can anybody provide sample code showing the basics of drawing directly in the document window? I'm thinking of something along the lines of the measure tool (pardon the pun).
    It looks like I'm supposed to use either the Annotator Suite or the Document View Suite to "invalidate" a rectangle in the document, followed by doing the actual drawing with the ADMDrawer Suite. But the documentation in this area is pretty sparse (for example GetDocumentViewInvalidRect and SetDocumentViewInvalidRect refer to a "fudged" invalid rect without explaining what that is) and I don't see anything in the Sample Code folder that explains this feature.
    Are the little text annotations ("path" "anchor") that pop up when using Smart Guides done using this method?
    Thanks,
    John

    (Sound of crickets chirping...)
    Boy, this forum is awfully dead in comparison to the InDesign SDK forum. Is no one writing Illustrator plug-ins anymore?
    But hey, I'll keep posting, if only for my own amusement, about my saga of writing a plug-in.
    I figured out some of the annotation stuff, but I'm still puzzled by some things.
    I started by simply trying to create a tool which would carry a 100x100 box around with it when moved on the screen -- no clicking or dragging yet -- much as the symbol sprayer, for example, has a nice circle (albeit of varying size) around it. I created the tool and added it as an annotator. When it receives a kSelectorAITrackToolCursor message, it simply captures the cursor location in a global and sets the PlatformCursor. When the tool receives a kCallerAIAnnotation message, I have this code:
    extern AIErr toolAnnotate( AIAnnotatorMessage *message ) {
        AIErr error = kNoErr;
        error = sView->ArtworkPointToViewPoint( message->view, &g->cursorPoint, &g->cursorPointScreen );
        g->annoBoundsScreen.top = g->cursorPointScreen.v - 50;
        g->annoBoundsScreen.bottom = g->cursorPointScreen.v + 50;
        g->annoBoundsScreen.left = g->cursorPointScreen.h - 50;
        g->annoBoundsScreen.right = g->cursorPointScreen.h + 50;
        ADMDrawerRef dr = sADMDrawer->Create(message->port, &g->annoBoundsScreen, kADMPaletteFont);
        ASRect myRect;
        myRect.top = 0;
        myRect.bottom = 100;
        myRect.left = 0;
        myRect.right = 100;
        sADMDrawer->SetDrawMode( dr, kADMXORMode );
        sADMDrawer->SetADMColor( dr, kADMBlackColor );
        sADMDrawer->DrawRect( dr, &myRect );
        sADMDrawer->Destroy( dr );
        sAnnotator->InvalAnnotationRect ( message->view, &g->annoBoundsScreen );
    This (should) convert the cursor location (in artwork coordinates) to screen coordinates, set the annotation boundaries based on this location, create the drawer reference, and draw the 100x100 rectangle within this reference. Finally, it invalidates this rectangle as per the Annotation suite documentation.
    I fired up the tool in Illy 10 and saw a single box created down at the 0, 0 point on the page. No box followed the cursor. Hmm. I added an sADMBasic->Beep() to the annotation code and realized what was happening -- my tool was getting an annotation message when first selected, but none when it was merely moved around the screen.
    After some futzing around I discovered that if I added a call to sView->SetDocumentViewInvalidDocumentRect in the TrackToolCursor code, I got an annotate message every time the mouse was moved! I captured the previous cursor position and invalidated the rectangle 50 points on all sides from it. and tried again. Success -- partially.
    At this point, the cursor could be moved around with the box following it. It suffers, however, from the following bugs:
    1) The SetDocumentViewInvalidDocumentRect is in artwork coordinates and so only works at 100% or greater. If I zoom out, my little box leaves trails all over the screen. In addition, if I zoom in, the cursor stutters noticeably -- I assume because Illustrator is forcing a redraw on large portions of the document. I think I can fix both these bugs by recalculating the SetDocumentViewInvalidDocumentRect into screen coordinates. However I note that the circle of the symbol sprayer can be made huge -- as large as the screen -- and it still moves smoothly. So maybe calling sView->SetDocumentViewInvalidDocumentRect is not the way to force annotations. But I haven't been able to discover another way.
    2) When the mouse moves into a palette, the square remains "hung up" at the last position where the cursor was in the document window. I think I can fix this by utilizing the Suspend and Resume notifiers and doing one last InvalAnnotationRect when I get the Suspend notification.
    3) For fun I tried clicking and dragging. Bad news. If I do this, thereafter the entire Illustrator window only redraws iself in the small rectangle that was set when I created the drawer port. By chance I found that if I use another tool that annotates such as the pencil *before* I use my tool, then everything is fine (although of course the box doesn't follow the cursor around anymore because my toolMouseDrag code is empty). How is using a previous tool "fixing" my code? I don't understand this one at all.
    Anyway, I suppose I could fork over a wad of cash and join the ADN and purchase a support case -- but hey, I'm just a hobbyist messing around at this point and facing some rather crappy documentation. Any tips will be much appreciated.
    John

  • I can't resize the reply window in Mac Mail

    My mail is working fine.
    If I write a new email it all looks okay.
    If I reply or forward an email the window is so wide it would stretch maybe 3 times the width of my screen, so if I want to use any of the tools in the top right toolbar I have to drag the window across.
    I can resize  up and down to make the window taller or shorter but I can't make it fit onto my screen widthways.
    I have rebooted, hit zoom and now I'm stumped.
    Any suggestions?
    Thanks

    Such a simple fix and I spent over an hour on this:
    http://www.adobepress.com/articles/article.asp?p=1930509&seqNum=3
    This is the part that helped me in case anyone goes nuts trying to figure this out. (#2 solved my problem):
    Working with the application window on Mac OS
    In Normal screen mode on Mac OS, resize the application window by dragging its lower right corner.
    Click the green Zoom button (), located beside the Close and Minimize buttons at the left of the title bar. The application window expands to fill the screen. Click the Zoom button again to return to the previous window size.
    Reposition the application window on your screen by dragging the title bar.

  • Is it possible to make the document window not to hide behind the palettes?

    Is it possible to make the document window not to hide behind the palettes (layers, paths etc) like in CS5? For instance if I want to make a correction in the right part of the image and zoom in, the window expand under the different palettes and I can no longer see the area which I want to correct without change the document window size. I don't want to use the Photoshop application fram because then I can't see stuff in other applications ID, mail an so on. 

    I have written about how to control various font sizes in Thunderbird here:
    http://www.ramsden.org.uk/9_Type_sizes.html
    Generally, you shouldn't need to zoom; you can pre-set the display of message text.
    To get straight to the point, you should probably try the https://addons.mozilla.org/en-us/thunderbird/addon/theme-font-size-changer/ add-on to address issues with the size of the message list font.

  • Resizing the dailog window.

    Hi guys,
    I tried to resize the dailog window, but its not working. correct me.
      lo_window->set_window_size( width = '40%' height = '5%' ).
    Regards
    Srinivas

    Hi Srinivas,
    I think in your case that is not possible. You have to code to set window size.
    Please check this...
    Re: Size of the PopUp
    Re: Howto define size of popup window with view?
    Try this... it might works.
    Declare one attribute say proposal_popup  of associate type IF_WD_WINDOW. And call  set_window_size method.
    CALL METHOD WD_THIS->PROPOSAL_POPUP->SET_WINDOW_SIZE
    EXPORTING
    WIDTH = '200'
    HEIGHT = '200'.
    Cheers,
    Kris.

  • Why does the document window in illustrator cs6 move to the far left when I reopen the file?

    why does the document window in illustrator cs6 move to the far left when I reopen the file?

    Hi John,
    thanks for the fast response.  cs5 remembered the window position.  I like having the window in the middle as I have a 27" monitor.  I just upgraded to cs6 yesterday and I'm sure it was remembering the window document position.  I think.  If i find out how to fix this, I'll post it here.
    And while I'm on the subject of cs6, why the f*** did adobe combine the stroke and swatches pallettes?  Now I forever have to click stroke and swatch tabs all day.  And I love the army and navy file icons of photoshop and illustrator.  I won't comment on Acrobat X.  ; (

  • Scroll the document window to a specified graphic object

    Hi,
    anyone knows  a way to scroll the document window to a specified graphic object?
    I've tried with F_ApiScrollToText() function, but it works only with object containing text, and a graphic object ( like a line) doesn't contain text...
    Thanks in advance.

    Hi Stemen82,
    I have dealt with this in the past and found it to be a bit complex. I've pasted below the functions I came up with to do it. Note that:
    - I'm not sure that it works in all cases. Because there is no direct FDK function to do this, you really have to monkey around with things to get it done.
    - The code I've pasted should handle both anchored frames and graphic objects, including "floating" graphics. Anchored frames are actually a bit more straightforward because you can get the text location of the anchor.
    - All the comments in the code are "notes to self." That is, I didn't write them for you   However, they should be of some use to you.
    - There may be plenty of other, better ways to do this... this is just what I slapped together to get the basic functionality to work.
    Russ
    //THIS IS REALLY ONLY GOOD FOR ONE LEVEL OF NESTING,
    // ie, one graphic in one anchored frame, in a text frame.
    // No testing or implementation for anything else at this point.
    //If you don't know whether the object is a graphic or an anchored
    //frame, you can send it as the graphic ID and the function will
    //figure it out.
    // So, either send a graphic ID as graphicId,
    // a frame ID as graphicId, or both graphic and frame IDs.
    // Don't sent just a frame ID as frameID.
    VoidT ws_SelectAndScrollToGraphic(F_ObjHandleT docId,
                                      F_ObjHandleT graphicId,
                                      F_ObjHandleT frameId)
      F_ObjHandleT aFrameId = 0,
        textFrameId,
        graphicPageId,
        currentPageId,
        tempGraphicId;
      IntT objectType,
        alreadySelected = False;
      F_TextRangeT tr;
      if(!docId || (!graphicId && !frameId)) return;
      //let's get the page. We might need it for scrolling and
      //maybe to switch to the correct page type
      graphicPageId = ws_GetPageForGraphic(docId, graphicId);
      //So far, two possibilities here, either an anchored frame somewhere in the object hierarchy or not.
      //If there is no anchored frame, we have to guess based on pages and paragraps.  If there is one,
      //we can jump to the anchor.
      //let's start by looking for an anchored frame if one was not sent
      if(graphicId && !frameId)
        objectType = F_ApiGetObjectType(docId, graphicId);
        //if we actually got an anchored frame, we will store the ID.
        if(objectType == FO_AFrame)
          aFrameId = graphicId;
        //otherwise, let's look above to see if there is an anchored frame
        else
          aFrameId = F_ApiGetId(docId, graphicId, FP_FrameParent);
          objectType = F_ApiGetObjectType(docId, aFrameId);
          if(objectType != FO_AFrame)
            aFrameId = 0;
      //at this point, if we have an anchored frame, scroll to it
      if(aFrameId)
        //let's switch to the appropriate page type, only if necessary
        //we'll do that by simply switching to the first page of that
        //type in the doc before the scroll action
        currentPageId = F_ApiGetId(FV_SessionId, docId, FP_CurrentPage);
        if(F_ApiGetObjectType(docId, graphicPageId) != F_ApiGetObjectType(docId, currentPageId))
          if(F_ApiGetObjectType(docId, graphicPageId) == FO_MasterPage)
            currentPageId = F_ApiGetId(FV_SessionId, docId, FP_FirstMasterPageInDoc);
          else if(F_ApiGetObjectType(docId, graphicPageId) == FO_RefPage)
            currentPageId = F_ApiGetId(FV_SessionId, docId, FP_FirstRefPageInDoc);
          else
            currentPageId = F_ApiGetId(FV_SessionId, docId, FP_FirstBodyPageInDoc);
          F_ApiSetId(FV_SessionId, docId, FP_CurrentPage, currentPageId);
        tr.beg = tr.end = F_ApiGetTextLoc(docId, aFrameId, FP_TextLoc);
        F_ApiScrollToText(docId, &tr);
      //if no anchored frame (ie, just a floating graphic),
      //let's finangle with some paragraphs and pages and try our
      //best. There might be a better way.
      else
        // We have the page that the graphic is on, let's at least jump
        // to that page, maybe we can get a little closer later
        F_ApiSetId(FV_SessionId, docId, FP_CurrentPage, graphicPageId);
        //get the parent frame of the graphic which is hopefully a text frame
        textFrameId = F_ApiGetId(docId, graphicId, FP_FrameParent);
        //let's see if we can find a paragraph and scroll to it.
        tr.beg.objId = tr.end.objId =
          F_ApiGetId(docId, textFrameId, FP_FirstPgf);
        F_ApiScrollToText(docId, &tr);
      //now, let's do the selection. We'll unselect everything
      //that is selected, unless our graphic is already selected.
      tempGraphicId = F_ApiGetId(FV_SessionId, docId, FP_FirstSelectedGraphicInDoc);
      while(tempGraphicId)
        if(tempGraphicId == graphicId || tempGraphicId == frameId)
          alreadySelected = True;
        else
          F_ApiSetInt(docId, tempGraphicId, FP_GraphicIsSelected, False);
        tempGraphicId = F_ApiGetId(docId, tempGraphicId, FP_NextSelectedGraphicInDoc);
      if(!alreadySelected)
        if(graphicId)
          F_ApiSetInt(docId, graphicId, FP_GraphicIsSelected, True);
        else
          F_ApiSetInt(docId, frameId, FP_GraphicIsSelected, True);
    //Returns the ID of the page that the graphic is on.
    F_ObjHandleT ws_GetPageForGraphic(F_ObjHandleT docId,
                                      F_ObjHandleT graphicId)
      F_ObjHandleT tempGraphicId = 0,
        pageId = 0;
      while(graphicId)
        tempGraphicId = graphicId;
        graphicId = F_ApiGetId(docId, graphicId, FP_FrameParent);
      if(tempGraphicId)
        pageId = F_ApiGetId(docId, tempGraphicId, FP_PageFramePage);
      return pageId;

  • Expand the Document Window's Page Name Area

    In FW CS4, the area for the page name is too small.  It truncates my page names so that I can't tell them apart like this:
    Is there any way to expand that are where the page name shows up on the right of the document window toolbar?
    Thanks!

    That won't work if other users are to recognize what the pages are designed to do.

  • How to resize the itunes window in mavericks?

    How can I resize the itunes window in mavericks if the window is larger than the screen?
    Since the window is larger than the screen I cannot use the scroll-bar anymore properly...
    And since resizing is in the lower right corner that leaps out of the screen I can't resize it...
    any clues anyone?

    https://discussions.apple.com/message/16758346#16758346

  • Why doesn't the image show in the document window?

    I am a Photoshop CS5 begI have tried to look for what button I need to click. I can see the document name in the window but there is no image showing in the window. Getting bit frustrated. Please help.
    Thank you.

    Here's the shot of what I get.
    It will show in the layers. But nothing in the document window.

  • How do you have the help file .chm hold its window position when the user resizes the help window.

    One of my customers is complaining that the help contents will scroll out of view when the window is resized.  Is there a way to anchor the position while the window is resized?

    My CHM is a help file for an application. The application uses F1 to open specific topics for help.  Therefore the help file needs to be visible but not cover the application to much. The Content in this situation is text however the help project contains Images, tables, text, etc. 
    If the user searches for the word "audio" in the search and it takes them to a section or sub topic that is half way down in the Topic, they would like that section or subtopic to stay in the same place as they resize the help window.  Using Bookmarks if the topic is large enough clicking the search link will place the results in the top left of the doc view window, however this is not necessarily the top of the topic. 
    Im not sure how else to explain what the user is seeing, sorry.
    Please explain "Also whether it remains consistent depends on whether an absolute or percentage value has been added to it."

  • How can you stop slideshow from resizing the browser window iframe ?

    Does anyone know where the code is that causes the iweb slideshow to resize the browser window when it is opened?
    When it is placed on a page using <iframe src="http://homepage.mac.com/coreydee/slideshow/index.html" width="760" height="580" scrolling="no" style="border:none;" frameborder="0"></iframe> It resizes the browser window when it starts.

    Does anyone know where the code is that causes the
    iweb slideshow to resize the browser window when it
    is opened?
    When it is placed on a page using <iframe
    src="http://homepage.mac.com/coreydee/slideshow/index.
    html" width="760" height="580" scrolling="no"
    style="border:none;" frameborder="0"></iframe> It
    resizes the browser window when it starts.
    The iWeb .Mac slideshow, which you previously tried to add in an iframe, does have a function to resize the window. But it would not cause the whole window to resize, just page within the iframe so you would never know.
    However, the autoviewer one you are using should not do this.

  • Visual nodes not updating unless I resize the application window

    I'm not sure what has happened here but I can add new nodes and use my app as normal but there is no longer any change on screen to indicate modified nodes until I resize the application window!
    Once i double click the top of the app window sure enough I can see the new nodes that were added.. this is very frustrating.. Any ideas what this could be?
    I went back to an older version of my app and it is occurring with that also so it isn't new changes to the app. Is my javafx broken somehow?

    This is really weird... I reinstalled java, javafx, and netbeans and it didn't rectify the problem immediately. After a few days I came back to netbeans and tried the application and it was working properly. Without changing anything.
    Now again, I shutdown and restarted the PC and have come back to netbeans and the application will not update moved objects on screen unless you resize the window!
    This is really crazy... I literally had this application working perfectly for several days before I shut down my PC (I usually just sleep the computer for days on end until it needs a reboot).
    Restarted PC and the old problem came back... I'm running Windows 7 64 bit... Am I going crazy? I don't feel this is code related!

  • Is there any way to bring back the Documents window? [Android]

    I liked the Documents window in the previous version where all the PDFs of the phone was shown, plus theor source folder was indicated. Now, it's somehow troublesome to go through my phone's folders just to look for a certain file.

    Hi Leslie,
        Are you using an Android device or an iOS device? My understanding is that you are able to find local files on your device but it is painful without a consolidated list of PDF's. In addition, if you are using an Android device can you please share your Android OS version (Settings-> About Phone) with us.
    -Rahul

  • How to trap the document window activate event?

    Hi All,
    I am working with a plugin development application. My requirement is, at any time I may have more than one document opened. The plugin window what I have designed gets populated with data from the xml file attached with the current document. Therefore whenever I switch between the document window, I need the plugin window to be refreshed so that it will load/display the contents from the current xml file.
    For this I need to trap the activate document window event. So whenever a window is selected from the current list of opened windows, then the plugin should get refreshed automatically.
    Actually, I tried inheriting the CWindowEH class and I used the kDocWindowBoss class for the same. But the event is not firing as expected. Help/tips from anyone could be appreciated.
    Thanks in advance.
    JR.

    Hi, <br /><br />I don't think having observers on kDocBoss and kDocumentListBoss should be a problem. We do exactly that.<br /><br />Just running with a couple of break points in your code, do you hit the DocListObserver::AutoAttach and not the Update().<br /><br />If you don't hit the AutoAttach breakpoint then it's probably the resource is not set up right. Ours is like this..<br /><br />/** Observes document list actions.<br /> */<br />AddIn<br />{<br />     kDocumentListBoss,<br />     kInvalidClass,<br />     {<br />      IID_IMYDOCLISTOBSERVER, kMyDocListObserverImpl,<br />     }<br />},<br /><br />If you're getting to the AutoAttach but not the Update then it may be that you're not specifying what notifications you wish to receive.<br /><br />Our AutoAttach is like this..<br /><br />     do<br />     {<br />          InterfacePtr<ISubject> subject( this, UseDefaultIID());<br />          if (subject != nil)<br />          {<br />               if ( subject->IsAttached(this, IID_IDOCUMENTLIST, IID_IMYDOCLISTOBSERVER) == kFalse )<br />                    subject->AttachObserver(this, IID_IDOCUMENTLIST, IID_IMYDOCLISTOBSERVER);<br />          }<br />     }<br />     while ( kFalse );<br /><br />with equivalent DetachObserver code in the AutoDetach of course.

Maybe you are looking for

  • When switching from one page to another, browser timeouts and have to refresh

    I know I am antiquated, however, I have dial up still. I have never had this problem until recently. When going from one page (even in email) the browser does not load and I have to refresh or it will sit there giving no error and doing nothing. Rese

  • I downloaded a book on iTunes with my MacBook Pro and can't figure out how to open on my computer.  How do I do this?

    I downloaded a book on iTunes with my MacBook Pro and want to read the book on my computer.  Just can't figure out how to do it.  Do I need a program to read books on the MacBook first or is this something I can get in the app store? Any help is much

  • Bug Database for Sun ONE Studio 8

    Is there an online bug database for the Sun ONE Studio 8 Compiler Collection, like there is for all of the Java related tools? I know we have product support, but I don't want to go through the overhead of 4 or 5 layers of people to report a minor pr

  • Error in HTTP Server , OAS 10g

    Hi all, i'm not sure this is the right forum to post this question... i keep getting this error in HTTP Server of OAS10g middle tier: [Thu Jul 28 15:51:47 2005] [error] [client 10.42.48.237] [ecid: 1050719549026,1] MOD_OC4J_0080: After calling Apache

  • Remove phonenumber for user in spesific OU

    HI all, not a PowerShell guru,but found that i can run following command to SET officephone for every user in a spesific OU get-aduser -Filter * -SearchBase "ou=testou,dc=test,dc=net" | Set-ADUser -OfficePhone 555-555-1212 But i want to REMOVE Office