How to delete layer

Hi,
I am writing my own Illustrator scripts.
How do I write a script to delete layer with ".ARD" name.
MOhan

try {
    app.activeDocument.layers.getByName( '.ARD' ).remove();
} catch (e) {};

Similar Messages

  • How to delete the child record from the database

    how to delete a parent and child record from the database can we do it in the servlet and my database is oracle

    I'm not sure I understand the question but you could certainly use the JDBC API from within your servlet to access and modify a DB. You could also use an EJB layer to access your DB and accomplish the same tasks.

  • How to delete multiple rows from ADF table

    How to delete multiple rows from ADF table

    Hi,
    best practices when deleting multiple rows is to do this on the business service, not the view layer for performance reasons. When you selected the rows to delete and press submit, then in a managed bean you access thetable instance (put a reference to a managed bean from the table "binding" property") and call getSeletedRowKeys. In JDeveloper 11g, ADF Faces returns the RowKeySet as a Set of List, where each list conatins the server side row key (e.g. oracle.jbo.Key) if you use ADF BC. Then you create a List (ArrayList) with this keys in it and call a method exposed on the business service (through a method activity in ADF) and pass the list as an argument. On the server side you then access the View Object that holds the data and find the row to delte by the keys in the list
    Example 134 here: http://blogs.oracle.com/smuenchadf/examples/#134 provides you with the code
    Frank

  • How to Delete a Pattern? Plz Help.

    Hello:
    OS: Windows 8 64bit  Photoshop CC
    I made a few patterns and went to Edit > Define Pattern and named it.
    Then I made a new document window and made a shape and then used the Layer Styles to try out my new pattern as an overlay.
    The pattern was there which was great. (Excpet I'm uncertain of how exactly it saved).
    I made some more variations of the pattern.
    Now, there are a few within the set that I don't like at all and would very much like to delete them. But, everything I have tried to delete them hasn't worked out.
    The oddest thing to me is that when I go to Program Files > Presets > Patterns the pattern isn't there and It's not in Program Files (x86) either.
    I have tried the Preset Manager. I have tried every possible way in which one can access the patterns but nothing is working out.
    When I Delete from the Layer Styles panel and then load a new set and then return to the set I made the individual patterns I want gone, and have Deleted, return every time. The Preset Manager won't seem to let me delete the pats either.
    I do not want to lose the entire set just a few individual pats.
    Also, I have made some new patterns which I would like to save but now when I try to save them I am told that i do not have permission to save in that location - of which is program files > presets >patters and that i need administration permission and then it asks if i want to save in: Kara which is the name of my computer. ()
    (why isn't this more intuitive?)
    Yes, I have read the manual ... that is what said to do it the way that's not working.
    Can someone please help me? It's all driving me quite NUTS.
    Thank you in advance for your time!! Much appreciated!!

    hi chris
    thank you for your time.
    i have read what little i can find about the preset manager. i cannot find any info on how to Delete.
    was just returning to say i figured out the save thing from the manual ... which oddly... is hard to find b/c when i click on Photoshop CC manual ... nothing about Patterns is listed.

  • Delete layer mask and not image?

    I create a layer mask on a layer and then I duplicate the layer and I want to delete the layer mask on the duplicate layer, though keep the image part. I select the layer mask and hit delete, though it deletes everything on the layer. How can I keep the image portion of the layer?
    Thanks.

    There are several ways including dragging the layer mask to the trash icon
    at the bottom of the layers panel (pick delete in the dialog that pops up)
    or right clicking on the layer mask and choosing Delete Layer Mask.
    MTSTUNER

  • How to delete file from client machine

    Hi all,
    we are using the DataBase: oracle:10g,
    and forms/reports 10g(developer suite 10g-10.1.2.2).
    can anybody help me how to delete the file from client machine in specified location using webutil or any
    (i tried with webutil_host & client_host but it is working for application server only)
    thank you.

    hi
    check this not tested.
    PROCEDURE OPEN_FILE (V_ID_DOC IN VARCHAR2)
    IS
    -- Open a stored document --
    LC$Cmd Varchar2(1280) ;
    LC$Nom Varchar2(1000) ;
    LC$Fic Varchar2(1280);
    LC$Path Varchar2(1280);
    LC$Sep Varchar2(1) ;
    LN$But Pls_Integer ;
    LB$Ok Boolean ;
    -- Current Process ID --
    ret WEBUTIL_HOST.PROCESS_ID ;
    V_FICHERO VARCHAR2(500);
    COMILLA VARCHAR2(4) := '''';
    BOTON NUMBER;
    MODO VARCHAR2(50);
    URL VARCHAR2(500);
    Begin
    V_FICHERO := V_ID_DOC;
    LC$Sep := '\';--WEBUTIL_FILE.Get_File_Separator ; -- 10g
    LC$Nom := V_FICHERO;--Substr( V_FICHERO, instr( V_FICHERO, LC$Sep, -1 ) + 1, 100 ) ;
    --LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
    LC$Path := 'C:';
    LC$Fic := LC$Path || LC$Sep || LC$Nom ;
    If Not webutil_file_transfer.DB_To_Client
    LC$Fic,
    'TABLE_NAME',
    'ITEM_NAME',
    'WHERE'
    ) Then
    Raise Form_trigger_Failure ;
    End if ;
    LC$Cmd := 'cmd /c start "" /MAX /WAIT "' || LC$Fic || '"' ;
    Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
    LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
    If LN$But 0 Then
    Set_Alert_Property( 'ALER_STOP_1', TITLE, 'Host() command' ) ;
    Set_Alert_Property( 'ALER_STOP_1', ALERT_MESSAGE_TEXT, 'Host() command error : ' || To_Char( LN$But ) ) ;
    LN$But := Show_Alert( 'ALER_STOP_1' ) ;
    LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
    Raise Form_Trigger_Failure ;
    End if ;
    If Not webutil_file_transfer.Client_To_DB
    LC$Fic,
    'TABLE_NAME',
    'ITEM_NAME',
    'WHERE'
    ) Then
    NULL;
    Else
    Commit ;
    End if ;
    LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
    Exception
    When Form_Trigger_Failure Then
    Raise ;
    End ;sarah

  • How to Delete the dimension from the cube ?

    Hi ,
    how to Delete the dimension from the cube ?
    i have added the new dimension by assiging one characteristic to that dimension .
    now i  want to delete it ,
    but system saying that   Dimension ZXXX  contains InfoObjects; deletion not possible .
    how to delete it ? any help .
    Thanks

    Make sure you donot have any data in cube. If you have some data in cube, then you will not be able to see Delete option.
    Right click on the cube-->Delete data.
    Then double click on the cube>Goto Edit mode> select the IO under that Dimension> right click> now you will be able to see the Delete option (provided you have deleted all the date from Cube)
    Then right click on Dimension-->Delete
    Regards,
    Pavan

  • How to delete THE WHOLE Reading List of Safari iOS 8 in one shot?

    I know how to delete individual items one by one by sliding them to the left, I know how to clear their cache in Settings and I know how to clear Safari's history but  nothing clears the whole Reading List in one stroke.
    How do you do?
    Thank you very much in advance for your answer.

    Please read this book.
    http://www.amazon.com/s?ie=UTF8&rh=i%3Astripbooks%2Cp_27%3AMatthias%20Zierke&field-author=Matthias%20Zierke&page=1
    Rg,
    Harshit

  • How to delete the one of cost centers in Splitting Structure(OKEW)?

    Dear All,
    I have a question about Splitting Structure as below? Could I get favor from you? Thanks a lot.
    How to delete the one of cost centers in Splitting Structure(OKEW)?
    Jocha

    Hi Chang
    Welcome to SDN! Its our pleasure to help you here
    Step 1: Select your Cost Center in OKEW which is assigned to the Splitting Str
    Eg: Cost Ctr 1001 is assigned to Splitting Str Z1... Tick the Check box against 1001 under Z1 Splitting Str
    Step 2: Do a Single Click on the text "Non Assigned Cost Centers"
    Step 3: Press Shift +F6 (Or Click on the Assign Button, next to the Pencil icon)
    Br, Ajay M

  • ADF Desktop Integration : How to delete the table in Excel?

    Hi,
    I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file.
    I could not find a way to delete that table.
    I deleted full row of tables and then I used different pageDef file and created a new adf table. But when I am running this version of excel, I am getting runtime exception and excel is getting corrupted.
    My question how to delete the table not corrupting the Excel.
    Thanks
    Pavan

    Pavan,,
    Welcome to OTN.
    You can delete the table by selecting the top left column (of the table) and then select delete from the ADFdi tab.
    Refer the documentation for more info.
    http://docs.oracle.com/cd/E17904_01/web.1111/e10139/get_start_dev_tools.htm#ADFDI608
    -Arun

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • Does any one know , how to delete the others in itunes. it takes lot of space

    does any one know , how to delete the others in itunes. it takes lot of space, i wanna delete that... Actually what it contains

    Those are the data of the installed apps. Don't listen if someone says that it's an iOS, because it is not. On your iPhone, go to general > usage. It will show you all the programs installed on your iPhone. If you click any of them you will see how much of "others" it has (documents and data)
    There's no way to delete it if you want to still have those apps. You can reinstal those which has the most "others" but after some time of usage, it will raise again.

  • How to delete the films in VLC in my ipad?

    I sync some films(.avi) for VLC to my ipad via itune(I bought free VLC in ipad). One problem is too slow to see in ipad, many mosaic occurred. The other problem is how to delete the films in VLC on my ipad.. there is no any button to delete, only add button..

    But what if the videos don't appear in the list under the Apps Tab >File Sharing?
    They definitely are on the iPad. I can watch them with VLC. But the VLC list is empty when I select it. Most of my File Sharing lists are blank even though I can access the files I placed on there with my iPad. (Worse, Comic Reader has a list of files but none of those files are accessible on the iPad but a completely different set is readable on the iPad!)
    Any ideas?

  • How to delete the messages in the purges folder?

    if the mailbox is enabled the single item recovery, then the messages would move from deletion folder to the purges folder After running the following script,
    Search-Mailbox dave -searchdumpsteronly
    -deletecontent
    so my question is how to delete the messages in the purges folder with some script or retention policy?
    Please click the Mark as Answer button if a post solves your problem!

    Thank you all,
    As the mailbox is enabled single item recovery.
    I just want to make the items neither in deletion folder, nor in purges folder.
    So I think there are two ways to achieve this.
    Method 1,disabled the single item recovery. then delete the items in deletion folder ,so it wouldn't enter to the purges folder, it just deleted permanently. then enable the single item recovery
    Method 2,delete the items in deletion folder,then the messages move to the purges folder, then delete the messages in purges folder.
    the Method 1 is not so good ,as it need to disable the single item recovery firstly, then enable  single item recovery .
    So I want to use the Method 2
    Please click the Mark as Answer button if a post solves your problem!

  • How to delete the Sites in SAP IS RETAIL

    hello ALL,
    can any one explain me how to delete the Sites in Sap Retail.
    thanks in advance

    Hello All,
    Delete the plant / Site complete details and put in one transport and do the import & export.
    Thanks.
    Edited by: krishna cherry on Jul 26, 2010 3:28 PM

Maybe you are looking for

  • Asset selections only allowed in repeat run

    Hi Experts, I am was posted Deprication 2009 with 12 periods from Planned posting run. When I am doing Deprication 2010 with 1 periods from Planned posting run for perticual period its work in test run u2018 T E S T R U N completed successfully , A d

  • Making a purchase for the first time, security questions are different to what I've set up?

    Hello, My friend has recently gifted me a $10 for my app store. After redeeming it, it says I have $10.00 Credit, which I assume is a good thing. Now, with this money he has sent me, I am trying to buy a Gem Pack in the game 'Clash Of Clans', this co

  • ITunes Crashed my computer!

    I am running a PC, and after installing the new version of iTunes I received a message saying installation complete, please restart your computer. After restarting my machine the screen was black and I can not even boot in safe mode. I don't know wha

  • Every time I go to use Firefox, I have to wait until I can do anything

    If I'm not at the computer, or doing something in a different window, then go to another window, as soon as the mouse hits the page, I get the spinning ball, and must wait 20 secs to a minute, until it will refresh the page, or I can then do anything

  • How I can program with PL/SQL ?

    What is the best tool of Oracle to program and debug PL/SQL? Thanks