JS CS3 Automate Creation of Hyperlinks - Repost?

Hi all,
A while back, Olav Kvern posted a JavaScript to automate the creation of hyperlinks for CS3. someone repost the code? The posting has expired on the site.
Thank you so much!

To add to this, I'm a little stumped on two items for this. First, I want to apply a character style to the made hyperlinks. I'm wondering where I would place the code for applyStyle?
Second, at the moment, there is one regular expression that finds URL's beginning with http or https...but if I wanted to enter multiple Regular Expressions for different criteria, how would I do this? I tried:
var myRegExp = /\b(https?|ftp|file):\/\/[-A-Za-z0-9+&@#\/%?=~_|!:,.;]*[-A-Za-z0-9+&@#\/%=~_|]/gi
var myURLPrefix = "";
var myURLSuffix = ""
var myRegExp = /\b[A-Za-z0-9._%-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,4}\b/gi
var myURLPrefix = "mailto:";
var myURLSuffix = ""
* followed by the remainder of the code, however, it will only work for the last RegExp that I input. How would I do multiple criteria without having to do an individual script for each?
THANK YOU!
K

Similar Messages

  • Automatic Creation of PO by workflow once PR is released.

    Hi All,
    Can anybody explain the details steps for creation of workflow template if PR is released then automatic creation of PO needs to be created with reference to PR.?
    Thanks,
    Ravi

    You can take a look at standard Workflow WS20000075(PO). Regarding your requirement most probably you need to do some configuration. In SRM this is possible once a Shopping Cart is completed it can be converted to a PO.
    Thanks
    Arghadip

  • Automatic creation of rfq against pr reference?

    dear mm experts,
    i would like to know whether std sap - mm allows automatic creation of rfq against pr reference.
    i have a requirement user creates prs for materials, and rfq have to have to generated/created automatically after pr is saved. is this possible with std sap spro settings
    pl help
    thanks in advance
    srihari

    If you refer the same document on the following link you see that RFQ is not automatically
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    What does their mean automatically is
    using the assign and process you can create RFQ. but not like Auto PO using Me59n
    Creating RFQs
    To create RFQs, you must generate a basic list via Requisition ® Follow-on functions ® Assign + process.
    From the basic list, you can flag a requisition for RFQ processing. Select a requisition and choose Edit ® Flag for RFQ ® With vendor or Without vendor.
    Choose Goto ® Assignment overview to access the assignment overview screen. Position the cursor on the text Flagged for RFQ processing and choose Edit ® Process assignment.
    A dialog box for the creation of RFQs appears.
    Enter the deadline for submission of quotations and check other relevant data, such as the purchasing organization.
    When you press ENTER, you will obtain an overview of the purchase requisitions that have been flagged for RFQ processing.
    Select the items that are to be adopted in the RFQ.
    Adopt the selected items in the RFQ.
    u2013 If you wish to change the selected items before adopting them, choose Edit ® Selections ® Adopt + details. The relevant item detail screens will then appear, allowing you to make the desired changes.
    u2013 To adopt the selected items without changes, choose Edit ® Selections ® Adopt.
    The item overview for the RFQ to be created is displayed with the adopted items.
    If you have flagged the requisition for RFQ processing without a vendor, or if you wish to issue RFQs to another vendor, assign the RFQ to a vendor and save the document.
    Repeat this process for each vendor to whom the RFQ is to be issued.
    For more information on the creation of RFQs, refer to the section Creating RFQs.

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Stop Automatic creation and confirmation of Transafer Order for a doc type

    Hello All,
    There is a requirement that I need to stop Automatic creation and confirmation of Transafer Order for a particular document type.
    The issue is that sometimes the cycle goes upto creation of Invoice automatically but sometimes this does not happen. More over the user wants that the transafer order needs to be confirmed manually.
    Can u please provide the .steps involved for thie case.
    Thanks
    Chandrashekhar

    Dear Steve,
    Thanks a lot for giving reply with what I need to do, but I am unable to see result.
    I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
    Click on ‘Assign’ button,
    Press on ‘New entries’
    WhN = ‘900’
    Reference Movement Type = ‘101’
    Movement indicator = ‘B’
    Movement type for Whse Mgmt = ‘101’
    TR create Transfer Requirement = ‘X’
    Immed.TO Creation
    Mail confirmation for background processing = ‘01’.
    GR date = ‘2’

  • Automatic Creation and Confirmation of Warehouse Task in EWM 5.1

    Hello,
    We want an automatic creation and confirmation of the warehouse task in EWM 5.1 on the based of a delivery type and warehouse number.
    The scenario goes in this way... As soon as the inbound delivery is created/replicated in EWM, the creation and confimartion of warehouse request, warehouse task and warehouse order (all the transactions) should be called automatically. And the goods receipt should be posted.
    Can someone throw more light on the customizing/BADI/enhancements etc required??
    Thanks and Regards..

    Hi koen,
    I tried with the FM that you suggested...
    But somehow with the process type 'stock removal' gives an error...
    Is that that this FM will help to create a pick task for a particular outbound delivery--Tcode:/SCWM/TODLV_TO.
    how will this FM take the outbound delivery as an input?or it will be on the corresponding sales order number and item number as input?
    Being new EWM i require help on this..about how to go about creating the pick task for an outbound delivery which wil be equal to the warehouse request.
    Thanks in advance,
    Rashmi.

  • Automatic creation of requirement for extra consumption in COGI

    Dear.
    For a production order with a component totally consumed during the backflushing of CO11N I run a new confirmation. The component isnu2019t available , the confirmation is done and the system create for the component an error movement in COGI.
    If I see MD04 for this component I donu2019t see any production order requirement for the extra consumption quantity in COGI.
    But the planner need to know the quantity that remain to withdrawn.
    Which is the reason for the missing automatic creation of requirement for extra consumption in COGI ?
    Thanks.

    Dear Cris,
    Have you manually edited and input extra qty in CO11N
    When backflush is activated and Full qty is confirmed
    Then if you perform confirmation second time then form where system will again pick the component
    Once again check in production order BOM over view and also in BOM what is the qty given
    Can you eloborate more in detail what you have performed ( steps required )
    Dear Siva,
    Just correct me if i am wrong
    Regards
    Madhu
    Edited by: K.Madhu Kumar on Sep 30, 2010 1:10 PM

  • Restricted automatic creation of PO in sales order

    Hi Experts
    When we create a sales order (VA01), we had customized the automatic creation of a Production order (CO01); but our client is asking us to limit this automatic creation to a certain characteristics of the material.
    For example, we have to choose the colours (number and values), and for one colour, the production order donu2019t need to be created automatically.
    Please can anyone help me to find any solution for this matter?
    Thank you in advance
    Hachim EL ALAMI

    Dear Hachim,
    if there is only one material for which you don't want production order to be created you can restrict that particular material by using material exclusion from Logistics screen - Sales and Distribution - Master Data - Products - Listing/Exclusion
    and select condition type B001 for Exclusion  and now if you try to enter this material in the sales order system will give you an error
    OR
    you can use listing condition type A001 in order to include only those materials for which you want production order to be created for them
    Hope this will solve you purpose
    Regards,
    Sagar

  • Automatic creation of PO's from Requisitions

    Hi
    I'm trying to get a grasp of what's needed to automatically create approved PO's upon approval of a requisition.
    There seems to be two ways to do it, a release program under a Contract Agreement, or using workflow with a Global BPA.
    Under either method, would you need to create a Contract Agreement or Global BPA for each and every supplier? Is there any easier way to achieve this?
    Thanks

    To automatically created Approved PO's you will need the following
    1. To create Standard PO's a Requisition will have to use a Quotation. This quotation can be attached to an ASL to default while creating a req
    The Workflow "PO Create Documents" should have automatic creation allowed set to yes
    2. To create Releases a Blanket PO must be attached to an ASL . The Workflow "PO Create Documents" should have automatic creation allowed set to yes
    Please let me know if you have any questions
    Thanks
    Navin

  • Automatic creation of po during goods receipt

    Dear all,
    po has not been created, but while receiving the material i want automatic generation of po. i have some knowledge about it but it is not working. Can some one send detailed information. with navigation details. Tips that are posted on the sdn is not working.
    Regards

    Hi
    Pl Make sure you have done following settings for the Automatic Creation of PO during GR:
    1) In SPRO ---> Enterprise Structure ---> Assignment -
    >  Material Management ---> Assign Std. Purchase Org. to your Plant...
    2) In Material Master -
    > Purchasing View -
    > Pl. Check. Automatic PO check Box   and  Maintain Purchasing Group....
    3)Create your Vendor for oyur Company Code and  Std. Pur. Org. combination and in that Vendor Master -> Purchasing Data View--- > Pl. Check Auto. PO Check Box...
    4)For your Vendor -Material Master - Plant -Std. Pur. Org combination Maintain valid Info record...
    5)In OLMB --->  Goods Receipt -
    > Automatic Creation of PO ---> for the M.Type:101  pl. check  Auto PO check Box
    6) In OLMB ---> Movement types ---> Copy,Delete, Check M.Types ---> Choose the M.Type:101   and go into Details -
    > Then goto  allowed Fields for M.Types for M.Type:101 --->  there for the M.Type:101   make the field   LIFNR as a Mandatoty field...
    If you have done the above settings properly...then  in  MIGO ---> Choose Transaction GR  and referance as Others
      and do the GR....Make sure you are doing GR with M.Type:101....and yougive the Vendor's name during   GR....
    Now If you save the GR ...automatically PO will be created...
    this you can see it by displaying the MIGO Document..
    Reward if useful
    Regards
    S.baskaran

  • Sales order - automatic creation of purchase requisition - cost assignment

    Hi
    When the sales order is released, we have an automatic creation of Purchase requisation. We have given "internal order" as the cost obect in the sales order. But when the system has created automatic purchase requisition, it has not picked internal order. What could be the reason?
    Thank you for the help.
    Thanks
    Ram

    Hi
    I feel that it is abug in the development you have carried out for creation of Purchase requisition when a sales order is relased,
    Please check the enhancement, you need to pass the values to the correct table after derivation.
    Thanks & Regards
    Kishore

  • Sales order - automatic creation of purchase requisition - CO assignment

    Hi
    When the sales order is released, we have an automatic creation of Purchase requisation. We have given "internal order" as the cost obect in the sales order. But when the system has created automatic purchase requisition, it has not picked internal order. What could be the reason?
    Thank you for the help.
    Thanks
    Ram

    Hi
    I feel that it is abug in the development you have carried out for creation of Purchase requisition when a sales order is relased,
    Please check the enhancement, you need to pass the values to the correct table after derivation.
    Thanks & Regards
    Kishore

  • Automatic creation of meter reading order with RR 01 after move in

    Hi Experts,
    I am working with DM module of SAP ISU. Currently I am facing a problem that after move-in a periodic order with RR 01 is created automatically by the system.
    Ex: Move in date is 01.01.2010. Monthly Portion is used with Schedule record 01.01.2010, 01.02.2010, 01.03.2010, 01.04.2010 and so on.
    If current system date is 20.07.2010 then Meter reading order is created automatically by the system for sch MRD 01.08.2010.
    Please let me know how to overcome this problem
    Thanks in advance.

    Thanks for your reply but I have cheked SPRO setting the suggested check box is already uncheked.
    I beleive the setting you have suggested is meant for default meter reading during move in but my problem is automatic creation of meter reading order with reason 01 during move in

  • Automatic creation of cost elements

    Dear All,
    The automtic creation of cost elements functionality is not working for some GL accounts in production. When new GL accounts are created, the same are not created as cost elements. All the standard settings viz 'selection of automatic creation' in controlling area configuration, creation of number ranges in OKB2 etc are in place. We posted in OSS and they are not able to find reasons why this is happening.
    Has anyone faced a situation like this? Please post your valuable thoughts and share your inputs. We currently have a log created by user on this and pending for quite sometime.
    Thanks in advance
    Venkatesh

    Hi,
    Yes. We do face problem like this often. We wriggle out by updating through manually when we are very nearer to go-live date. Otherwise, we can create an abap program and meet the deficiency.
    Trust this helps much!
    Cheers!

Maybe you are looking for

  • Error loading plugins. AISaveForWeb.aip

    The problem with my computer set to Adobe Illustrator CS5. 20/10/1910 after injection of regular updates adobovskih Illustrator crash when started starts at the registration window. Since I still trial version, then all these days to choose it and th

  • Copying video from multiple itunes

    I have 2 pc's with latest version of itunes. I have no problem copying music from either itunes to my touch. I purchased a copy of a movie from itunes and downloaded to one pc. Purchased a dvd copy of another movie that came with a digital copy that

  • Slow moving items report

    hey there is a standard query for Slow moving items based on 0IC_MC01. I need to find out the last goods issue and last goods receipt date on this query. Any one has any ideas ? thanks Laura.

  • OS 10.6 on 2011 iMac

    I just got off the phone with apple support. I just received my new iMac. (well new to me bought a refurb.) This machine was originally built in July 2011. It shipped to me with 10.7 Lion installed, but was originally shipped with 10.6 in july 2011.

  • What exactly is using data and how can i keep it from using data when im not using my phone?

    So i have an iphone 4 and i have used a lot of data this month(like almost 2GB) and i have barely touched my phone outside of wifi areas. I always shut down any apps that use data like youtube, funnypics, facebook, etc. but i do play some games durin