How do I create a new document window with JS

I would like to create a new window for an open document  modify the duplicate document, export and close leaving the original document in it's original state. Is there a way to do this with Jave script?
If I were to do this manually I would go to the Window menu and select > New Window. Then I could make the changes I want, export and close without changing the open file.
How to sript this?
Thanks,
GM

Your right,
What I really want to do is save a copy : File > Save a Copy and then open the copy.
The reason I don't like the saveAs() is that your original document is no longer open, so you then have to reopen it. You lose the ability to undo.
I want to be able to run an export script that modifies the document and exports to photoshop but I want to do this without disrupting my work on the original document. The original document would ideally be left open and unchanged so that I can continue working on it or use the Undo function as needed.
Is there a way to Save a Copy with script?
thanks,
GM

Similar Messages

  • How can I create a new documents folder

    Anyone know how I can create a new documents folder in my home folder? I accidently deleted it. Nothing was in it, so I don't need to recover it. I just want a new empty documents folder.
    Actually, never mind. I solved the problem myself.
    At first I created a folder in the sidebar, and it didn't have the documents icon on it. I just solved the problem by deleting that icon, then creating a new folder in the main window, naming it "documents", and then the documents icon appeared. Then I dragged it to the sidebar and it created a copy there.

    My mistake. I was able to create a new documents folder without any throuble.

  • How do I create a new document in adobe?

    How do I create a new document in adobe?

    The iPad runs on the iOS operating system and not the Macintosh OS. So the answer is "no." You need to have Acrobat running on a desktop machine to author PDFs.
    Ben

  • How do I create a new document in Photoshop CC and have it 300 dpi?

    How do I create a new document in Photoshop CC and have it 300 dpi? I am doing digital scrapbooking and need to have my layout in Photoshop 12 x 12 so it is a scrapbook page and 300 dpi and I hope this doesn't sound stupid but I don't even know what dpi means.
    Thank you

    File>New
    Set preset to print or US Paper
    (typing width and height values will change the preset to custom)
    Set width to 12 inches
    set height to 12 inches
    set ppi to 300 (should already be this if you used the print preset)
    Click OK

  • How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?

    How can I create a new TC backup with ethernet, so I don't have to wait two days for a new wireless backup?
    Several times in the last year, I've gotten a message that Time Machine needs to completely redo my backup. Using the wireless connection, this takes almost two days. Is there a way to do the backup with ethernet and then switch back to wireless? Thanks.

    May I know what is needed to make sure the MacBook is able to see Time Capsule on ethernet?
    Connect an Ethernet cable from one of the LAN <-> ports on the 2Wire gateway to the WAN port (circle of dots icon) on the Time Capsule.
    If AirPort Utility cannot "see" the Time Capsule now, you will need to perform a "hard reset" by holding in the reset button for 7-8 seconds or so and then reconfigure the Time Capsule. You can use the same Time Capsule name and password, etc. as before.
    Configure the Time Capsule to "Create a wireless network" and select the Bridge Mode option when it appears during the setup using AirPort Utility.
    Once the Time Capsule is configured, restart the entire network again. Power down everything, start the 2Wire first and then start each other device after that one at a time about a minute apart.
    Now you can connect your Mac directly to one of the LAN <-> ports on the Time Capsule for the backup using another Ethernet cable. In general, about 20-25 GB per hour will transfer.
    The Time Capsule will broadcast a much faster wireless network than the 2Wire can provide, so you might want to leave the setup "as is" for awhile after the first backup is complete. If you decide to use the Time Capsule as your main wireless access point, you would want to turn the wireless off on the 2Wire since two wireless networks in close proximity can create interference problems.
    Or, if you want to use the wireless on the 2Wire, you could turn off the wireless on the Time Capsule. Then backups will occur over the 2Wire wireless, or over Ethernet.
    I don't really recommend the "Join a wireless network" setting on the Time Capsule for most users, but you could go back to that setup as well if you want after the first backup is complete.

  • How can i create a new shell window using some functions?

    1.In a shell window, how can i use a command to create another new shell window?
    2.In C code, which function will be called to create a new shell window?
    (not excute shell command -- being implemented by using system() )
    Thanks!

    #1 I don't know what a "shell window" is. There are shells (programs that accept terminal input and run scripts), and there are windows (usually drawn by an Xclient (like xterm), or a toolkit client (dtterm, gnome-terminal).
    The two are very different. You may just want to run xterm or something and assume that it will also launch a shell.
    #2 You'll need to explain that one better. system() is the normal way to launch external commands. If you don't want to use it, you'll need to explain why it's not useful here.
    Darren

  • How do I create a new document that is 8" X 8" and with Print as the document profile?

    Page 47 in Chris Botello's Adobe Illustrator CS6 of Cengage's Illustrated Series asks this for the Independent Challenge for Unit B.  "Create a new document that is 8" X 8" and with Print as the document profile." As long as its CMYK it's "Print". Right?  If I go and change the size the profile goes custom. I'm a Graphic Design Student at a local university. If there are others who have used this book, Please giver me a holler. I wonder what they want there? You think they want to change the "Print" profile? That hasn't been covered. I'm on CC not CS6 but haven't found differences in that area. Probably just not written very clearly.
    Thanks,
    Gary

    Thanks Monika,
    I hate it when I fixate on what should be easy. It's probably just a poorly worded task. I don't think it will blow my GPA.
    Gary

  • How do i create a new document

    How do I create a new document

    Not with Adobe Reader, but with Acrobat (or CreatePDF, or Illustrator, or InDesign, or Photoshop, or...).

  • SharePoint Designer 2013 (2010 Platform Workflow) - How can I create a new list item with a SPECIFIC content type?

    In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library). 
    We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform.  Is there any way to create a list item with specific content
    type?  Even if I could just input a string into that field instead of using this blank drop-down.  Please help! 

    Hi Sarah,
    According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
    I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
    How did you create the content type?
    Please check if the content type is added to the list/library the workflow associated with.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I create a new Care Plan with one or more care tasks

    Hello,
    I'm working on a Dutch website in the HealthVault Environment. I got difficulties in creating and updating a careplan with care tasks. Most likely it's due to lack of knowledge...
    Following code works fine:
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    this.PersonInfo.SelectedRecord.NewItem(plan);
    It creates a plan called [test]. But I don't know how to create a plan with one or more tasks in it: the tasks property is read only.
    https://msdn.microsoft.com/en-us/library/microsoft.health.itemtypes.careplan.tasks.aspx
    Half a year ago I was able to add an example of a careplan, which was a feature of the dev tools, but for some reason that's not possible anymore.
    https://developer.healthvault.com/DataTypes/Overview?TypeId=415c95e0-0533-4d9c-ac73-91dc5031186c
    So my question is, how can I add a new care plan with a task like the example from the HealthVault dev tools:
    <tasks>
    <task>
    <name>
    <text>Run 100 miles</text>
    </name>
    <description>Run 100 miles in 6 months</description>
    <start-date>
    <structured>
    <date>
    <y>2013</y>
    <m>12</m>
    <d>1</d>
    </date>
    </structured>
    </start-date>
    <end-date>
    <structured>
    <date>
    <y>2014</y>
    <m>6</m>
    <d>1</d>
    </date>
    </structured>
    </end-date>
    <target-completion-date>
    <structured>
    <date>
    <y>2014</y>
    <m>12</m>
    <d>31</d>
    </date>
    </structured>
    </target-completion-date>
    <sequence-number>279128532</sequence-number>
    <recurrence>
    <interval>
    <text>Once</text>
    </interval>
    <times-in-interval>10</times-in-interval>
    </recurrence>
    <reference-id>p01vil21ckg7k2346y1g60337mmi20sg564l321l8pmpqev39n302572sewu76lh9019s3993e02924</reference-id>
    </task>
    </tasks>
    Any help is welcome 
    Wilfred

    Hi Wilfred,
    Have you tried this?
    CarePlan plan = new CarePlan();
    plan.Name = "test";
    plan.Tasks.Add(someTask) 
    If you have a task list already, you would need to enumerate through it and add one by one...
    foreach (var task in existingList)
        plan.Tasks.Add(task)

  • How do I set up new Document Profile with custom page sizes?

    I see that different profiles have different sets of page sizes. I need a set of page sizes which I use often, and I would like to create a set of these sizes in a new profile, or at least somehow add them to the very minimal set of page sizes which can be selected when setting up a new document. Can this be done?

    Thanks Jerron, I have done this but it only adds one document at one size to the list of presets. The list of sizes that comes with it is the same as the preset it was created from originally. What I would like to do is add to the list of sizes which comes with any one of the document presets or create a new one with a new list of sizes.

  • My external hard drive which contained all mu music has failed.  How do i create a new itunes library with the music on my iphone?

    I had all my music on an external hard drive which itunes referred to as the stored location.   this drive has now died and I only have the music on my iphone/ipad.  How do I recreate my music on another external drive using the music on my iphone/ipad?

    Have you failed to maintain a backup copy?
    If so, not good, you can transfer itunes purchases from the iphone: File>Devices>Transfer Purchases
    You may be able to purchase a third party program to get the rest ( not supported by Apple).

  • TextEdit new document window starts off screen

    In TextEdit, if I create a new document, the window stretches off the bottom of the screen. The bounds of the window are {133, 53, 760, 882}. This behaviour takes place when the preference setting 'Wrap to page' is checked. If I create a second new document window while the first is still open, it fits within the screen at {154, 22, 781, 851} (it moves up to the right by 21 pixels). How can I get the first document to start within the screen's real estate?
    If it is unchecked, the co-ordinates of the upper left corner of the new window are {133, 53}. The size of the window depends upon the font size. Note that the upper left corner also remains the same if I change paper sizes.
    I have deleted the preferences but nothing has changed.
    Does anyone know how to control the size and location of a new document window, with the 'wrap' feature checked?
    Thanks.

    On my machines, wrap to page is enabled and I have window size set to 80x70 which works for me for years.

  • How to create a new user aaa with same rights as existing user bbb ?

    Assume user bbb already exists in Oracla 10g database.
    How can I create a new user aaa with the same rights/permissions as the old user bbb?
    Is this procedure/command also working if the old user is user "system" (=dbadmin)?

    There is some possibilty to generate a EXPDP dump file which contains only DDL statements related to account and
    privileges: EXCLUDE/INCLUDE parameter can help.
    For example, following EXPDP statements seem to work with SYSTEM account:
    expdp / schemas=system content=metadata_only exclude=table,sequence,package,function,procedure,synonym,,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
    Export: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:41:36
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Starting "OPS$XXX"."SYS_EXPORT_SCHEMA_01":  /******** schemas=system con
    tent=metadata_only exclude=table,sequence,package,function,procedure,synonym,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    Master table "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully loaded/unload
    ed
    Dump file set for OPS$XXX.SYS_EXPORT_SCHEMA_01 is:
      C:\TEMP\SYSTEM.DMP
    Job "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:41:41
    impdp / sqlfile=dpd:system.sql dumpfile=DPD:system.dmp logfile=DPD:system.logImport: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:42:46
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Master table "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully loaded/unload
    ed
    Starting "OPS$XXX"."SYS_SQL_FILE_FULL_05":  /******** sqlfile=dpd:system
    .sql dumpfile=DPD:system.dmp logfile=DPD:system.log
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    Job "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully completed at 09:42:50and system.sql is:
    -- CONNECT OPS$XXX
    -- new object type path is: SCHEMA_EXPORT/USER
    -- CONNECT SYSTEM
    ALTER USER "SYSTEM" IDENTIFIED BY VALUES '970BAA5B81930A40'
          TEMPORARY TABLESPACE "TEMP";
    -- new object type path is: SCHEMA_EXPORT/SYSTEM_GRANT
    GRANT GLOBAL QUERY REWRITE TO "SYSTEM";
    GRANT CREATE MATERIALIZED VIEW TO "SYSTEM";
    GRANT SELECT ANY TABLE TO "SYSTEM";
    GRANT CREATE TABLE TO "SYSTEM";
    GRANT UNLIMITED TABLESPACE TO "SYSTEM" WITH ADMIN OPTION;
    -- new object type path is: SCHEMA_EXPORT/ROLE_GRANT
    GRANT "DBA" TO "SYSTEM" WITH ADMIN OPTION;
    GRANT "AQ_ADMINISTRATOR_ROLE" TO "SYSTEM" WITH ADMIN OPTION;
    GRANT "MGMT_USER" TO "SYSTEM";
    -- new object type path is: SCHEMA_EXPORT/DEFAULT_ROLE
    ALTER USER "SYSTEM" DEFAULT ROLE ALL;
    -- new object type path is: SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    BEGIN
    sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'BAS002.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'1456160');
    COMMIT;
    END;
    -- new object type path is: SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
    BEGIN
    SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;
    COMMIT;
    END;
    / These export and import steps don't take into account privileges granted on schema objects belonging to another user likely due to to the EXCLUDE statements.
    Message was edited by:
    Pierre Forstmann

  • How do I create a new folder in my documents?

    Hi there, I'm new on Mac.
    How do I create a new folder when I want a new folder in my documents?
    I also want to create folders on an extern harddrive, but I can only create a folder on the launchpad...

    See my orginal post - it answered the OPs question just fine:
    When you have any window open, you can press the Shift-Command-N keys to create a new untitled folder. Same with on an external hard drive. Also works on the Desktop.
    Maybe I should have said, to your reply:
    "and you don't have to open any windows to use the command on the Desktop."
    Would that have worked for you?
    Clinton

Maybe you are looking for

  • I have a hp officejet 4620 e-all-in-one printer. I can get it to print, fax but not scan.

    Product #CZ152A Ran scan utility to fix problem Downloaded driver as requested Still keeping an error message and won't scan from my computer

  • Google web page not displaying correctly

    Since updating to v24.0 of Firefox (desktop) the Google web page does not display correctly. If I use the IE tab 2 in FF or even IE10, I see the pagwe in it's full 'glory' including the black menu bar across the top were you can select Gmail or Calen

  • Can we use Skype for Web on our own websites.

    Hi all Tried to connect with someone on the Skype team but failed so far, so thought I would ask here.  Last year, we ran an on-line conference called SP24. The conference was a 24 hour conference all about SharePoint. In total we had 8000 attendees

  • Is there a property for record count?

    I want to navigate to another block if the current record is the LAST record. I can get the value of the current record but can't figure out how to get the value of # of records returned. Surely there's a block property for this, but I can't find it!

  • Why is my Mexico isp address rejected by US websites

    I live in Mexico and use Prodigy as an ISP. Experian rejected my request for a credit check stating that it didn't accept requests outside of the US. Is there any way I can get around this?