Restoring the window size and position of Disk Utility

I took my mac-mini to a memory upgrade this afternoon, and the guy, who was testing the new configuration of my mini, started, and changed the size of the disk utility window. I hate so much if someone tweaks my personal stuff/setting in their image so much, that I could explode! How can I restore it to the default size and position? I cannot find anything about this on the net, and this is the only setting, I could not restore.

I'm sorry, ignore that Applescript Snippet, use this one instead (make sure to open disk utility before you run it!):
tell application "System Events"
          tell process "Disk Utility"
                    set theSize to size of window 1
                    set theNiceSize to (item 1 of theSize) & "x" & (item 2 of theSize) as string
  display dialog theNiceSize
          end tell
end tell

Similar Messages

  • Software to restore apps window size and position after change in screen resolution

    I use a 27' iMac'10 with SL 10.6.8, running it at 2560x1440 screen resolution.
    Whenever I have to attend meetings via GoToMeeting or Webex and need to present, the resolution is too high, since most participants are on 15' laptops or even iPad's these days.  Therefore, I reset the screen resolution to 1600x900 for the time of the presentation.
    After the meeting is over, I reset the resolution back to 2560x1440.
    Problem: After the reset, all my apps are scaled and out of place, so I need to manually reset them to their original sizes and positions.  I use Divvy to make this a bit less painful, but still it's a manual chore.
    Is there any software out there that let's me restore my windows to the exact settings they were the last time before I changed screen resolution?

    I agree, the ability to remember window sizes and positions when switching between laptop and using the Thunderbolt display would be very useful.  It's like your Mac remembering the volume level depending on whether you have headphones plugged in or not.

  • InDesign forgets window size and position when opening

    PC with Windows 7, CS 2014.
    I set up Illustrator so that it does not open full screen (I have a 27" monitor) so that I can have panels permanently open around the edges. Close Illustrator and re-open it and it remembers the last set window position.
    InDesign remembers the position of the open panels but opens the main window full screen every time, and it's really annoying having to resize and reposition the main window every time I load InDesign.
    I upgraded from an earlier version of Adobe CS and that older version of InDesign remembered the window size and position. Why did this change?
    Can this be fixed please?

    From the InDesign top menu have you tried going to Window/Application Frame to put the application in it's own resizable frame? That will hold the window to the same size each time you open an InDesign file.

  • Finder windows size and position etc.  on clients' machines

    How to configure server's finder windows size and position etc. are on clients' machines so that they persist? Thank you!
    PS: If this has already been discussed, please refer to the thread. Sorry for double post in that case.

    Try connecting to the Share as the Server Admin, make your window the size and position you want and logout again.
    This information is stored in the .DS file.
    Message was edited by: Patrick Savelberg (Private)

  • [SOLVED] Windows Size and Positioning

    Hi, I'm having this problems with windows like those of Evince or Firefox or some others. The thing is they start not maximized but their size is so big that I have to move them with my keyboard a little bit so as to be able to resize them with my mouse. This is very annoying... is there a setting for Gnome to remember last time position and size used or at least start all windows with the same size and position???
    Thank you
    dysaint
    Last edited by dysaint (2010-05-14 16:51:53)

    Welcome,
    you could use devilspie to achieve something like that.
    Did you set the dpi?
    Regards,
    demian
    P.S.: You could use Openbox within your Gnome as Window Manager. It remembers Window sizes, uses sane defaults and can spawn Windows unter the mouse (among various other things).
    Last edited by demian (2010-05-14 16:15:27)

  • Some programs won't remember window size and position

    I have a couple programs, notably ComicNerd, that won't ever seems to remember window size or position from quit to restart. I can't seems to find any evidence other people are having the same problem with the program, so I assume it's something wrong with my computer. Anyone have any idea how I can fix this? Is there some permissions problem or something?

    It's likely a corrupted Preference file
    Look in your Users/Library/Preferences folder for  .plist file with ComicNerd in it and just move it to your desktop and restart the program/computer.
    The preference file should rebuild itself, so look for it and if it's in the Preference folder then delete the one on the  desktop.
    You also might want to run ALL the cleaning and maintenance aspects of the free OnyX and reboot.
    http://www.titanium.free.fr/
    the Verify > preference (show only corrupted) should also help locate other corrupted .plist (Preference) files for similar action like you did above.

  • Controlling window size and positioning in RH8 WebHelp

    Evening all,
    I've seen a post before about controlling the size and/or positioning or RH WebHelp windows, but I haven't been able to find it again.
    I'm generating WebHelp in RH8 and at this point am using the default skin and whatever default tri-pane and CSH windows RH chooses to use.
    Question is: how do I control the size and position of these windows? Or can I?
    I suspect they're set in a .js, but don't know which one. I know I can create new windows, and if I recall correctly, I can make one for CSH and one for the classic tri-pane help display. Is this how folks typically control the windows used to display RH content? Or do they muck about in the original .js files?
    Or, and this is the more likely, am I just being too anal-retentive about this and I should just let RH do its default thing and not worry about it?
    Thanks - I'm just a bit confused here,
    Patrick

    Hi Patrick
    If you aren't working with a programmer to connect your WebHelp to an application, you really don't have much control over the placement and attributes that are used.
    Note that when you create a project in RoboHelp HTML, you have an ability to create a WebHelp window with the desired attributes. But really, all that does is configure the way a window will open if you are using something called the "WebHelp API" to open topics. As you stated earlier, JavaScript is actually used by the API to open the window.
    Cheers... rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • My new Firefox ver 29 always starts maximized how do i set the window size and not maximized?

    I had reinstall my Windows 7 (win 7 pro 64bit)
    so i had to reinstall firefox as well, installed ver 27 and updated it to version 29
    now when i start firefox it will start maximized and i want to set the window size when it starts,
    why the size of the window will not change and it will start maximized all the time?

    # In Firefox, type ''about:support'' into the address bar and press Enter.
    # Click the Show Folder button. A Windows Explorer window opens.
    # Right-click the Firefox taskbar icon and choose either Close All Windows or Close Window.
    # In the Windows Explorer window that opened earlier, delete the ''localstore.rdf'' file.
    # If you have Firefox pinned to the taskbar, right-click the taskbar icon, then right-click the Firefox icon in the menu that pops up and choose Properties.
    #* If you have a desktop shortcut, simply right-click it and choose Properties.
    # Click the Shortcut tab in the Properties window.
    # Make sure Run is set to "Normal window".

  • Firefox window becomes invisible when I try to restore the window size (maximized works fine)

    When I start Firefox the window is invisible. Maximizing it works, but when I try to restore it to the previous size it becomes invisible again.
    I've had this problem with other applications and then it was the stored window position that had become corrupted.
    I've looked in the registry to see if the window position is stored there, but couldn't find it there.

    Good, I guess there must have been at least an edge visible.
    Anyway the KB article also now has a better description for manually moving / resizing by first invoking "Alt+Spacebar" (Windows shortcut), thanks to your question.
    I just realized you said you clicked on the taskbar icon, that choice does not appear to be possible in Windows 7 but "Alt+Spacebar" still works.

  • Resize a layer to a percentage of the document size and position in corner

    I need to create a script that places a logo in the corner of my main document but i need the logo to be constrained to a percentage of the document size. my logos needs to live in the bottom right corner of my images and be no larger than 28 percent height and no larger than 60 percent of the width of the document. i need it to constrain proportions of the original file so if the logo is square it will remain square, or if it is more rectangular it will maintain its rectangular shape.  Heres what i've come up with so far, i am pretty inept at scripting so if disregarding my current script is more helpful than building upon it please ignore mine:
    if ( documents.length > 0 )
        var originalDialogMode = app.displayDialogs;
        app.displayDialogs = DialogModes.ERROR;
        var originalRulerUnits = preferences.rulerUnits;
        preferences.rulerUnits = Units.PIXELS;
        try
            app.activeDocument = app.documents[0];    //set active document to 2nd document   
            var docRefOne = app.documents[0];
            var refWidth = docRefOne.width;
            var refHeight = docRefOne.height;
            app.activeDocument = app.documents[1];    //set active document to 2nd document   
             var docRef = activeDocument;
            //current image dimensions
            var w = docRef.width;
            var h = docRef.height;
            activeDocument.selection.selectAll();
            docRef.selection.copy();   //Copy selection
            app.activeDocument = app.documents[0]; //set first document as active document
            var docRef = activeDocument;
            activeDocument.selection.selectAll();
           docRef.paste(true); //paste into selection
        catch( e )
        // An error occurred. Restore ruler units, then propagate the error back
            // to the user
            preferences.rulerUnits = originalRulerUnits;
           app.displayDialogs = originalDialogMode;
            throw e;
        // Everything went Ok. Restore ruler units
        preferences.rulerUnits = originalRulerUnits;
        app.displayDialogs = originalDialogMode;

    You could do something like this...
    #target photoshop
    activeDocument.suspendHistory('Logo Resize', 'main()');
    function main(){
    if(!documents.length) return;
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var myDoc = activeDocument;
    /////////////////////////////// Amend to suit /////////////////////////////////
    var Opacity = 100; /* Opacity of logo */
    //Position logo   X,Y
    var X = myDoc.width - 10; //Right side of logo
    var Y = myDoc.height - 10; //Bottom of logo
    var Logo = File(Folder.desktop + "/logo.png"); //logo
    if(!Logo.exists){
        alert("Your logo '" + decodeURI(Logo.name) + "' does not exist!");
        app.preferences.rulerUnits = startRulerUnits;
        return;
    placeFile(Logo);
    var LB = myDoc.activeLayer.bounds;
    var docHeight = myDoc.height;
    var docWidth = myDoc.width;
    var LHeight = Math.abs(LB[3].value) - Math.abs(LB[1].value);
    var LWidth = Math.abs(LB[2].value) - Math.abs(LB[0].value);  
    if(LWidth > LHeight) {//Landscape logo
    var Percent = 60; /* Resize logo to percentage of smallest side of doc */
    if(LWidth < LHeight) {//Portrait logo
    var Percent = 28; /* Resize logo to percentage of smallest side of doc */
    if(LWidth == LHeight) {//Square logo
    var Percent = 15; /* Resize logo to percentage of smallest side of doc */
    var percentageHeight = ((docHeight/LWidth)*Percent);
    var percentageWidth = ((docWidth/LWidth)*Percent);
    if(docWidth < docHeight){
    myDoc.activeLayer.resize(percentageWidth,percentageWidth,AnchorPosition.MIDDLECENTER);
    }else{  
      myDoc.activeLayer.resize(percentageHeight,percentageHeight,AnchorPosition.MIDDLECENTER);
    var LB = myDoc.activeLayer.bounds;
    X = X - LB[2].value;
    Y = Y - LB[3].value;
    activeDocument.activeLayer.translate(X,Y);
    activeDocument.activeLayer.opacity=Opacity;
    app.preferences.rulerUnits = startRulerUnits;
    function placeFile(placeFile) {
    var desc = new ActionDescriptor();
    desc.putPath( charIDToTypeID('null'), new File(placeFile) );
    desc.putEnumerated( charIDToTypeID('FTcs'), charIDToTypeID('QCSt'), charIDToTypeID('Qcsa') );
    var desc2 = new ActionDescriptor();
    desc2.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Pxl'), 0.000000 );
    desc2.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Pxl'), 0.000000 );
    desc.putObject( charIDToTypeID('Ofst'), charIDToTypeID('Ofst'), desc2 );
    try{
    executeAction( charIDToTypeID('Plc '), desc, DialogModes.NO );
    }catch(e){}

  • Getting Window Size And Position

    Hey, well I wanted to know if it was possible in a java application to get the size and location of another window in focus. For instance, I run my app, then I open up an internet window, is there anyway to get the size of that internet window, and the XY coordinates on the screen for it? And if so, is there anyway to capture data such as colors and such if the window is in focus?
    Is it possible to do by process name? Like this...
    if(process is running)
         if(window is minimized)
            System.out.println("WINDOW MINIMIZED");
         else
               System.out.println("The coordinates of the window are...");
               System.out.println("The size of the window is...");
               System.out.println("The resolution of the window is...");
    }Thanks

    Sucka8 wrote:
    I am trying to make a cards probability calculator, the reason I need that information is so I can get the program to see what is on the table. No idea on how to do it?Hm! No!
    >
    Edit: Augh, java is a bitch. I wish I spent all the time I spent on java on C++ or something...Well. Then C is your friend.
    ;-) Bye!

  • I would like to know how to increase the window size and message font size on the the Three Button Dialog.vi

    I like using the Three Button Dialog .vi. However, I am doing a job were I need to use a larger font size. I tried to adjust the core vi but could not make it do what I wanted. Any help would be great.

    Jeff Bohrer wrote:
    1: VI Properties Window Size- Check maintain proportions of window for different monitor resolutions.  (Your users will thank you)
    Jeff,
    Why do you think that is a good idea?  When I opened your VI on my screen, the buttons were cut off at the bottom, and there was a slight cutoff on the right side.  Without scrollbars or the ability to resize the panel, (which I generally wouldn't want on a dialog box anyway) there is no way to be able to see the whole dialog.
    Did your VI show all of the buttons and show all of the text box?  On mine it looked like this.
    What was your screen resolution and your monitor aspect ratio?  Mine is 1680 x 1050 for a 16:10 ratio.  I think you will have problems with checking this box.  I would recommend unchecking it.  Suppose you programmed on a 16:10 screen, but someone else has a 16:9, or even a 4:3.  That is going to screw up the appearance of the dialog unless you take the time to resize the buttons and text inside the dialog.  (And I feel checking the resize option inside the Window Appearance settings just never works right either.)
    If I was the user, I'd appreciate a dialog box that wasn't cut off. 
    Attachments:
    3ButtonDialog.PNG ‏6 KB

  • ITunes in Vista won't remember size and position

    I just upgraded to vista, haven't had problems so far until I restarted after using iTunes for the first time... when I opened iTunes again, the window size and position reverted back to the default, which is much larger and not where I'd like it to be.
    This happens every time I open and close the program.
    Any suggestions?
    IBM Thinkpad T42p   Windows Vista   upgraded from XP

    I know this is WAY after the fact and it's not likely to get a response but it's worth trying anyway:
    I'm using Acrobat 9 Standard on XP Professional and I have the window resize problem.  Every time I open Acrobat--directly or by opening a PDF file--the window is always on my left monitor and sized so large that it almost fills the screen.  The document opens at 100% zoom by default and barely fills 2/3 of the program window as set in preferences as is "Restore las view settings when reopening documents".
    Here's the rub: this problem only started after PDFlyer toolbar was installed.
    Any ideas?

  • How can I customize window size and have it stay that way? It automatically maximizes the moment I click anywhere on the page.

    I have added a large widescreen monitor and now have a two-screen set up. This taxed my old video card, so we replaced that, too. Then I updated Firefox. Now my window automatically maximizes. "Restore" is the same size as "Maximize", and I can resize it if I carefully drag and drop all four corners. But if I click on the top bar to relocate the resized window, it re-maximizes. I can't find any options or settings that allow me to fix the window size, lock a customized window size, etc. IE8 is not doing this, so I don't think it's the monitor or desktop settings.

    Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].<br />
    <br />
    Delete localstore.rdf or rename the file to localstore.rdf.sav in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to test if the file is corrupted.<br />
    See http://kb.mozillazine.org/Corrupt_localstore.rdf<br />
    (caution: do not delete the localstore.rdf file in the Firefox program installation folder)<br />
    <br />
    Note:<br />
    Deleting the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] will reset the customizations of the toolbars to the defaults.<br />
    You can rename "localstore.rdf" to "localstore.rdf.sav" to test if that solves it.<br />
    Then you can restore the customization by copying "localstore.rdf.sav" to "localstore.rdf" if it didn't work.

  • Can Frame remember size and position of window when it is reopened?

    When I re-open the chapters in a book, I want each to open with the same size and position it had when it closed. Frame seems to randomly pick a size and location for each window. In a big book, I can end up with chapters strewn all over. Some are huge, some are small, and they overlap each other.
    An exception is chapters that were minimized the last time they were saved, in which case they re-open minimized, which is good behavior.
    Any way to tell Frame to remember where the window was last time I was using it?
    I'm using FrameMaker 8.0p277, unstructured.

    FWIW, I keep the .book file open on the side of the screen and use it to select a chapter to work on. The other chapters are kept minimized. I've found that this is the most efficient way to work and I can bounce between chapters quickly. So I guess I'm using the .book file like the "list of all open files" you mention.
    In FM 8, you can see a list of all open files by clicking Windows>More Windows. That shows a list of everything. The biggest problem with that is that it's not in any order that I can discern. If it were in alphabetical order or in the same order as the chapters of my book, it would be more useful.
    When I double-click on the name of a chapter, it opens in what seems to be almost a random size and position, which is the cause of my original post.
    Thanks,
    Cheryl

Maybe you are looking for

  • Error -3016 when trying to compare a column value via "decode" function

    The following statement:   select * from turbine_user   where login_name  = decode(1, 2,  'name1', 'name2') yields a "-3016 Invalid numeric constants" error. OTOH, the following variations work as expected:   (a)   select * from turbine_user   where

  • Web Dynpro ABAP...to Portal

    Hi Friends, My question is......is it possible whatever I develop in Web Dynpro ABAP to publish it to portal which is on different server with different SID? Thanks, Rajeev Sharma.

  • Third party billing '' Account determination error  ''

    hi, i got problem in third party billing, i got error '' document 90035145 saved (error in account determinatiom), even i have maintained account determination using T Code VKOA. V   KOFI   INT  1200   01  01  ERL   800000 V   KOFI   INT  1200   01 

  • Determining Sequence Call information

    When handling TS_UIMsg_Trace message in operator interface and executing step in subsequence, how to obtain handle of step, which call this subsequence. For example: MainSequence: Step1 Step2(Call Sequence2) Step3(Call Sequence1) Step4(Call Sequence2

  • Anyone bought a imac in UK with Tiger and ordered Leopard disk for £5.95

    Im looking at buying a iMac, I can get 10% discount from Comet and so am thinking of going there. However there iMacs come with Tiger on, but I belive that if you buy an iMac after 27th Oct (ie now) then for £5.95 you can get Leopard sent to you from