Expand window script or automator

When I open document windows in Photoshop, I always drag the lower-right corner of the window to expand it so that I have a 1" (or so) gray border around my image.
Doing this by hand is a drag (sic), and I often miss-click on the grow tab of the window, which means more messing about, etc etc
Is there a way to assign a function-key tied to a script of some sort which will grow the frontmost window by, say 200 pixels horiz & vertically?
Thanks!

Hi William,
Many ways to do this, simple way, Keyboard & Mouse Pref Pane, Keyboard Shortcuts>All Applications or just choose PShop, + sign, Menu Title = Zoom, Option+e, start Photoshop.
For more control...
http://www.macosxhints.com/article.php?story=20080514132230561
http://jon.smajda.com/blog/2007/06/30/keyboard-control-for-mac-os-x-windows/

Similar Messages

  • How to automate Sub variables in Essbase using windows scripting

    I am trying to update the automation of sub variables.
    The idea is that the user will set the StartMonth in the file and than based on the value the 3 sub variable for months will get updated.
    Below is the script and the Maxl
    Windows Script
    Set StartMonth = 01
    IF %StartMonth% == 01 SET TempMth1=Aug
    IF %StartMonth% == 01 SET TempMth2=Sep
    IF %StartMonth% == 01 SET TempMth3=Oct
    D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat "D:\SetVar.mxl" "RF_Mth1" "%TempMth1%"
    D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat "D:\SetVar.mxl" "RF_Mth2" "%TempMth2%"
    D:\Oracle\Middleware\user_projects\epmsystem1\EssbaseServer\essbaseserver1\bin\startMaxl.bat "D:\SetVar.mxl" "RF_Mth3" "%TempMth3%"
    Maxl Script
    login admin password on localhost;
    spool 'D:\Variables.log';
    alter application appname set variable $1 $2;
    spool off;
    logout;
    exit;
    However this isn't updating the varaibles.
    Can anyone tell me as to what I'm doing wrong.
    Thanks in advance

    I checked it.The variables are set fine but when I try to set variables in Maxl using
    alter application appname "RF_Mth1" "%TempMth1%"
    it doesn't like the "TempMth1%" member...gives a syntax error.
    I tried removing the double quotes,put in single quotes but that didn't work either.

  • Windows scripts broken? Someone please help me

    Prior to upgrading to v9.2.0.61 windows scripts worked great in itunes. Since the upgrade, I consistently get the following error - regardless of what script I run. Can anyone shed some light on this, please?
    Script: c:\users\clayton\desktop\NewAppendToComment.js (doesn't matter what folder it's in)
    Line: 8
    Char: 1
    Error: Could not locate automation class named "iTunes.Application".
    Code: 80020009
    Source: WScript.CreateObject

    Sounds like you might need to reinstall. Scripting is working fine for me with iTunes 9.2.
    tt2

  • Accessing Windows Script Component (.wsc) methods from CVI

    Hi,
    I am trying to gain access to an already existing script that from Labwindows. It is a .wsc, Windows Script Component, file. It's in my System32 folder and I have registered it. The only way I could find to get the functions into labwindows was by generating a .tlb file from it using a windows utility. I then used the ActiveX control wizard in CVI to import the type library. The functions all seem to show up in the instruemnet panel. However, when I try get an automation reference I get an error (: error code= -2147467262). There is no dialog box or anything that comes up with this error code, I do error checking in my code and print them to my log, thats where I'm pulling the error code from. The problem is similar to what is described by the third post in this thread:
    http://forums.ni.com/t5/LabWindows-CVI/How-to-integrate-windows-scripting-components-written-in-jscr...
    Here is a reference to some info on WSC's:
    http://msdn.microsoft.com/en-us/library/dd79w6c8(v=VS.85).aspx
    Here is the call I am trying to make that fails:
    error = JDDiag_NewAutomation (NULL, 1, LOCALE_NEUTRAL, 0, &JDDiag);
    and the protype that the controller wizard generates from the .tlb:
    /*-------------------- Prototype ---------------------*/
    HRESULT JDDiag_NewObj (const char *Server,
                           int Support_Multithreading, LCID Locale,
                           int Reserved,
                           CAObjHandle *Object_Handle);       
    Also, here is the code in JScript that would accomplish what I am trying to do in CVI:
      JDDiag = new ActiveXObject( "JDDiagnostic.WSC" );
      JDDiag.Init( objController );
    If anyone has any ideas/knows what I am doing wrong, or if this is even possible please let me know. Also, the WSC is written in JScript, but I don't feel like that should matter because according to the Microsoft documentation they can be written in any scripting language and the COM should take care of things.
    Thanks,
    Josh Meyer 

    Using Windows 7 Home Premium
    I have read this thread carefully and followed the recommendations, and I still get the MsgBox error:
    The module "scrobj.dll" was loaded but the call to DllInstall failed with error code 0x80004005
    For more information about this problem, search online using the error code as a search term.
    I even took these additional steps in the command prompt:
    >cd C:\Windows\System32
    >regsvr32 /i:C:\Users\dn\dn.wsc scrobj.dll
    >cd C:\Windows\SysWOW64
    >regsvr32 /i:C:\Users\dn\dn.wsc scrobj.dll
    I executed the identical command after changing to each of the directories. Each time I received the same error
    Yes - that is what happens when you "necro" half century old threads.
    The object I obsolete and unsupported.   The error - 0x80004005 indicates that you are not an admin.  It may  also indicate that you are using an unsupported module.
    ¯\_(ツ)_/¯

  • Windows script needed for the following tags

    hi ,
    I am currently automating a web task using windows script.
    For the below source script , i need wsh script
    <td title="Export Report" class="ui-pg-button ui-corner-all" style="cursor: pointer;" jQuery1404898744838="556">
         <div class="ui-pg-div">
                 <span class="ui-icon ui-icon-newwin"/>
                            Text - Export
    From the above script,
    I need to click the "export"
    Please anyone guide me to form a WSH script for clicking the "Export"
    So far my code is
    Set IE = CreateObject("InternetExplorer.Application")
    Set WshShell = Wscript.CreateObject("Wscript.Shell")
    IE.navigate "url"
    IE.Visible = True
    Wscript.sleep 10000
    IE.Document.getElementbyID("ctl00_ContentPlaceHolder1_ddl_datefilter4").focus()
    WScript.sleep 10000
    IE.Document.getElementbyID("ctl00_ContentPlaceHolder1_ddl_datefilter").SelectedIndex=4
    WScript.Sleep 10000
    IE.Document.getElementbyID("ctl00_ContentPlaceHolder1_txt_fromdate").value = "30 Jun 2014"
    WScript.Sleep 10000
    IE.Document.getElementbyID("ctl00_ContentPlaceHolder1_txt_todate").value = "04 Jul 2014"
    WScript.Sleep 10000
    IE.Document.getElementbyID("a_genslasummary").click()
    WScript.sleep 10000
    Thanks in Advance
    Naveen

    There is nothing to click on export.  It is just text.  YOu also cannot click on anything that does not have an event associated.  Many events ae hidden in JS code.
    None of the objects in your HTML have IDs so they will not be easy to find.
    ¯\_(ツ)_/¯

  • Script or automator to auto-log into wireless network?

    Is it possible to write a script or automator action to automatically log into a wireless network? I'd like to run this at startup to auto connect to a wireless access point.
    Thanks!

    I'm certainly no expert on this topic, but...doesn't your computer already do this automatically? Mine certainly does.
    In your System Preferences, click on the "Network" pane, then click on "Airport" on the left column, then make sure the "Ask to join new networks" click-box is checked. When it is, you will see this text below it:
    "Known networks will be joined automatically. If no known networks are available, you will be asked before joining a new network."
    Final step: Now click the "Advanced" button at the bottom of the Network pane, and make sure "Remember networks this computer has joined" box is checked. That is essential! Then close the System Preferences window. Done!
    Henceforth, each time you encounter a hitherto as-yet unknown network for the first time, you will be asked before joining it. But once you have joined it, even only once, you will never be asked again! The computer will automatically rejoin any previously recognized wireless network you encounter.
    One final detail: if you find yourself in a cloud of two or more overlapping wireless hotspots simultaneously, and the computer is not joining the one you prefer, then go back to that "Advanced" button in the Network pane, and rearrange the list of remembered Networks to have the one you prefer at the top. Then the computer will always join that one first, if it is available.
    This is how I have my computer set up, and each time I restart or log on at home, it instantly and without asking automatically joins my home wireless network -- I'm not even conscious of it happening. By the time I sit down and launch Safari or Mail, I'm already online with no actions having been taken on my part. And if I find myself in my favorite cafe, I open my MacBook and it instantly and automatically joins the cafe's network, without asking, since my home network is now out of reach and the cafe's network is the second-highest on my priority list and thus the highest among available detected remembered Networks.
    Hope this answers your problem. If you instead were seeking a different answer to a slightly different problem, then please re-clarify! Hopefully then someone who's more of an expert in Networks can answer it.

  • When installing Windows 7 using Bootcamp, expanding windows files gets stuck at 65%?

    I was installing Windows 7 Home Premium 64 bit on my Macboom Pro Retina with Bootcamp, and when it reached the "expanding windows files" stage, it got stuck at 0%. I waited a few minutes, and the percentage began to increase until it got to 65%, at which it stopped again. I left it for a while, but after coming back nearly an hour later, it was still stuck at 65%, so I canceled the installation by clicking the close button of the installation window. It froze after that. I could move my cursor, but I couldn't click anything. I got impatient and held down the power button to shut it down manually. When I restarted the Mac, it played the normal startup sound then went to a black screen with a blinking dash symbol in the upper left corner. It's now stuck on this screen. I'm scared I might have really screwed up my computer. What do I do?

    Edit: Fixed it by just holding down the option key when it restarted. Don't know why I didn't think of that before. I also removed the partial Windows download and the whole Windows disc partition using Bootcamp.
    I think the reason why it didn't work is because I used an OEM version of Windows 7, which is to say I bought the licence key off of some website for $35 and they emailed me with the key and an .iso of Windows 7. I read somewhere that using OEMs with Bootcamp is not recommended. But that leads me to another problem - I really do want Windows on my Mac since I have some programs that would only run on Windows and I bought PhotoShop Elements 12 for the Windows platform and to switch platforms I would need to upgrade to 13, which costs almost as much as buying the original. And I don't want to go buy a proper Windows installation disc, that would mean wasting the $35 I already spent.
    So is there any way I can actually install Windows safely with my OEM version of it?

  • Windows 7 Pro 64 bit Expanding Windows FIles, reboots

    Trying to do clean install of Windows 7 Pro 64 bit to Lenovo Thinkpad  X140e laptop.  I boot up the DVD, get to windows advanced install, add AMD AHCI driver from CD and start installation. Anywhere from 7% to 70% completion of the "Expanding
    Windows Files" the laptop reboots with out displaying an error and because the install is not complete shows at "BOOTMGR is missing" message upon restart.

    I received an answer form someone in the Lenovo Support Community Forum.  Because this machine was a Preload Windows 8 with UEFI BIOS, he suggested opening a command prompt in the windows GUI installer (Shift -F10), run DISKPART with the CLEAN ALL option
    and wiping the disk.  Even though I had deleted all disk partitions via the Windows GUI installer, apparently there was a hidden partition causing a problem with Windows 7 install.  After wiping the disk, I went back to the Windows installer and
    clicked Next. It copied and completely expanded all the windows files!

  • Installing Windows 7 - Stops at Expanding Windows Files 0%

    I have burned different DVDs. I've tried booting from a USB (doesn't work on iMac 27in). With each DVD that I burn I always get stuck at Expanding Windows Files 0% it never goes foward after that. I know this is the step that is supposed to take the longest, but I doubt an hour is normal. I've left it even longer at times. Doesn't want to go foward.
    Question is... Is this Hardware related?
    Is there a fix to this?
    I have tried to burn the DVD at 2x (slowest) I even burned the DVD on a windows computer as well. Cant get passed that step. Anyone ever experience this?
    Thanks in advanced.

    Anyone? I'm at a loss here. I really wanted Windows on the computer. I had been running it before until I had to reformat my HDD cause I was having issues on the MAC portion of it. Now I'm back to factory settings, and windows won't work. I've looked online for almost every possible solution and no one seems to have an answer to this issue, except to burn different DVDs which I already have. I would like to know if this might be some sort of software issue or hardware?

  • Windows script to start and stop jobserver only, with BOXI31

    hi,
    my question is easy but i have found nothing : on BOXI31
    how  to start and stop jobserver (adaptive...) automaticaly with windows script ?
    in tasklist command, jobserver have no services name...
    thank's

    In XI R2 you can stop & start job servers by their types, but in XI 3.1 I don't think you can do that, b'cos it doesnt list by server type just shows jobserver for crystal, webi & deski.
    Thanks,
    Hari

  • MBP hangs on "expanding windows files"

    I just bought the latest MBP 15" and decided i wanted to install windows. So i started the bootcamp assistant and partitioned 50GB of space. I then put in my windows 7 dvd and pressed start installation. Everything was going fine until it got to "expanding windows files", at that part it just hangs at 0% and doesn't go anywere.
    I don't know how to fix this, if therr even is a solution, but any help is appreciated!
    Thanks,
    George

    Any luck to the fix?   I have the same problem too

  • Can Apple Script or Automator handle large client email tasks?

    Hi,
    I am a relatively new Mac user but currently work on a MacBook and Imac G5 with 10.4.9. I have a client list of approxamitely 900 people and I want to send an email to all 900 announcing a change in product services. Is there an Apple Script or automator script (or somewhere I could go to purchase one) that will allow me to import my name and email list in .csv or excel format and then send a slightly customized email to all. I just want the subject line and greeting to the email to include their first name so it looks as if I have taken the time to send them a personal email.
    Can anyone steer me in the right direction. Thanks in advance!

    Hi,
    Here's a script to disable a rule" --> tell application "Mail" to set enabled of rule "weekend message" to false
    Change "weekend message" by the exact name of your rule.
    Make an (iCal Events or Launch agent PLIST or cron) to run the script on Monday at a specific time.

  • Clean Install of Bootcamp with Lyon, Windows stuck on "Expanding windows files"???

    I just purchased a new MacBook Pro and before converting any of my files over from my older MacBook I wanted to download Lyon and install my Bootcamp partition. 
    I have Installed Lyon, Burned my Windows support software disc and started the Bootcamp Partitioning.  When it booted into the Windows side and started the Installation...I knew it would take a while, but it has been sitting on the "Expanding windows files (0%) ..." part of the install for over an hour.  I have Installed Bootcamp several times on a Mac and I have never had this happen. 
    Any suggestions on what I should do here? 
    Jessica

    Yes, it should.  I was successful with my Win7 Boot Camp partition.  But as always, be sure to backup the Windows partition, with a cloning utility if posssible, just in case...

  • Need a windows script to check all unix db boxes are pinging ?

    Hi ,
    I need a windows script to check all unix remote db boxes are pinging ?
    I need to show the output in an html file.
    Can anyone suggest ideas ?

    I have a script that "kind of" works. The only problem I've seen is that it gets confused when filenames contain characters that are fine in Macland but not good in Unixland. Forward slashes are a good example of this.
    In this case I have a folder in my home named "copytest" Inside copytest are two folders:
    Source (containing the images to be added)
    Dest (My existing library of images)
    It also assumes that the folder of images to be added contains no sub-folders. Hope this helps.
    tell application "Finder"
    set theSource to folder "source" of folder "copytest" of home
    set imagesToBeCopied to name of every file of theSource
    end tell
    repeat with theFile in imagesToBeCopied
    try
    if (do shell script "find -r ~/copytest/dest -name " & quoted form of (theFile as string)) is not equal to "" then
    --The file exists. Don't copy it
    else
    --the file doesn't already exist. Copy it.
    end if
    on error
    return "Failed while trying to check for existence of a file"
    end try
    end repeat

  • IQ525A - Two Windows Script Host Error messages, plus folders won't close

    How do I get folders to close, when right clicking will not close them? I am running Trend Micro security and also have two Windows Script Host error messages appearing. I need to click OK to proceed each time I use IQ525A/
    assume IQ is running in safe mode, as start menu and bar is white.Any suggestions
    Thanks
    Kitcat 

    Crash report:
    https://crash-stats.mozilla.com/report/index/ab4ee242-57f1-4a84-baef-ca2202150308
    Signature shutdownhang
    Start your '''Computer''' in safe mode with networking. Then start Firefox. Try '''Safe''' web sites.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''
    Wait a few minutes (don't go anywhere), then close it.
    Is the problem still there?

Maybe you are looking for