Is it possible to save document selection as Channel mask-?

Hi Everyone:
Is this possible to script.
1. save document selection as Channel mask…?
2. how do we get selection from layermask..?
Thanks is advance.
-yajiv

ad 1)
If you mean a Channel:
app.activeDocument.selection.store(app.activeDocument.channels.add())
ad 2)
if the Layer is selected this should load the Layer Mask as a Selection:
// =======================================================
var idsetd = charIDToTypeID( "setd" );
    var desc12 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref8 = new ActionReference();
        var idChnl = charIDToTypeID( "Chnl" );
        var idfsel = charIDToTypeID( "fsel" );
        ref8.putProperty( idChnl, idfsel );
    desc12.putReference( idnull, ref8 );
    var idT = charIDToTypeID( "T   " );
        var ref9 = new ActionReference();
        var idChnl = charIDToTypeID( "Chnl" );
        var idChnl = charIDToTypeID( "Chnl" );
        var idMsk = charIDToTypeID( "Msk " );
        ref9.putEnumerated( idChnl, idChnl, idMsk );
    desc12.putReference( idT, ref9 );
executeAction( idsetd, desc12, DialogModes.NO );

Similar Messages

  • Is it possible to save documents in pages as .docx?

    Hi have just installed the app "pages" on my ipad. In combination with WebDav nav I can change Word documents on my ipad and synchronize to my laptop.
    On my laptop I use Microsoft Office 2010, documents are saved as .docx. Is it possible to save documents in pages with extension .docx (I can only see .doc opttion for Word).
    Kind regards,
    Saskia

    The answer is not "no". The best answer is probably DropBox. You install DropBox on your phone and on your computer. You save/copy the documents you want to keep in DropBox and on your phone you can open them. Better still, DropBox for iPhone and iPad permits you to "start" the file, which makes a copy and keeps it directly on your device (instead of downloading each time).
    You can put PDFs, Microsoft Word Docs, Excel Spreadsheets, iWork documents, images, movies, HTML, plain text, etc. and view them on your phone and take them with you. Not only that, but you can also access them from any computer using a web browser (in case you lose your phone). I do this with my travel docs all the time,
    The other answer is that the iBooks app permits you to load PDFs into it through iTunes. Take your PDF and drag it into the the iTunes window to add it to the Books library in iTunes. Then, connect your iPad, select which books you want to sync (in this case, the "Books" are your PDF documents), and sync. Ta-da -- your files in iBooks. It should be noted that DropBox permits you to copy PDF documents into iBooks too (and images into the Photos app).

  • Pshop Assignment:  "Save one selection as channel" - what does this mean?  Help!

    I am in a Pshop class and have made a composite photo using 7 photos and layer masks.  Here it is so far.
    In the assignment it says "Save at least one selection as a channel".
    I know I can select a fish, for example, and then Select / Save Selection and it will save it as a channel.  What I don't know is why I would want to do this.  Could someone explain what Saving as a Channel is and how I would use it in this pic?
    Thanks,
    Gary

    JJMack,
    Thanks for the reply.  I think I am understanding but still unclear about a few things.
    I make a selection in the main document and Select / Save Selection.  When I click on the Channels tab, here is what I see.
    I know I can now fine tune the selection via brushes or whatever.  What I don't understand is what I can do with it at this point.  If I do a Cut / Paste to put that fish in another document, for example, all I get is the mask.  If I want to duplicate that same fish in this document, again all I get is the mask with a cutout where the fish should be.  So on one level, I guess I know "how" to make a selection for this project.  I just don't know what to do with it now that I have done it.
    I have read other tuts where they say this is a great way to save your work - like if you are cutting stuff out but not done and will come back to it later.  But I know I am missing something because once selected, I don't know what else I can do with it.  And now that I am doing things in layer masks, it seems like cutting stuff out is not the preferred way since it is destructive and that using a layer mask is better because you can always go back to the original and just modify the mask if you need to.
    Thanks for anyone's responses.  I was fully understanding Pshop up until this point.  Saving as a Channel baffles me.
    Gary

  • How to copy a selection in channel mode?

    I have photoshop cs6, and I was just wondering how to save a selection in channel mode.
    So for example (below), If i wanted to only copy the part of this picture that has white and the plant in the picture how would i do this? I've tried colour range but it didn't work so I am very stuck. Please help! Thanks

    The problem is that you are still editing the alpha channel, which can be usefull too.
    So before attempting to copy or edit, you need to go back to the layers pallete. Here's how it would look step by step:
    - go to channels pallete
    - highlight Alpha 1
    - Click "Load Channel as Selection"
    - once the selection is active (running ants around the vase), highlight the RGB channel
    - go back to your Layers pallete
    - copy/paste the selection as needed (or hit crtl+J) to copy the selection to its own layer
    - duplicate the layer as needed
    so basically, before trying to copy, you first need to go back to the layers pallete, after loading the selection
    hope this makes sense, please post back if this doesn't work.

  • Is it possible to save a document both locally and to iCloud

    Good evening Ladies and Gents!
    Is it possible to save a Numbers document both locally on my Mac's HD and to iCloud so I can access it on my phone when I'm out and about?
    Thanks in advance.

    Is your MacOS X version in your signature still current (OS X Mavericks (10.9.1)?
    What you want to do will be easiest with Yosemite and iOS 8 on your iPhone. Then you can store iWork documents on iCloud Drive and access them on your mobile devices, but also locally on your Mac. See this support document:   iCloud Drive FAQ
    With Mavericks you can use Documents in the Cloud:  See this support document:   iCloud: About using iWork for iOS and iCloud

  • Is it possible to save other documents like photoshop and illustrator files on icloud

    Is it possible to save other documents like photoshop and illustrator files on icloud

    Not unless you buy an app that accesses data from an iTunes backup.  Check in the app store.

  • Is it possible to save your iTunes/iPad sync selection?

    Hi,
    Basically, as the subject line suggests, is it possible to save/restore a list of albums/artists/playlists, etc. that I have selected to sync with my iPod, so that I can have multiple sync lists? i.e. a sync list for when we are on holiday, a sync list for when I'm on my own, my wifes sync list for when she wants to listen to her choices, etc.
    Would the sync selection be stored in some kind of Library file somewhere? If it is, perhaps a simple Applescript to save and restore the file would do the trick?
    Thanks for any help.
    Mark.

    Create playlists and sync only those playlists to the iPad.
    Then add/delete from those playlist as desired to change what is on the iPad.
    Or simply change the playlists you wish to sync.

  • Is it possible to save a document as the microsoft office version of it?

    ive been working on a project on my ipad and was wondering if its possible to save it as a word document

    If you are working with a iPad word processing app, "yes." Either save to iDisk in Word format or email it to yourself in Word format.

  • When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF?

    When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF? Currently when I have a Framemaker book that I want to save as a PDF, I choose Save Book As and then choose PDF for the file format. A dialog box comes up in which I can choose the Bookmarks tab and choose which tagged content I want to be made into bookmarks in the PDF file. What if I would rather have the filename of a document rather than the chapter title be a bookmark in the PDF? Is that possible? Where would I choose that option? Thanks!

    There are two ways that you could do this. You can either use postscript text frames and enter the correct pdfmark entries to show the file name with the corresponding actions (i.e. where to go in the PDF) or you can use hidden text in FM and the "Filename (Short) " variable in a unique paratag to be picked up by FM's bookmark creation.
    To go the pdfmark route, see http://www.pdflib.com/fileadmin/pdflib/pdf/pdfmark_primer.pdf for details and also consult the Adobe Pdfmark Reference manual (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdfmark_reference.pdf).
    The hidden text route would use FM's Color Views to specify a colour as Invisible. This will make the content visually disappear from the screen (and any output), but FM will still be able to read the contents of any text that is coloured with the Invisible colour(s).
    1. Pick or create a colour that you want to be invisible. [Magenta is usually a good bet and stands out visually].
    2. Set that colour to be invisible in View 1 and visible in View 6. [you can use the shortcut <esc> v 1 and <esc> v 6 to toggle between the views.]
    3. Create a paratag to use for the filename and set the font colour to use the invisible colour.
    3. In the title of each chapter file, drop an anchored frame that is set to be outside of the text frame [so it won't interfere with any other content].
    4. In that AFrame, insert a text frame and use the invisible paratag defined in step 3.
    5. Insert the Filename (Short) variable in that text frame.
    6. Repeat steps for all files to be included in the bookmarks.
    When creating the PDF bookmarks, select only the paratag used for the invisible colour.
    Don't forget to toggle the View to be invisible (i.e. <esc> v 1  - this also works at the book level for all files in the book).

  • Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?

    Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?
      Now a days we are saving / extracting data in a excel spreadsheet, but we would like to do that using a database because it is better.

    You can use ODBC connection to work with SQL Server database.
    Use SQLExec object to execute the SQL statement. Here is a KB about the SQL statement.
    http://digital.ni.com/public.nsf/allkb/4ADEEA04CD24AE0B862565E20002A16F?OpenDocument
    To write data to spreadsheet is more straightforward because Lookout has built-in spreadsheet object. But you need to write SQL statement by yourself to interact with other database.
    To read the data back is the same way. Just use "select" SQL statement to query. You can use Datatable object to query.
    The "Data Source" can be "DSN = data source name;". The data source name is configured in Control Panel->Administrative Tools->Data Sources(ODBC).
    Ryan Shi
    National Instruments

  • Document selection in Automatic Payment program F110

    Hi Experts,
    Is is possible to use document number as selection criteria for automatic payment program (F110). Currently the options available are Vendor and Customer, In the "free selection" tab  we can enter only one document at a time. Is it possible to select multiple documents for payment?
    Thanks and regards,
    Achal

    Hi,
    It is possible to enter multiple documents.
    You can enter a list of single documents or in intervals.
    Enter the document number in ascending order.
    Ex:
    Individual documents.
    10001,10003,10011
    If the documents are in a sequence you can enter the Interval like this
    (10001,10011)
    Hope it helps you
    Regards
    Andrew
    Edited by: Andrew J on May 28, 2009 4:26 PM

  • How to save a selection in Portal (as a view)

    Hi,
    I have a question concerning the BI Portal. We use a template containing one analysis table and one filter pane item. So, when the user is in the portal and makes different selections in the filter area, is there a possibility to save tis locally or user specific in Portal?
    Thanks

    Hi Sandra,
    I think its not possible.
    Its a temporary selection.
    If u have any variable on a char which is in filter..u can give the values and save them as Variant in the Portal.
    Regards,
    Ram.

  • Xformbuilder error ... Could not save document Name/Name-Schema.xml

    Hello everyone,
    We're using 7.00 SP14 and I have a problem with the xml forms builder on one of our systems. We're having a 3 system landscape - all three are on the same patch level etc.
    I was able to create a new xml form on one machine, unfortunately it doesn't work on our P-system. I tried to create a new form as well as copied an existing one - with the same error result.
    While saving a project the following errors appear:
    The following error occured when saving the schema: Could not save document Name/Name-Schema.xml. Reason: Operation is not supported
    The project could not be saved on the server. Do you want to save a local copy?
    Oct 13, 2008 2:45:43 PM - (ERROR)com.sapportals.wcm.app.xfbuilder.server.ServerManager :Could not serialize document: Operation not supported
    Does anyone know what the problem is? I'd appreciate your help, thanks.
    Sincerely,
    Susanne
    Okay I just found out that it's not possible to create a new folder in KM under xmlforms. That's working on the other 2 systems quite well. I have all the admin roles but somehow somewhere somewho must have restricted that. We found out that ice, etc, runtim, entry points and maybe even a few more aren't setup to create new folders in there. Does anyone know where/how to change that? It doesn't work with Details - permissions etc.
    Edited by: Susanne Zahn on Oct 13, 2008 3:40 PM

    For anyone who's interested in the solution.. there you go.
    14.10.2008 - 17:53:00 CET - Antwort von SAP     
    Dear customer,
    Can you please check whether the repository /etc is in read-only
    mode?
    Please navigate to -
    System Administration -> System Configuration -> Knowledge Management
    -> Content Management -> Repository Managers -> File System Repository
    There you can see the checkbox for "read-only".
    Please insure that this is not ticked. If it is, please uncheck it
    and building/saving the project again.

  • Is it possible to save as EPS file?

    I am making a logo using a couple of different fonts - no graphics. Is it possible to save as EPS file? Or, if not - is there a way to export it to another program that will save it as EPS file?

    OP - here is a thought.
    First, a Photoshop PDF with transparency is acceptable for InDesign. But many people want a flattened format to place in older programs such as Quark 6, or Pagewrecker.
    They often use EPS. Photoshop will outline all fonts in the EPS output. Also with EPS you do not have a dual file format, so you must save a copy. These are two fundamental differences between Photoshop EPS and Photoshop PDF.
    Here is another option if you need flattened output, but you still want the PSD info wrapped in a single file.
    Save as Photoshop PDF, layers checked.
    Select "PDF/X-1a" preset. By the standard, choose "None", When you do this "Photoshop Editing Capabilities" should default to enabled (if not, enable it)
    When you save in this fashion, you are saving a flattened PDF output with vector data for other applications, but you also retain the native Photoshop file. This file can be opened for editing in Photoshop and can also be opened for evaluation in Adobe Acrobat.
    Please, please be wary of Photoshop fonts. The fonts are embedded subset in the PDF, but sometimes you encounter glyph width errors when preflighting the PDF in Acrobat.
    Photoshop has vector capabilities, but these capabilities are half - baked. Each and every font glyph becomes a clipping mask for pixel data. Not an ideal construct. For some RIPS, Photoshop fonts can blow up like dynamite.
    I'm not trying to discourage utilizing Photoshop vector. But if possible, set your type in InDesign or Illustrator, it's safer in the long run.

  • Is possible to save a vector.pdf with smart object?

    Hi PS masters
    I am finishing a poster, fully created in shapes in illustrator. Due to customers request I was forced to do some color corrections so I decided to use my PhotoShop CS6.
    I imported vector files into my photoshop as smart objects, added some adjustments layer, few vector masks and I changed their layer style to get the finest result.
    When I finished my work in PS I tryed to save this as .pdf
    In my .psd there are shape layers, some groups and some adjustments layers with layer masks and changed Layer style to "color", one text layer and 3 smart objects imported from illustrator.
    I want to keep my image scaleable for bigger resolutions.
    ... So I was trying to save this file as Adobe PDF but I found that whole graphic in exported .pdf was converted to raster, besides the border, cut marks and that one text layer.
    I think that this is becuase of smart objects. (saving as .pdf without them works pretty good)
    Now finaly my question.  Is somehow possible to save this document from photoshop as vector.pdf? or is possible to import group of shapes from illustrator to photoshop as shapes in photoshop? no as smart objects.
    I am running out of time so I saved it as high res .Jpeg, but I want to know if this is somehow possible for future use or If I have to rather avoid that solution.
    Thank you very much for your reactions
    // I just thought if I can use InDesign for that. Will be included .pdf file as raster? or it will stay scaleable even with smart objects in it?

    I am sorry but I don't have vector files right now (I'm on another PC), but I can show you "old" version of a poster, where you can see parts of their structure

Maybe you are looking for

  • My ipod touch was trying to update and is now broken how do i fix it

    My ipod touch was trying to update but wouldnt finish so i tryed restarting it, it is now frozen on a white screen, wont restart properly, and itunes wont read it. How do i fix it and whats wrong with it??

  • Utl_smtp   and  problem with french language characters

    Hello, I am using utl_smtp to send email. Here is part of the proc: First try: mail_conn := utl_smtp.open_connection(mailhost, 25); utl_smtp.helo(mail_conn, mailhost); utl_smtp.mail(mail_conn, sender); utl_smtp.rcpt(mail_conn, recipient); utl_smtp.op

  • How do I split open an iMac?

    My 24 inch iMac has died. It seems that the power supply is the culprit. Without knowing for sure, I am going to open the back of the computer and take a look. Perhaps there is something as simple as a blown fuse. Task one is to figure out how to spl

  • How long for the 1st charge

    how long should i charge my nano for the first time

  • Permissions on server

    Hi all, I have a small network with an OSX 10.3 Server sharing a RAID drive amongst ten or so 10.4 Macs. Each of the Macs belongs to a group on the server, and everything works beautifully. I recently upgraded one of the Macs (mine) to 10.5. When I l