Multiple tasks with one click

My work involves manually changing multiple lines to a different graphic style, and then moving that line to a different layer.  As it is now, I am changing the graphic styles, choosing Select < Same < Fill & Stroke, and then moving the lines to the appropriate layer.  I am wanting to know if there is a way to change the graphic style, and move the line to the different layer with one click.  I'm ignorant when it comes to scripting, but was wondering if there are any scripts that would perform this function.

You need to fully explain the setup. Otherwise, people making suggestions are just guessing. Here's my suggestion, based on what little information you have provided:
You don't need a script for this; you can do it with a set of very simple Actions. Example:
Assume your repetitive task requires three Layers, named Red, Green, and Blue. On each Layer, all objects need to have the same Graphic Style applied.
1. New document. Create three Layers. Name them Red, Green, and Blue.
2. Define three Graphic Styles. Name them Red, Green, and Blue.
3. Draw an object (any object; a square, a line, whatever). Send it to Layer Red. In the Attributes Palette, type "Red" into its Note field. (This effectively "names" the object "Red".
4. Draw an object, Send it to Layer Green. Type "Green" in its Note.
5. Draw an object. Send it to Layer Blue. Type "Blue" in its Note.
6. Draw an object on Layer Red. Select it.
7. Actions Palette: New Action. Name the Action "Red." Set its color to red. Start recording:
7.1 Edit>Cut
7.2 Edit>PasteInFront
7.3 Apply Graphic Style Red
7.4 Stop recording.
8 Actions Palette: Select the Cut step. From the flyout menu select Select Object.... In the resulting dialog, enter "Red". OK the dialog. The Action should now have a new Set Selection step listed after the Cut step.
9. Actions Palette flyout menu: Button Mode.
Now you have an Action named Red that appears as a red button in the Actions palette. Select an object. Click the button. The object is moved to Layer Red, and gets Graphic Style Red.
10. Turn off Button Mode. Duplicate the Action. DoubleClick the duplicate. Change its name to Green and its color to green. Edit its Set Selection step to select the object named Green. Replace its Graphic Style step with a step that applies Graphic Style Green.
11. Similarly duplicate and edit one of the two Actions to create a Blue Action. Put the Actions palette back in Button Mode.
Now you can select any number of objects, and then move them to the Red, Green, or Blue Layer and apply the appropriate Graphic Style wiht one click.
Now come back and reveal the specifics of your actual situation which renders all that work moot.
JET

Similar Messages

  • Create multiple folders with one click on documents tab in BP in SAP CRM

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

  • Run Multiple report with one click

    hi
    I have 60 reports with me and i want to run all 60 reports with one click. Is it possible to fire next report at the end of previous using code?????
    Any help would be appreciated

    Hi Swapnil,
    Yes it can be done in many ways. But you will need to analyze what exactally is required and what kind of reports are to be executed in sequence. WHats the report supposed to do, do they need to send some file or some data to external world, does it need to display any output?
    From within the program you can use the SUBMIT command to call each report program one after the other. Or schedule all the 60 reports in a background job such that each report is executed in each step.
    There are many other ways but i am really not sure why there is such a request? This is something really out of the odd :-).
    Hope this helps
    Cheers
    VJ

  • Creating multiple Plugins with one click!

    I have all the tracks selected to instance a plugin on those tracks, but only output, input, sends assignments are the only ones that change in one stroke.
    Anyone know why the inserts will not activate accross all my selected channels.
    Logic 7.2 on a Power PC.
    Thanks

    well you're right it says it in the manual, but not all things work as a group
    when selecting more than one audio track at a time to make them work as one, this is what is happening in my system
    Volume: works, sort of, not accurate
    Pan: no
    mute: no
    solo: no
    record enable: no, and I even set different input channels like manual said
    send Level: no
    Send Destination: yes
    inserts: no
    input: yes on audio tracks, no on instrument tracks
    output: yes
    Automation mode: yes
    group assignment: yes

  • Printing pages and links with one click

    Is it possible to print a multiple page pdf document as well as any imbedded links in that document - with one click?

    Hi Sunnihval,
    No there isn't any option to print the mails as well as attachment with one go.
    You have to manually open the attachment and print.
    Regards,
    Rave

  • Multiple selections to multiple layers or multiple files with one go ?

    Hi,
    how to convert multiple selections to multiple layers or multiple files with one go ?
    Thanks!

    You may want to ask over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
    or
    http://ps-scripts.com/bb/
    I think there are Scripts about for the task or at least ones that could be adapted without too much problems.
    The usual approach is, I think, creating a Work Path from a Selection and then using (expanded) Selections based on the individual subPathItems to intersect with the original selection.
    Of course there are possibilities for bad results …

  • Deleting multiple items in one click

    Hi Guys
    My iTunes has been reset and has for some reason added all the songs on my computer twice = about 120GB when it should only be 60GB.
    I'm sure there used to be a way to delete multiple items in one click but the only way I can seem to do it is by doing it individually after click view duplicates, this clearly isn't practical for over 5500 songs.
    Thanks for the help!

    Thanks for the answer.
    If I understand it correct, If I have an invoice of 10+ items, there is no possibility to delete 5 items for example with one click?
    I have to the delete the 5 items one by one or delete the whole invoice and start again?
    Thanks.

  • Create multiple delivery with one invoice

    Hi all,
    can you tell me how to do multiple delivery with one invoice,
    i tried in vf01 by giving their my 3 delivery nos but it is generating three invoices
    pls explain this in details
    points will be rewarded
    regards,
    smmmmmm

    Dear Sameer
    As per your requirement run the Tcode VF04 (Billing Due list) and select the Delivery Documents for which you want to to have single Billing Document by clicking on Collective Billing document/Online  Push Button in that screen.
    To Have Single Billing Document for Multiple Delivery you need to have Payer,Terms of Payment,Incoterms(part 1 and part2) same for all materials orelse the billing document will split and this split analysis is visible during creating of Billing document.
    Hope this will help you in solving your problem.
    Regards
    PSH

  • Select or deselect multiple rows with one single selection  event

    Does anyone know how to create a JTable which can select or deselect multiple rows with one single selection event in JTable. Fore example, if the table has
    row1
    row2
    row3
    row4
    row5
    row6
    What I need is when user select row1 or row2, both row1 and row2 should be set to be selected. Then if user press CTRL and click one of row3 or row4, both of them should be selected including the previouse selected row1 and row2.
    For deselection, if row1 and row2 are selected, when users deselect one of row1 or row2, both of them should be deselected.
    Hopefully someone can give me a hint.

    Here is a partial solution using a JList. Only one line gets highlighted when the user makes a selection in the list. But, two lines are returned. There is a blank line between every two lines.
         private void addLineToList() {
              String a = f_one.getText();
              String b = f_two.getText();
              if (a.length() == 0) {
                   Utils.showInformationMessage("Item field is empty.");
                   f_one.requestFocusInWindow();
                   return;
              if (b.length() == 0) {
                   Utils.showInformationMessage("Match field is empty.");
                   f_two.requestFocusInWindow();
                   return;
              model.addElement("item: " + a);
              model.addElement("match: " + b);
              model.addElement(" ");
              int size = model.getSize();
              pairList.setSelectedIndex(size - 3);
              f_one.setText("");
              f_two.setText("");
              f_one.requestFocusInWindow();
         private void editList() {
              if (pairList.getSelectedValue().toString().equalsIgnoreCase(" ")) {
                   Toolkit.getDefaultToolkit().beep();
                   f_one.requestFocusInWindow();
                   return;
              if (!f_one.getText().equals("")) {
                   int result = JOptionPane.showConfirmDialog(this,
                   "The Item field contains text. Replace the text?",
                   "Flash Card Activity", JOptionPane.YES_NO_OPTION,
                   OptionPane.INFORMATION_MESSAGE);
                   if (result == JOptionPane.NO_OPTION) return;
              if (!f_two.getText().equals("")) {
                   int result = JOptionPane.showConfirmDialog(this,
                   "The Match field contains text. Replace the text?",
                   "Flash Card Activity", JOptionPane.YES_NO_OPTION,
                   JOptionPane.INFORMATION_MESSAGE);
                   if (result == JOptionPane.NO_OPTION) return;
              String item = "";
              String match = "";
              int index = pairList.getSelectedIndex();
              String choice = model.getElementAt(index).toString();
              if (choice.startsWith("item")) {
                   item = choice;
                   match = model.getElementAt(index + 1).toString();
                   model.remove(index);
                   model.remove(index);
                   model.remove(index);
              else {
                   item = model.getElementAt(index - 1).toString();
                   match = choice;
                   model.remove(index + 1);
                   model.remove(index);
                   model.remove(index - 1);
              int size = model.getSize();
              if (size > 2) {
                   pairList.setSelectedIndex(size - 2);
              f_one.setText(item.substring(6));
              f_two.setText(match.substring(7));
              f_one.requestFocusInWindow();
         }

  • In the bookmark panel, how can I close all bookmarks files with one click?

    Every time I want to have just the files on the panel I have to close them on by one to have a genéral view of my bookmarks organisation. It would be so nice to have a feature to close everything with one click. But so fa I have been unable to find a solution. Thanks if you can help!

    Maybe Autoclose Bookmark&History Folders: http://www.sephiroth-j.de/1/mozilla/#ac-btf

  • Is there a way to open desktop icons on macbook pro osx with one click

    Is there a way to open desktop icons on macbook pro osx 10.8 with one click?

    You might look for third-party software for that, but there is no such option in OS X itself unless you drag the icon into the Dock.

  • How to minimize Final Cut pro with one click?

    I know you can minimize windows (canvas, timeline, etc) by pressing Command+M 4 times but how to minimize Final Cut pro with one click?

    Hold down the Option key and click the Minimize button on any window, all windows in the app will minimize.
    Don't know what or if the reverse of this is - so although it's a one click minimize all windows, I believe you have to re-enlarge them one at a time.
    MtD

  • How do I rename many photos all at one time with one click?

    I have got many photos of a sery and want to rename it all with one click only (instead of clicking through it all in single actions and wasting time).
    How can I rename many pictures/photos all together with one click only? -
    1) I have OS X Yosemite
    2) Aperture
    3) Automator App
    to use for this purpose, but I do not see through with any of it.
    Detailed Support for 1) and 2) and 3)  please!
    jona li

    Here is an article on how to batch rename files in Yosemite using just the Finder. This is a new feature in Yosemite. See if this article helps you get your files renamed.

  • Download and convert Youtube video to MP3---Just with one click

    Download and convert Youtube video to MP3---Just with one click
    Last week, when wandering around the Youtube watch.com, I was enthralled with the theme song of "Lost", especially the words of the song "I found out, on the corner of first and amistad, where the west was all but won all weeklong, smoking his last cigarette, I said: "Where you been?" He said: "ask anything.""......"
    I couldn’t help expecting to save this song to my personal players. What a delightful thing listening to the song while walking or waiting for a bus! Okay, do you have the same experience as me? When hearing an exciting speech or dialogue, are you thirsty for downloading them and saving as your best memory?
    Download, convert Youtube to mp3?—yes, you can.
    Anna, one of my best friends, has posed a question "I have a Mac notebook and I only need the audio (mp3 music) of a certain Youtube movie, what shall I do?" The solution to the problem is shown as below:
    Step one: Install a Youtube Converter for Mac as follows:
    Step two: import the URL of Youtube video (or batches of URL) you wanna convert using "Add URL" icon. Select output format like audio (MP3) by "Settings" and customize your output file path with "Browse".
    Step three: If you want your output audio much better, you can set the audio resolution like Bit Rate, Channels or Sample Rate presented in the following picture.
    Step four: Click "Ok” button, it automatically download and convert your youtube videos simultaneously. After a few minutes, you can get the desirable audio (mp3) you want and enjoy it on any portable devices.
    Download, convert Youtube videos to iPod, iPhone, iPhone 3Gs, PSP, Creative Zen, Zune, iRiver, and etc. --- done by one click.
    Generally, if you want to download a Youtube video and then convert them to MP3 for your mobile devices, you need two Youtube tools: Youtube Downloader and Youtube Converter. But, now, with Pavtube Youtube Converter for Mac, you can both download and convert massive videos by clicking one "Ok" button.
    Now, all the best, you can enjoy versatile Youtube music at a waiting room, on a bus, traveling, walking around the park or lying on your bed..

    Youtube's ToU specifically state that downloads of any content is prohibited unless there is a download button available for a particular video.

  • Delete photo's from organizer catalogue AND disk with one click?

    Hi,
    When deleting photo's from the organiser, PSE asks if i only want te remove the file from the organizer catalogue, or as well from the disk. In fact, i always want to do that. Now, it takes 2 clicks to confirm to delete a photo, which is time-consuming.
    is it possible to delete photo's from the organiser as well from the harddisk with one click? (or, just by clicking 'delete'.)

    fatmax3m wrote:
    Well, thats your opinion. IMHO, it's truly crappy. When sorting out photographs, en wanting to delete a hundred, it's really not convenient having to do all those extra clicks.
    I think Adobe should offer some tweaking features, for questions like this...
    But, thanx for the answer.
    If your main issue is to delete rapidly hundreds of files from disk, there are better ways in the Organizer. Did you notice that deleting a single file from catalog and disk is slow ? Even  deleting a dozen of selected files from disk (a single additional click) is slow. So, the best choice is to work in two steps. The first one is to select all the files to be deleted (a hundred, a thousand...) and mark them in some way : using the 'hide' feature, assigning a 'tobedeleted' tag (immediate even for dozens of selected files); then with all the files selected, delete from disk (and go drink a coffee...).
    I won't discuss the obvious question that those last methods let you check all possible deletions before committing the undoable choice

Maybe you are looking for

  • Getting a runtime error on SAP R/3 System in Portal 6.0 SP6

    Hi, I just installed EP6.0SP6 on WAS6.0SP7 in Windows 2000/SQL2000. When trying to config "SAP R/3 System" tab by going to System Administration -> System Configuration -> UM Configuration: com.sapportals.portal.prt.component.PortalComponentException

  • IPod touch not working on new upgrade of iTunes 7.7

    I upgraded my iTunes to 7.7, the new version. Ever since I downloaded it, my iPod touch won't show up on my left-side bar of iTuens, and it even freezes my iTunes so I have to shut down iTunes (not my computer). I tried seeing if I can swith back to

  • Text Object with a Paramter Field in It

    think I am losing my mind.  I have a text object on my report for the 'From' and 'To' dates on a report.  So that the spacing works between the words, I add a text object to my report and type the word "From" (without quotes).  Then, I drag the start

  • ORA-01031 with materialized view in stored procedure

    USER1 has created a materialized view (MV). The MV is owned by USER2. USER1 needs to query the MV from within a stored procedure. How do I avoid the ORA-01031? Here's the illustration: SQL> show user USER is "USER1" SQL> CREATE MATERIALIZED VIEW USER

  • Icon and Text on a JButton

    I want a button which has an icon AND text on. (The text above the icon) is this possible? and if, how?