How to copy active documentname to clipboard

Hi,
I need a script for PS which will copy active document name to the clipboard, which then have to manually'll put myself as the text in the picture.
Reading the document's name I've already got:
MyDoc = app.activeDocument.name;
but I can not cope with this copy. I should be grateful for any help and suggestions.
Yours
Rafal

There used to be a Script around called »AddFileName.js« that may help, though it did not go through clipboard but just created a text layer.
http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.apps.photoshop/2005-11/msg00309 .html

Similar Messages

  • How to copy richEditableText content to clipboard??

    i want to copy a richEditableText content to the system clipboard
    i wrote this:
    System.setClipboard( myRichEditableText.content );
    but...... the parameter must be a string .......
    could anyone teach me how to do that @@?

    thx a lot.  : )
    i've met a trouble again, could u help me?
    if i have a variable
    public var myVar:String == "xxxx"
    and i wanna add this string variable to a textFlow  , what should i write??
    <s:TextFlow>
    <s:p><s:span>
    </s:span></s:p>
    </s:TextFlow>
    doesn't work T.T ....
    2010/3/3 Vikram_S <[email protected]>
    Hi,
    >
    http://help.adobe.com/en_US/Flex/4.0/langref/spark/components/RichEditableText.html#conten t
         Please go to this link. Here they have mentioned to use textFlow
    property.
         You can get content form textFlow use deepCopy() method.
    >
    http://help.adobe.com/en_US/Flex/4.0/langref/flashx/textLayout/elements/FlowElement.html#d eepCopy%28%29
         This will return FlowElement. Using FlowElement you can get text.
    toString method.
    >
         This should help you...
    Thanks,
    Vikram
    >

  • How to copy terminal output into clipboard

    Good morning.
    Sorry for posting this topic in mavericks, but there is no standard software part...
    Ok.
    I use the screen command in terminal to communicate with a serial interface.
    The problem is, when the output is too long I can't see the beginning of ot , because screen only writes at the screen size of terminal and the user is not able to scroll above ... if u try this, u'll see earlier history of terminal.
    It would be helpful to copy an output to the clipboard so I can paste it in vim, gedit, pages,... whatever.
    I tried:
    <command> |xclip
    <command> |pbcopy
    but both commands weren't found and have not worked yet.
    Who can help me? :-)
    Thanks in advance.

    When you in a 'screen' sesssion, everything you type is going to the serial port you are controlling, so normal Mac OS X commands are not going to apply, including pbcopy.  If the serial device you are talking to is another Mac, then at best you would be telling that Mac to put the output into its paste buffer, which will not do you any good on your Mac.
    The fact that you found <command> | less works, implies that your serial port is connected to a Unix type system.
    Accourding to "man screen", screen has its own scrollback history buffer.
    It also has the ability to log screen output to a screen.<n> file where <n> is the screen number.
    Once you have something in a log file on your Mac, you can then extract the information using any utilitiy you want (nano, vim, gedit, pages, cat, grep, awk, perl, etc...), including pbcopy if that is the way you want to go.
    NOTE:  While I've used screen years ago, my use was very minimum and I never became all that good at it.  My initial use was to preserve sessions when comm-lines were unreliable and screen would let me reconnect and continue the existing session, but they were not so unreliable that I spent that much time using screen.

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

  • How to copy the payload from onMessage Activity in BPEL interface

    Hi All,
    how to copy the payload from onMessage Activity in BPEL interface when it is there at the starting of the process and when clicking on the OnMessage Activity
    i'm able to see the View XML Document link. By Clicking on View XML Document Payload is getting opened for me but at this point i'm not able to copy the payload and more over the scroll bar is also not there.
    When i'm saving it as .xml i'm able to see the payload but not in an xml format.
    When trying the payload in SOAPUI it's not getting reformatted.
    How can we solve the issue.
    Regards,
    CH

    The input payload can be seen from "Audit Trail" tab and "Flow" tab of any BPEL instance. The XML shown in "Flow" tab are not rightly formatted XMLs and you may not able to copy them "as is" to a text editor. But, the XML shown in "Audit Trail" should be in the right XML format and you should be able to click on any audit trail entry and copy the XML payload to a text editor. soapUI should also be able to format such XMLs without any issue. Just make sure that you don't overwrite soap header/body section when pasting to soapUI request.

  • How to Copy a value of a String to the RAM memory?

    Hi there,
    I was wondering how to copy a String into the ram memory (consider you're doing right click on THIS word and choose 'Copy'; the String's Value will be to the ram memory for a later Paste).
    In my application, a user has a table and he right click on it and choose Copy. I get the value of the item (Obj) but face dificulties to add it to RAM.
    my code looks like this:
              if (obj!=null)  //inside I have the value (say: 12345 --< Obj.toString)
                   Action copyAction = TransferHandler.getCopyAction();
                   int id = ActionEvent.ACTION_PERFORMED;
                   String name =  (String) copyAction.getValue(Action.NAME);
                   long l = EventQueue.getMostRecentEventTime();
                   copyAction.actionPerformed(new ActionEvent(XXXXXXX, id, name, l ,0));     
                            ///what comes in the XXXXXXX      
              }I tried, instead of the XXXXXXX, to put Obj or Obj.toString but...nothing.
    Anyone?

    Thanks,
    should implement ClipboardOwner
    and do this:
                  StringSelection stringSelection = new StringSelection( obj.toString() );
                  Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
                  clipboard.setContents( stringSelection, this );
    @Override
         public void lostOwnership(Clipboard clipboard, Transferable contents)
              //do nothing!
         }

  • ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode

    Hi All
    Its my first time to use RMAN in our ERP EBSR12
    our database version is 11g
    Please help how to resolv and make successfully backup
    RMAN> backup database;
    Starting backup at 24-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/24/2011 11:18: 25
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 24-JAN-11
    channel ORA_DISK_1: finished piece 1 at 24-JAN-11
    piece handle=/oracle/mybackup_db/PROD2/backupset/2011_01_24/o1_mf_ncnnf_TAG20110 124T111824_6msvw4cv_.bkp tag=TAG20110124T111824 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/24/2011 11:18: 25
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    RMAN>
    Thanks

    ORA-19602: cannot backup or copy active file in NOARCHIVELOG modeIs your database in archivelog or noarchivelog mode?
    How to Turn Archiving ON and OFF [ID 69739.1]
    Please also see these docs/links.
    ORA-19602 Using RMAN to Backup Database [ID 246183.1]
    COLD RMAN backup fails: Ora-19602 even after SHUTDOWN IMMEDIATE and STARTUP MOUNT [ID 373828.1]
    Backup & Recovery
    http://www.oracle.com/pls/db112/portal.portal_db?selected=14&frame=#backup_and_recovery
    Thanks,
    Hussein

  • How to Configure Active-Passive oracle cluster in Windows 2008 R2 64bit Server.

    How to Configure Active-Passive oracle cluster in Windows 2008 R2 64bit Server With Oracle 11g R2.
    How many database will play in this role.
    Best,

    hello
    I was going through your post and i am also doing the same thing here at our organisation for Oracle 10g R2
    Can you pls send me any docs u r having for configuration of Oracle in windows clusters .
    And, can you pls elaborate on this point
    e)Create Oracle Service with the same name in the 2nd node and copy all the files like spfile,tnsnames.ora,listener.ora,password file to Node2.
    Pls send me the details at [email protected] or you can contact me at 08054641476.
    Thanks in advance.

  • Why am I unable to copy and paste from clipboard?

    I am able to copy text from Safari on iPad 3, but it is not saving to clipboard because I am unable to paste it (no paste option comes up when I tap). Sometimes it also pastes a previously copied text from the clipboard instead. How can I fix this?

    but it is not saving to clipboard because I am unable to paste it (no paste option comes up when I tap).
    you would benefit from telling where you are when no paste option comes up with you tab because it's up to the app if they support paste at all

  • Copy Layer Name To Clipboard?

    Hi, I've been searching for a way to copy the active layer name to the Windows Clipboard, I'm hoping this a quick solution. What I've managed to do so far is to open the layer properties dialog box, then hit 'CTRL+C' to copy the layer name (because the layer name is already highlighted at this step), and then this successfully copies the layer name to the Windows Clipboard.
    But I find that when the system is under load, the layer properties dialog box is sometimes slow to open, and even so, it seems like it's an extra step that could be eliminated.
    I searched through the keyboard shortcuts, and also through all the layer menus for a keyboard shortcut to just 'copy layer name to clipboard' but can't find anything.
    Anyone know if there's a quick keyboard shortcut to do this or perhaps a quick script that will just copy the layer name?
    Thanks in advance..

    here's actually a script that will display the active layer name in a message box. The catch is, it takes up to 3 seconds to run it -I wonder if there's a way to compress  the script so it runs faster? Nonetheless here it is, so I'm wondering if there's a way to insert a "CTRL+C" somewhere in the script so it will just copy the layer name and skip the message box part at the end.....
    var sLayers = getSelectedLayersIdx();
    var Names = new Array();
    for (var a in sLayers){
        Names.push(getLayerNameByIndex( Number(sLayers[a]) ) );
    alert(Names.join('\n'));
    function getLayerNameByIndex( idx ) {
        var ref = new ActionReference();
        ref.putIndex( charIDToTypeID( "Lyr " ), idx );
        return executeActionGet(ref).getString(charIDToTypeID( "Nm  " ));
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
             desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                try{
                   activeDocument.backgroundLayer;
                   selectedLayers.push(  desc.getReference( i ).getIndex() );
                }catch(e){
                   selectedLayers.push(  desc.getReference( i ).getIndex()+1 );
           }else{
             var ref = new ActionReference();
             ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
             ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
             try{
                activeDocument.backgroundLayer;
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
             }catch(e){
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
         var vis = app.activeDocument.activeLayer.visible;
            if(vis == true) app.activeDocument.activeLayer.visible = false;
            var desc9 = new ActionDescriptor();
        var list9 = new ActionList();
        var ref9 = new ActionReference();
        ref9.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        list9.putReference( ref9 );
        desc9.putList( charIDToTypeID('null'), list9 );
        executeAction( charIDToTypeID('Shw '), desc9, DialogModes.NO );
        if(app.activeDocument.activeLayer.visible == false) selectedLayers.shift();
            app.activeDocument.activeLayer.visible = vis;
          return selectedLayers;

  • How to copy a table from one system to another system

    Hi all,
            can any one say how to copy table from one system(sys1) to another system(sys2).
    regards,
    nagaraj

    There are many ways.
    1. Use the already existing transaport request number for that table to do the transaport (Active)
    2. Create mannual transport request from SE01 and in the object list enter following
    R3TR -- TABI -- <Table Name>
    And do the transaport.
    3. Ask your basis consultant to do the transaport from oracle layer.
    Thanks,

  • How to copy infocube with all the transformations?

    Hi,
    how to copy an infocube with all its transformations?
    or could i renamed / give other technical name to the cube?
    thanks.

    >
    einie zainal wrote:
    > Hi,
    > how to copy an infocube with all its transformations?
    > or could i renamed / give other technical name to the cube?
    >
    > thanks.
    After Create InfoCube, a screen will appear for you to key in information/name of the InfoCube. There's a box "Copy From", insert the original InfoCube name you intend to copy from.
    After successfully activation of the new Infocube. Return to your old InfoCube, right click on its transformation, click on Copy. A new screen will appear, here you will key in the new Infocube name in the Target of the Transformation field.

  • How to copy sap standatd report to add fields and to make it work

    Hi experts,
        Can you tell me how to copy the sap standard report to add fields.
    I copied regular way including all includes also, but the porgram not activated and also every field started with %
    exp : data %dtab type standard table of /1BCDWB/IQ000000008078 with header line.
    Thanks

    Local object yes.
    I realise you're not an abaper, but if you got one in, he could simply create a subclass of /SAPPSSRM/CL_FY_NUMBER  (assuming it's not been made final) and override only the method that needs changing.  ( if it is final, then you have to use composition, but again, that's pretty straight forward ).  The point is, that copy a class rarely, if ever, needs to be done.  That's one of the major points about using classes.  If you use subclassing or composition, only small amounts of code need to be copied - which means if SAP change other bits in a new release, you automatically get them, thereby reducing the risk of an upgrade mucking up your cloned class.
    I'd be extremely nervous about having any code that had been implemented by a non-developer, being put into productive use.
    matt

  • Unable to copy text values in CLipboard in Ubuntu 8.1

    Hi all ,
    Im using the following code to copy the text:
    import java.awt.Toolkit;
    import java.awt.datatransfer.Clipboard;
    import java
         .awt
         .datatransfer
         .StringSelection;
    import java
         .awt
         .datatransfer
         .Transferable;
    public class TextWriter {
         public static void writeToClipboard(String writeMe) {
              // get the system clipboard
              Clipboard systemClipboard =
                   Toolkit
                        .getDefaultToolkit()
                        .getSystemClipboard();
              // set the textual content on the clipboard to our
              // transferable object
              // we use the
              Transferable transferableText =
                   new StringSelection(writeMe);
              systemClipboard.setContents(
                   transferableText,
                   null);
         public static void main(String[] args) {
              System.out.println(
                   "Writing text to the system clipboard.");
              String writeMe =
                   "I'd like to be put on the clipboard";
              writeToClipboard(writeMe);
    }After running the application when I try to paste it in GEDIT , it is not pasting .
    Also in menubar the PASTE is also not getting enable.
    Can anybody tell how to copy text .
    OS used Ubuntu 8.1 and java version 1.6 update 10
    Thanks and regards
    Anshuman Srivastava

    Copy cannot be disabled to my knowledge. Did you try quitting Safari and resetting your iPad? To quit an app double click the Home button to reveal the row of recently used apps. Flick up on the page preview and it will fly away and disappear. That quits the app. Then Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.

  • I can not find out how to copy and paste firefox does not allow it

    Firefox does not allow me to highlight html documents when on line and then copy and paste
    When I left click to highlight it just moves a ghost copy of the whole document away from where you begin.
    I can not find out how to copy and paste firefox does not allow it

    What is your Operating System?
    How do you highlight the HTML document and copy the selected text to the clipboard?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

Maybe you are looking for

  • Office 2010 deployment - Bypass/Skip if Office 2013 present

    We have predominantly Office 2007 installed thought out environment and I now have a working Office 2010 app deployment package. Now I am finding that we have a few systems that already have Office 2013 and I'd like to bypass any system that already

  • Error while using autotype task

    Hi, We are using a custom exception class which is extended from java.lang.Exception. When using with autotype weblogic ant task it gives following error. I am using weblogic 8.1 SP4 weblogic.xml.schema.binding.BindingException: No default constructo

  • Migrate tomcat application to oc4j

    hello, i want to migrate an application built with jsp and structs from tomcat to oc4j. where can i found documentation about that? regards,

  • AddChild problem  ---  Urgent

    Hi, We are developing one application in which at present we are in need of transactions with the XML file. All these days we were only reading from the XML file and passing it on to the client after processing it in our EJB server program.. But, the

  • Keyword search Fails

    I am using Lightroom on a MacPro. All of my pics are labeled with keywords. When I try to search by selecting a keyword from my list on the Right, all images are deleted from the grid view and nothing is found. I have checked many individual pics to