[JS][CS3] Zoom frame to window

Hi All.
I need to iterate through image/text frames while doing other formatting stuff, but I want the selected frame to fit to screen.
I have found bits on other threads:
myFrame1.select();
myDoc1.layoutWindows[0].zoomPercentage = 200;
will enlarge the selected frame to 200, but not centred on the screen.
I have looked through the JS Library, and found a zoom options method, and trying to use this:
myDoc1.layoutWindows[0].ZoomOptions = 2053534832;
doesn't work.
Can someone offer any help with this?
Cheers
Roy

Hi Kasyan & all
Thanks for the heads up on your script.  Its cool, but serves a different need to mine.  I actually saw Daves script before, but was not able to help me in my quest.
I nearly have the windows doing what I want, but cannot get both windows to zoom in on the selected item.  The script I have included here will zoom both windows to 200%, and to the same part of the screen for each, which is not what I want.
I also want to use the fit.page method instead of 200% but couldn't get it working.
app.documents[0].select(myFrame1);//myFrame1 is already defined and is fine
app.documents[0].layoutWindows[0].zoomPercentage = 200;
app.documents[1].select(myFrame2);//myFrame2 is already defined and is fine
myWindow = app.activeWindow;
app.documents[1].layoutWindows[0].zoomPercentage = 200;
app.documents[0].select(myFrame1);
My head hurts now, and need a drink!
Any pointers will be fondly received.
Roy

Similar Messages

  • CS3, ActionScript 2.0, Windows Projector Error

    I have created an interactive map that has photos zoom up from specific locations when selected.  Used Flash CS3 on a mac, ActionScript 2.0, published a windows projector for playback on a windows 7 system with a touch screen monitor.  The problem is that the program will drop photos sporadically and replace them with a red box.  This happens after about 20-30 minutes of testing.  The projector file is 63.2 MB in size with a total of 56 photos.  I've tested the projector on a windows 7 (home basic & professional) system, windows xp (sp3) and had the same problems, but half the time the a different photo errors out.
    Does anyone know if the error is an ActionScript 2.0 problem, CS3 problem, or a windows 7 compatability problem with a window projector file publish with a mac version of Flash CS3?

    I have created an interactive map that has photos zoom up from specific locations when selected.  Used Flash CS3 on a mac, ActionScript 2.0, published a windows projector for playback on a windows 7 system with a touch screen monitor.  The problem is that the program will drop photos sporadically and replace them with a red box.  This happens after about 20-30 minutes of testing.  The projector file is 63.2 MB in size with a total of 56 photos.  I've tested the projector on a windows 7 (home basic & professional) system, windows xp (sp3) and had the same problems, but half the time the a different photo errors out.
    Does anyone know if the error is an ActionScript 2.0 problem, CS3 problem, or a windows 7 compatability problem with a window projector file publish with a mac version of Flash CS3?

  • How do I get Fireworks CS3 to work in Windows 7? After installation my internet would not function.

    I installed
    Fireworks CS3 in the new Windows 7.  It seemed to function well.  After a reboot I noticed my internet would not work.  I attempted to resolve the matter but was unsuccessful.  Has anybody had this problem?  If so what is the fix.

    Is Windows 64bit or 32bit?
    I've heard that 64bit Win7 will not play well with Fireworks CS3. Try to run Fireworks CS3 in some WinXP Compatibility Mode in Win7 -- I think this mode is available in Win7 Pro and Ultimate...
    Hope this helps...
    Cheers!

  • Adobe CS3 installation problem in Windows 7 Ultimate 64-bit

    I cannot install Adobe CS3 Production Premium in Windows 7 Ultimate 64-bit (fresh clean install). I have tried everything, including turning off the anti-virus software. It just pops up asking if I want to allow the installer to make changes to Windows, etc and when I click yes it just closes and does nothing... Has anyone been able to get CS3 installed in Windows 7?
    The only reason I have a fresh install is because my Ultra CS3 that I had loaded in addition to CS4 package timed out after 30 days and I really need to get access to Ultra CS3 to finish this project. I was planning installing just one app (maybe Photoshop CS3) from the CS3 install so that I can enter my CS3 Production Premium reg info in the system so tat Ultra CS3 will work. I can just start over and do another 30 days with the Ultra in DEMO mode (it does not tell you it's running in demo mode by the way!) and finish this project, but I was looking for a more permanent solution. Once I put CS4 back on, the CS3 package installed over it...
    Does anyone knw what to do in this situation? i.e. Could I install it into a Windows XP Pro 32-bit edition and perform and UPGRADE to Windows 7?
    Has anyone else ran into this inability to install CS3 in Windows 7? I am running the CS3 install from the Adobe folder on the desktop that it maes when you run the files downloaded from Adobe.com - I get nothing. The task manager shows something open for a split second and then closes right away?! This is very frustrating.  I have even run the CS3 clean script just in case. Any help would be appreciated!
    -BC

    i had issues installing cs4 products, my reponse to others with cs4 issues may help you:
    i see 216 others have posted questions on this issue on this forum from searching "setup.exe", including myself, so i'm just responding to the recent ones.
    i recently downloaded trails of flash cs4 and web premium package cs4 (took a day to download at high speed starbuck's internet). couldnt get the setup.exe to work or the uninstaller to work. surfing tech support over next couple weeks to try various agents was useless and expensive until i finally reached someone with useful info. all the agents had foriegn accents and read from scripts and web support pages until yesterday, when i reached a guy who told me two things i'll report to various forums addressing this same issue:
    1. download the "windows install clean up" program from window's website (google: windows install cleanup) to uninstall everything adobe. then go through your folders to erase any adobe remnants. this program is different from the uninstaller that doesnt work in the programs and features area of the control panel when you try to uninstall adobe products from there.
    2. windows explorer 8, the newest version, DOES NOT download adobe software properly and leaves things out, causing all sorts of issues including the setup.exe program not working. download firefox browser from mozella (google: firefox) and use it for all adobe downloads. apparently the old windows explorer 7 will work, but if you already have explorer 8 installed its easiest to just use firefox.
    i'm spending the next couple days downloading the 4.14 G web premium trail with firefox and will report if this works.

  • Insert a frame or window into adobe acrobat  or reader window

    Using Windows OS XP or Vista. Can you ad a frame or window into the main window to allow saving a document through another application? I have an application that routes save documents to specific folders depending on the type of document. I would like to be able to allow my clients to open or create a PDF and then have the option to use the application through a frame or window displayed under the "pages" or "bookmarks" area of Adobe reader. Is this possible and can you point me in the right direction.

    Leonard - Could this "new" window contain a custom form as an object. we have used it in Microsoft Outlook with success for customers to insert information pertinent to an email item and then save the item to our application. What I am looking for is to allow our clients to open a pdf or create one and be able to save it as always but with the option to open this "pane" and enter information needed by our routing application. if this is possible can you point me to specific area to start looking as the SDK is very large and informative. I am lookg for a good starting point.
    thanks

  • Unable to silently install CS3 Design Standard in windows 7

    I have a problem with silently installing CS3 Design Standard in Windows 7.
    I have done a silent install packages using the instructions in the deployment guide.
    It works just fine on Windows Vista to deploy using SCCM 2007.
    But when deploying the same package on Windows 7 i fails with exit code 7.
    Studying the log files tells me the following
    [    2104] Wed Nov 18 10:39:38 2009  WARN
    Error setting action for {ABF8E036-2A91-4380-86AC-DD4B690ADAA8} Adobe Illustrator CS3:
    Localization: missing stringID "locPayloadSelectSystemRequirement" for en_US in C:\Program Files\Common Files\Adobe\Installers\40782a432f3be9e15fcf40c7f7dfd43\resources\main.xml
    system check
    The minimum system requirements listed below are needed in order to run Adobe Illustrator CS3 and are not met.
    - Windows XP Service Pack 2 and greater
    - Windows Vista
    [    2104] Wed Nov 18 10:39:38 2009 DEBUG
    Setting action for {FA6B0B81-E70D-4449-BFE7-EBF1995F5BFC} Adobe InDesign CS3 per deployment file.
    [    2104] Wed Nov 18 10:39:38 2009  INFO
    Selection of payload {FA6B0B81-E70D-4449-BFE7-EBF1995F5BFC} Adobe InDesign CS3 is forbidden by the policy.
    [    2104] Wed Nov 18 10:39:38 2009  WARN
    Error setting action for {FA6B0B81-E70D-4449-BFE7-EBF1995F5BFC} Adobe InDesign CS3:
    Localization: missing stringID "locPayloadSelectSystemRequirement" for en_US in C:\Program Files\Common Files\Adobe\Installers\40782a432f3be9e15fcf40c7f7dfd43\resources\main.xml
    system check
    The minimum system requirements listed below are needed in order to run Adobe InDesign CS3 and are not met.
    - Windows XP Service Pack 2 and greater
    - Windows Vista
    Well i have tried installing the CS3 Design Standard on Windows 7 the normal way, logged in and executing the installer. This works fine,
    nothing says that the system requirements are not fulfilled. Everything works fine.
    It just dont work silently....
    Does anyone know whats wrong?
    Please help...

    Hi, this might be a little late, but who knows, for the future reference, this is what solved the problem for me:
    Each major application has a file called appname.proxy.xml in their payload folder. At the bottom of the file, simply remove the OS check:
    <SystemRequirementsJSON>[
    {"OS":{"Macintosh":{"Require":[{"Version":"10.4.8"}],"Exclude":[{"Version":"10.4.8"}]},"Wi ndows":{"XP":{"Exclude":true,"Require":{"MinServicePack":"2","@servicePack64Bit":1
    ,"Need64Bit":"0"}},"Server2003":{"Exclude":true},"Vista":{"Require":true}}}
    ]</SystemRequirementsJSON>

  • CS3 Design Premium in Windows 7

    Hi,
    Bought a new computer with Windows 7.
    I lost my "CS3 Design Premium for Windows" installation disk.
    So, I downloaded the installation file from Adobe site, extracted it & burned in a DVD as how it supposed be in the Adobe supplied DVD.
    When I run the "setup.exe", the wizard appears.
    I selected Acrobat Professional & Dreamweaver to install in default location "C:\Program Files\Adobe".
    Next screen, it displays the components to be installed & I clicked the next button.
    A pop up window displays that "Please insert Adobe CS3 Design Premium disk".
    I've gone through another thread in this forum & tried to install all the listed applications of Adobe CS3.
    Still no luck.
    I need to install Acrobat in the said computer.
    Please advise!
    Thanks in advance!

    Hi,
    Bought a new computer with Windows 7.
    I lost my "CS3 Design Premium for Windows" installation disk.
    So, I downloaded the installation file from Adobe site, extracted it & burned in a DVD as how it supposed be in the Adobe supplied DVD.
    When I run the "setup.exe", the wizard appears.
    I selected Acrobat Professional & Dreamweaver to install in default location "C:\Program Files\Adobe".
    Next screen, it displays the components to be installed & I clicked the next button.
    A pop up window displays that "Please insert Adobe CS3 Design Premium disk".
    I've gone through another thread in this forum & tried to install all the listed applications of Adobe CS3.
    Still no luck.
    I need to install Acrobat in the said computer.
    Please advise!
    Thanks in advance!

  • Does CS3 play well under Windows 7 (64 bit)

    I have just built an i7 machine using 64 bit Windows 7 RC for the OS.  I then installed my CS3 package (and updated via network).
    Premier capture of HDV/DV fails with the likes of Debug event with "TextPopup.cpp-273" and "HotTimecodeControl.cpp-387".
    I don't want to waste debug time if there is a basic incompatibilty between CS3 and the OS or 64 bit version.
    My package of CS3 has been working well on my old XP machine for years (but I wanted to improve the speed).
    Does CS3 play well under Windows 7 (64 bit)?  What should I be aware of moving forward?  Advise?

    My problem with capture seems to have been corrected by an update to the motherboard device drivers.
    However, I did first try the "XP Mode" suggestion.  XP Mode runs as using "Virtual PC".  This two step approach requires that you first install the Virtual PC application on Windows 7 and then install "Windows-XP-Mode" as the OS on a Virtual PC.  Before that, the motherboard must have "Virtualization Technology" turned on.  This seemed a little cumbersome for a long term solution so I stopped before installing CS3 on the "Virtual XP Machine".  I did a little more shotgun experimentation including driver updates and found that capture had begun to work.
    To be sure of the solution, I did a fresh install of Windows 7 (overwriting previous disk contents), motherboard driver updates, and CS3 install (with updates).  Capture is working for both DV and HDV modes.  However, do note that my motherboard does now have Virtualization Technology enabled.  This may or may not be a factor.
    I have also noted that there is also an "XP Compatibility Mode" option available for applications (that is different from Windows-XP-Mode).  Windows 7 presents this option by right clicking on the shortcut and selecting Properties/Compatibility.
    Hope this helps the next person to stumble down my path.

  • Photoshop CS3 Crashing consistently in Windows XP SP2

    Hello, I'm using Photoshop from the Web Premium CS3 package on my Windows XP
    machine.  I've never had problems with it in the past, but today when I've gone to use it it will consistently crash if I select File->New while I have a file already open.  I've never seen this behavior, but it's happening regularly at the moment.  I just did some Windows updates earlier today, so that could be an issue, but I've rebooted since then and so I'm not sure what is causing this problem or why.  If anyone else is seeing this I'd appreciate any insight you can offer on what the cause is or how to alleviate the problem.  Thanks in advance for any help you can offer.

    The first easy fix is to reset the prefs either by keyboard or the manual way, or try both. Your not running XP SP3?
    http://forums.adobe.com/thread/375776?tstart=0

  • Installation of Master Collection CS3 (disc version for Windows)  on a laptop without optical drive

    Installation of Master Collection CS3 (disc version for Windows) -  is there any possibility of installing my legitimately purchased MC-CS3 on a new laptop without optical drive? Perhaps through a download link or will tranfering all Adobe files from my old to my new computer do the trick as well? Or do I necessarily have to buy an external optical drive? Thank you for answering.

    No need to buy an optical drive and don't try transferring, it rarely works.
    Download the installer from Download CS3 products
    Install then enter your serial number to license it.

  • Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit. Any ideas?

    Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit.  The program installed ok and the S/N took.
    The program does record video and audio HDV M2T.
    The problem is video doesn't display or play back on the monitor component @ 16:9 or 720 p.  4:3....
    The scopes respond as do the audio components when recording. (with a blank monitor component).
    The video does play back on my system no problem.
    Any ideas?
    Dan

    Moving the discussion to OnLocation
    Thanks,
    Atul Saini

  • I have an original version of Photoshop CS3.  I run Windows 7 32 bit.  After an update of the operat

    I have an original version of Photoshop CS3.  I run Windows 7 32 bit.  After an update of the operating system by MS, my Photoshop refused to work, whereas before the MS update, the software worked perfectly.  Please help.  Ernst

    Dear Sir,
    I have an original version of Photoshop CS3. I run Windows 7 (32 bit) on my PC.  After a recent (±2 months ago) update/upgrade by Microsoft of Windows 7 (32 bit) on my PC, I lost all functionality of the Photoshop software despite the fact that I have been running Photoshop CS3 on Windows 7 for the past 2 years without any problems. I uninstalled the software from my PC and tried to re-install it again.  It would not re-install.  After I press the software “setup” function to install the software, a window appears and a blue band runs across it, but then everything disappears from the screen again without leaving any message as to why the software would not install.
    I have been informed by Adobe Helpdesk that Photoshop CS3 does not run on the Windows 7 OS.  Due to previous experience that Photoshop CS3 had in fact run on my PC on Windows 7, I find it totally strange that I could not install the software again.
    In fact the, same version of Photoshop CS3 is currently running without any problems on my laptop under Windows 7 (64 bit).
    Please help if you can.
    Kind regards,
    Ernst Odendaal

  • How to fix the size of the frame or window?

    Hi,
    Do you know how to fix the size of the frame or window so that the user cannot minimize or maximize it?
    Thanks.

    Frame's setResizable(false);.

  • I have a black window that keeps coming up and telling me the various tasks that I am handeling. It came after opening a power point and now I cannot make it disappear. It frames all windows and programs that I open with a black line. Help please...

    I have a black window that keeps coming up and telling me the various tasks that I am handeling. It came after opening a power point and now I cannot make it disappear. It frames all windows and programs that I open with a black line. Help please...

    Go to System Preferences - Accessibility - Voiceover - turn off Voiceover. The shortcut is command-F5, so possibly you pressed that accidentally.
    Matt

  • Indesign CS3 text frame parameters and export PDF

    could use some help with the following:
    I need to edit and export a large number (7000) Indesign documents (one page)
    1. check for locked text frames and unlock
    2. group all text frames
    3. set grouped text frames at x=8 millimeters, y 10 milimeters
    4. export the documents to PDF in a subfolder called "Out"
    5. save and close the documents in the same subfolder as an Indesign CS3 document (orig is CS2)
    This is what I've been trying soo far:
    Now only checking one text frame - should be all text frames
    "close document 1 saving yes" doesn't work because the originals are from CS2
    I get a PDF called "Adobe Indesign SC3"
    set processFolder to choose folder with prompt "Choose a folder that contains Innd Docs to process"
    tell application "Finder"
    if not (exists folder "OUT" of processFolder) then
    make new folder at processFolder with properties {name:"OUT"}
    end if
    set the destination_folder to folder "OUT" of processFolder as alias
    end tell
    tell application "Finder"
    try
    set listFiles to (files of contents of processFolder) as alias list
    on error
    set listFiles to (files of contents of processFolder) as alias as list
    end try
    repeat with thisFile in listFiles
    tell application "Adobe InDesign CS3"
    with timeout of 120 seconds
    activate
    set properties of view preferences to {horizontal measurement units:millimeters, vertical measurement units:millimeters, ruler origin:page origin}
    open thisFile
    set myDoc to document 1
    set docName to name
    tell myDoc
    set transform reference point of layout window 1 to top left anchor
    set myBox to text frame 1 of page 1
    set properties of myBox to {locked:false}
    move myBox to {8, 10}
    end tell
    export document 1 format PDF type to (destination_folder as string) & docName & ".pdf" using PDF export preset "[Drukwerkkwaliteit]" without showing options
    close document 1 saving yes
    tell application "Finder" to move thisFile to destination_folder with replacing
    end timeout
    end tell
    end repeat
    end tell
    end
    end
    Any help is greatly appreciated - Doing this manually is a lot of work!!!!!
    Peter

    You're asking for the name of the application, not the document -- you need<br />to do it after your "tell myDoc".<br /><br />You could also get the name from the alias you open, rather than the open<br />document, something like:<br /><br />repeat with thisFile in listFiles<br />set oldDelims to AppleScript's text item delimiters<br />set AppleScript's text item delimiters to {":"}<br />set docName to text item -1 of (thisFile as Unicode text)<br />set AppleScript's text item delimiters to oldDelims<br /><br />You should also move your "set properties of view preferences" line to after<br />your "tell myDoc".<br /><br />-- <br />Shane Stanley <[email protected]>

Maybe you are looking for