AppleScript Needed for reply-to heading replys

I need help editing this script to reply to multiple emails I get from PayPal that will reply to the email's Reply-To Heading, not the From Heading, which of course is PayPal.
This script works for everything but replying to the return path (Reply-To) address.
Thank you in advance:
set thesenders to {}
set thesenderstext to ""
tell application "Mail"
          set themessage to the selection
          repeat with i from 1 to the number of items in themessage
                    set thesender to (extract address from (the sender of (item i of themessage)))
                    if thesenders does not contain thesender then
                              set thesenders to thesenders & {thesender}
                    end if
                    set the was replied to of (item i of the themessage) to true
          end repeat
          set AppleScript's text item delimiters to ", "
          set thesenderstext to thesenders as rich text
          set AppleScript's text item delimiters to ""
          set newMessage to make new outgoing message
          tell newMessage
                    set visible to true
  make new bcc recipient with properties {address:thesenderstext}
          end tell
          set toAddress to email addresses of item 1 of accounts as rich text
          tell newMessage
  make new to recipient with properties {address:toAddress}
          end tell
  activate
end tell

Try something like the following
                                        set theReplyTo to extract name from reply to of theMessage
                                        set theReplyToAddress to extract address from reply to of theMessage
Note: It looks like it will automatically use the From address if there is no Reply-To header line. If the Reply-To line has now name to go with the address then the name seems to be filled in with the Reply-to address.

Similar Messages

  • Applescript needed for iCal

    I'm looking for an Applescript that will create a report of my calendar's events for the current month and put that data into an Evernote note.  Does anyone know where I could get one?  Does anyone know how to do that or create that script?

    Try something like the following
                                            set theReplyTo to extract name from reply to of theMessage
                                            set theReplyToAddress to extract address from reply to of theMessage
    Note: It looks like it will automatically use the From address if there is no Reply-To header line. If the Reply-To line has now name to go with the address then the name seems to be filled in with the Reply-to address.

  • Additional header request needed for OData4j

    To get OData4J working with Netweaver Gateway 2.0 I had to add the following in the header
    X-Requested-With: XMLHttpRequest
    Not sure why this is necessary, would be interested in hearing why, I thought i would share how its done.
    //ODataConsumer c = ODataConsumer.create(Constants.flightSVC);
    ODataConsumer c = ODataConsumer.create(Constants.flightSVC , new OClientBehavior(){
          @Override
          public void modify(ClientConfig cc) { }
             @Override
             public ODataClientRequest transform(ODataClientRequest request) {
                String userPassword = Constants.USER + ":" + Constants.PASSWORD;
                String encoded = Base64.encodeBase64String(userPassword.getBytes());
                encoded = encoded.replaceAll("\r\n?", "");
                request = request
                       .header("X-Requested-With", "XMLHttpRequest")
                       .header("Authorization", "Basic " + encoded);       
                return request;
    // Create new entity
    OEntity newBooking = c.createEntity(Constants.BookingCollection)
                .properties.....
    Hope this helps someone.
    Cheers
    John P
    PS. TCPGW tool (note 856597) is an effective way to trouble shoot HTTP API's

    Hi Genady,
    Thanks for reply.
    I am not an expert in this area but I will walk you through why I am questioning the need for this particular header value, feel free to correct me where I am wrong.
    XMLHttpRequest (XHR) is an API available to browser scripting languages like javascript.
    First off I have to put the request in the header when using a Java or .Net client, these clients have nothing to do with XHR.
    Secondly without JSON formatted feeds and forgetting about REST test clients and the like, you are left with XML calls, using XHR with XML you have to follow the Same-Origin-Policy, that is the code and the client have to reside on the same domain, not much room for Cross-Site Request Forgery unless you use a server side proxy.
    Cheers
    JSP

  • Urgently  need help for parsing IP header

    Hi, could anyone tell which class I should use to parsing the IP header of a packet?
    Thanks many many times!

    > Hi, could anyone tell which class I should use to
    parsing the IP header of a packet?
    DatagramPacket?
    > Urgently need help for parsing IP header
    Don't flag your question as urgent, even if it is for you.
    * We all answer questions here voluntarily, in our leisure time. We do that because doing so is fun for us, because we enjoy helping people and having interesting discussions. Guess what, it is much less fun if it gets stressful. So the last thing you want to do to get us to answer your question is to pass your stress over to us.
    * People who are stressed and want a fast answer often don't even find the time to do the necessary research or to formulate their question in an easy to comprehend way. That's even less fun to work with. So you really don't want us to feel your stress. Instead you want to take your time to write a well formulated post that is fun to answer. The less likely it is for us to know that your question is urgent, the more likely you are to get a fast answer!
    * The simple notion that you want your post to be answered faster than those of the other members might feel rather unfair to some of us. Doubly so because often "urgent" questions actually are homework questions. Yours might be different, but someone who had bad experiences with this type of question might not read far enough to notice.

  • Customization needed for capacity setting

    Hi all
    I cofigured the work center (Shift defination,shift sequence,break time)
    I have given for one shift there is 21 hours capacity available (as for three machines
    and each machine working 7 hours per shift)
    But when I check in t-code CM03(Capacity Planning in Standard Overview it is given only 21 hours per day but it should be (63 for three shifts i.e per Day)
    Why it is any costomization needed . Pls provide solution
    Hoping for reply
    Dev

    Hi Dev,
    Ultimately system would consider what you see in the "Available cap profile" in your work center master from Capacity view.
    The below are main functions in Capacity and scheduling
    <u><b>One is the Capacity availability check</b></u> - Here the systems checks just for the available capacity, i.e it will only consider the available capacity maintained in the <b>interval available capacity</b>, if its not maintained there, then system would check the <b>available capcity profile</b>. Once systems finds that capacity is available, system would reduce the available capcity once the capacity is confirmed. And available capacity profile is updated automatically by the system once you change the header or the interval available capacity
    <u><b>The second one is detailed scheduling </b></u>
    - Here the system does scheduling . The <b>shift sequence</b> plays a role here to give precise timing.
    <b><u>The third one is Capacity levelling</u></b>
    This is the one is where you precisely allocate the work centers or resources via planning table - Here the shift sequence and availability check both are considered also system would block particular work center for the dispatched dates and times.
    Hope the above clarifies.
    For your requirement, you need to make sure that 63 hrs is shown by the system in the Available capacity profile.
    Moreover, interval available capacities' function is to override the header data and Hence always this would have higher priority. System also would show this data in available capacity profile populated automatically.
    Please get back to me if you have further clarifications
    Regards,
    Jayakandan

  • Which UWL API needed for Task Generation?

    Hi,
         We have a requirement to create a UWL task and assign it to a user dynamically  at runtime.
    Please provide me the list of APIs needed for this purpose.
    Although I have a list of all APIs of UWL but it is difficult to get the required without experience.
    Relevant APIs with example code will get full marks!!
    please reply!
    Sumit

    Hi,
    I have got this error log :
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/applications/sap.com/uwl/uwl_defaultLog.log]/>
    <!PATTERN[uwl_defaultLog.log]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[Cp1252]/>
    <!FILESET[0, 5, 10000000]/>
    <!PREVIOUSFILE[uwl_defaultLog.4.log]/>
    <!NEXTFILE[uwl_defaultLog.1.log]/>
    <!LOGHEADER[END]/>
    #1.5#0013721FB784005C0000004600000DC80004350178D94669#1184180345203#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####c84643602fe011dca8cb0013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB7840062000000220000082C0004350207872A57#1184182738770#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####5e70b3202fe611dc838d0013721fb784#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784007C0000000C00000ED00004350DDAFF617F#1184233531871#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####a17cd6f0305c11dc85c70013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840075000001BE00000ED00004350E0A60B1DF#1184234326777#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1397####7b49de91305e11dcb1650013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784006B0000031A00000ED00004350E0F253868#1184234406763#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1479####a4d12020305e11dc8c370013721fb784#J-Integra for .NET TP Thread 2##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007000000050000000C00004350E6357D270#1184235819383#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0##blrkec91547d.ad_ES1_13638250#Guest#af5c8770306111dc9cb70013721fb784#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006200000054000016F00004350EF7350580#1184238300103#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#533####b6fe34f0306711dcc4890013721fb784#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005F00000022000013C40004350F650053F4#1184240142170#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####05886ba0306c11dc875e0013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840071000000BC000013C40004350F6AEB28B9#1184240241453#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#613####3c7b5870306c11dcb5c40013721fb784#SAPEngine_Application_Thread[impl:3]_24##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005D000000510000118C0004351004717E6E#1184242817143#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####3eaa37a0307211dcae960013721fb784#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB78400750000009D00000D7C00043510657D767A#1184244444273#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#598####fc7d76e0307511dcaa580013721fb784#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB7840061000000240000154000043510ACCDA92D#1184245641313#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####d3470d10307811dc9d3c0013721fb784#SAPEngine_Application_Thread[impl:3]_5##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784007A000000C80000154000043510B07C9296#1184245703051#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#561####f3f1ef80307811dc96400013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007D0000002F00000BC00004351109BEB7D1#1184247199716#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#581####72b75e10307c11dc8b030013721fb784#SAPEngine_Application_Thread[impl:3]_31##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006600000047000008F0000435133BDDF730#1184256633302#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1371####65a9fd70309211dca9620013721fb784#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006600000048000009E0000435137175AFAA#1184257530898#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#526####7b6bd5f0309411dcc88b0013721fb784#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007E000000060000103C000435142CBF61E5#1184260672796#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####d2bd55c0309b11dc9b6f0013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840062000004520000103C000435143DE08ADA#1184260960084#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#755####79f6c880309c11dc930b0013721fb784#SAPEngine_Application_Thread[impl:3]_11##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005F0000010B000005B400043523653EB198#1184326045678#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1193####feb0b940313311dc86480013721fb784#SAPEngine_Application_Thread[impl:3]_4##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006A00000027000007A8000435FF4DD1C67E#1185270545369#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :launchUrl#
    #1.5#0013721FB784006A00000028000007A8000435FF4DD2DDA2#1185270545479#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :launchUrl#
    #1.5#0013721FB784006A00000029000007A8000435FF4DEC7F51#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784006A0000002A000007A8000435FF4DEC880A#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :delete#
    #1.5#0013721FB784006A0000002B000007A8000435FF4DEC892F#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784006A0000002C000007A8000435FF4DEC8A34#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :accept#
    #1.5#0013721FB784006A0000002D000007A8000435FF4DEC8BC2#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :reject#
    #1.5#0013721FB784006A0000002E000007A8000435FF4DEC8CCE#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :uwlTaskWizard#
    #1.5#0013721FB784006A0000002F000007A8000435FF4DEC91FF#1185270547166#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784007C00000168000007A8000435FF62DF3901#1185270898626#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42124####f041ca2039cb11dc89140013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270817497##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 15:24:58 GMT+05:30 2007
    Tue Jul 24 15:24:58 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784006A00000038000007A8000435FF878C711D#1185271513903#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42124####5efd9bf039cd11dc81750013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185271507924##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 15:35:13 GMT+05:30 2007
    Tue Jul 24 15:35:13 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB7840075000001B3000007A8000435FFE584FEF8#1185273090481#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42371####0ab4521039d111dc8a260013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185273074972##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 16:01:30 GMT+05:30 2007
    Tue Jul 24 16:01:30 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB7840065000001AF000007A8000435FFFA21790E#1185273436284#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42371####d8d1abc039d111dcbd460013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185273082582##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 16:07:16 GMT+05:30 2007
    Tue Jul 24 16:07:16 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784007000000162000007A8000436011AE0CA66#1185278280705#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#inf71850#42901####1fb6c6a039dd11dcac630013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185278235413##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 17:28:00 GMT+05:30 2007
    Tue Jul 24 17:28:00 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784006000000015000007A8000436011B8985EE#1185278291768#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#inf71850#42901####26c124e039dd11dc92330013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185278235413##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 17:28:11 GMT+05:30 2007
    Tue Jul 24 17:28:11 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    Please help me if anybody faced this situation error.
    regards,
    Sumit

  • Help needed for implementing master details region on the search page

    Hi All,
         I am new to Jdeveloper and OAF. I need to develop a sales order search page, for which the VO query is
         SELECT ch.order_number order_number
         , ch.attribute97 order_detail
         , ch.attribute14 sold_to
         , ch.attribute50 business_group
         , ch.source_doc_type source_doc_type
         , ch.line_number line_number
         , ch.transaction_amount transaction_amount
         , ch.split_pct||'%' split_percentage
         , jrs.NAME resource_name
         , jrr.resource_number resource_number
         , ch.processed_date processed_date
         , cq.NAME quota_name
         , ch.attribute34 transaction_type
         , ch.attribute35 order_type
         , ch.attribute51 product_line
         , ch.attribute54 city
         , ch.attribute55 state
         , ch.attribute56 district
         , ch.attribute57 area
         , ch.attribute61 salesrep_number
         , ch.attribute62 region
         , ch.attribute64 sales_org
         , ch.attribute68 terr_order_type
         , ch.attribute58 market_indicator
         FROM cn_commission_lines_all cl
         , cn_commission_headers_all ch
         , cn_quotas_all cq
         , jtf_rs_salesreps jrs
         , jtf_rs_resource_extns jrr
         WHERE cl.direct_salesrep_id = cl.credited_salesrep_id
         AND cl.commission_header_id = ch.commission_header_id
         AND cl.quota_id = cq.quota_id
         AND ch.direct_salesrep_id = jrs.salesrep_id
         AND jrr.resource_id = jrs.resource_id
         AND (NVL(ch.source_doc_type,'X') = 'EVEREST' OR NVL(ch.source_doc_type,'X') = 'SAP')
    AND (NVL(ch.attribute50,'X') = 'EMG' OR NVL(ch.attribute50,'X') = 'LSCA')
    I have 3 query parameters business_group, source_doc_type and sales order number.
    The results region should look like,
    Header region with order_number,order_detail,sold_to,business_group and the source_doc_type columns.
    The remaining fields go into the details region.
    Highly appreciate if anyone could help me on this.
    Regards,

    Hi,
    When I have a messagestyle layout for my header, I am not able to find the items in this region for the querycriteriamap. I need to populate the header region with values entered in the search region.
    For example: I create the OrderNumber messagestyledtext item in the messagecomponent layout of the header region. In simplesearchmappings, for the querycriteriamap, I am not able to find this item in the drop down for Results Item property.
    Please help me to understand.
    Regards,

  • Need to modify a Header which is in phtml, I need to find the html page

    I don't know much about php, but I need to change a header and add a new link, it should be very easy to do in html, but when I opened the header, the code is all in php.
    How can I find the related html for the header to do these changes?
    Here is the code
    ?>
    <div class="header-container">
        <div class="header">
            <?php if ($this->getIsHomePage()):?>
            <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
            <?php else:?>
            <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
            <?php endif?>
            <p class="top-promo" title="<?php echo $this->__('Free Shipping on orders over 50$'); ?>"><?php echo $this->__('Free Shipping on orders over 50$'); ?></p>
            <?php echo $this->getChildHtml('topMenu') ?>
        </div>
        <div class="quick-access">
            <?php echo $this->getChildHtml('store_language') ?>
            <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
            <?php echo $this->getChildHtml('topLinks') ?>
        </div>
        <?php echo $this->getChildHtml('topBar') ?>
        <?php echo $this->getChildHtml('topContainer'); ?>
    </div>
    I need to modify the div for quick-access, not the css just the html, I just need to add a new link to it. How can I find this page?
    Thanks

    Take a look at the iCab Mobile browser for the iPad. It allows document uploads if you configure it properly in the settings. iCab Mobile also works with DropBox.
    You may have to download the documents to the iPad and upload from there, but it might be worth a look here.
    https://itunes.apple.com/us/app/icab-mobile-web-browser/id308111628?mt=8
    This is copied from their website.
    How can I upload any file (not only photos) under iOS 6?
    Unlike the web engine of iOS 5.x and older, the web engine of iOS 6 has now basic upload support as well. But it only supports uploading photos and videos from the photo album. And this will only work under iOS 6.
    The upload capability of iCab Mobile works under all iOS releases and supports uploading photos videos and all other file types. It can even scale down photos before uploading to save bandwidth.
    But iCab's own custom upload capability has the disadvantage, that because of several iOS restrictions, it can not work on all web pages. Therefore under iOS 6, iCab Mobile provides a switch in the settings where the user can choose, if iCab should use the upload capability from the iOS (only photos, works with some more web pages) or the capabilities of iCab (photos and all other files, can't work on all web pages).
    So if you need to upload other files than just photos, make sure that you set the option "Upload files via" in the settings to "iCab Mobile".
    This is a link to the FAQ on the site.
    http://www.icab-mobile.de/faq.html

  • Temporary wim-files for multicast transmissions still needed for WDS installation in Server 2012 R2?

    Acording to
    https://technet.microsoft.com/en-us/library/dn281955.aspx one of the new features for WDS in Server 2012 R2 for multicast is:
    Improved multicast deployment by eliminating the need for making a local copy of the install.wim file. You can apply the install.wim file while it is being downloaded without significant impact to the application process.
    However, this doesn't seem to be activated by default and I still get the following error when installing one or more machines using multicast:
    "Windows Setup cannot locate a valid hard drive to store temporary installation files." However, once I remove Multicast from this install image, it installs without any problems at all.
    I have also noticed that while multicasting, the installation will use the "Copying Windows files" phase, while downloading and copying the install.wim (or whatever name it is) locally on the hard drive first, so this will require lots of space.
    So the question is, how do you enable this new feature that should be a part of WDS in Server 2012 R2???

    Full version:
    Following steps could help enable the feature:
    1.       Mount the boot image using dism.
    e.g.
    >dism /mount-wim /wimfile:c:\remoteinstall\boot\x64\images\boot.wim /index:2 /mountdir:c:\mount
    2.       Create a metadata file if no existing one. The metadata file should be in mountdir from the first step under mountdir\sources. And the file name should be: WdsClientMetadata.txt
    3.       Add entry to the metadata file: WDS.Client.Multicast.WIM.Streaming.Enabled=true
    4.       Save changes and unmount the boot image
    e.g.
    >dism /unmounts-wim /mountdir:c:\mount /commit
    Sorry for the late reply, but I had to test this thoroughly since I didn't get it working right away. I tried both the regedit you first mentioned, and later also creating a textfile in the "/index:2 boot.wim", both without any success. I noticed
    that creating the sources\WdsClientMetadata.txt with the data "WDS.Client.Multicast.WIM.Streaming.Enabled=true" gives me an error upon booting into WDS as follows (EUFI/IPv6-boot):
    Same happens if I boot using IPv4 (an non-UEFI boot), except that there would be a plain IPv4-address instead in the error msg. Just for troubleshooting I tried writing WDS.Client.Multicast.WIM.Streaming.Enabled=false in the file instead, and WDS would throw
    me the exact same error message. Once I delete the file sources\WdsClientMetadata.txt from the WDS/Boot image, the client boots ok, both for IPv4/IPv6. Disabling the firewall on the WDS didn't help, so something in the configuration is still missing? I'm getting
    to a dead end here, and I suppose you're all out of advice on this one?
    Thank you Shaon Shan for your great effort so far.

  • Software needed for the USB device, "USB Interface Controller TEST2.0"

    My mother recently acquired a digital camera. She acquired it from a second-hand store, which did not include an interface cable or software. The manual (and the USB port on the camera) indicates that a male-male USB cable is necessary for photos to be copied to the hard drive.
    I was not successful in locating such a cable at any local electronics store (I assume such a cable is now out-of-date). I purchased one from a seller on eBay. The brand is "e circuit electronics".
    Upon powering up the camera with the cable connected to it and the computer, the following message appeared:
    "Software needed for the USB device "USB Interface Controller TEST2.0" is not available. Would you like to look for the software on the Internet?"
    I clicked "Yes". After an approximate two-minute wait, another message appeared stating:
    "Software Update is not able to connect to the Internet. Please check your configuration and try again."
    I deleted, "Software Update Preferences" in the Preferences folder inside the System Folder, without solving the problem. How do I solve the issue of allowing Software Update to connect to the Internet?

    Thank you for your continued assistance, BDAqua. Unfortunately, the driver you linked to does not seem to be compatible with the camera. It is a driver for the V20 model, whereas my model would correspond to be a V2755, as referenced from a list of other Vivicam models when during a search at the Open Drivers web site.
    From the system requirement about the card reader you gave me, it will not work, as this system is running 9.1. I am hesistant to upgrade this computer to 9.2, as I have experienced system unstability with that version, with even the 9.2.2 update applied.
    In the mean time, I have e-mailed Vivitar regarding this issue, but have as of yet received a reply.
    I am not certain as to other specifics to give you, in order to solve the Software Update problem. Please elaborate.
    Yes eww, the computer in question is able to fully connect to the Internet for all that I need. I am fully aware of the difference between a computer connecting to the Internet, and a computer connecting to a digital camera. I have 15 years of Macintosh experience.

  • What RAM is needed for Laserjet Printer CP1525nw Windows 7 64-bit

    What RAM is needed for Laserjet Printer CP1525nw Windows 7 64-bit

    Hi,
    just found your post...
    To install your HP1010 on Win7do the following:
    Start
    Devices & Printers
    Add a printer
    Adda local printer
    Use an existing port: DOT4_001 (Generic IEEE...)
    Next
    Pick HP from manufacturer
    Select HP LaserJet 3055 PCL5
    Next
    Name the printer something to your liking
    Finish (or so, just follow the prompts)
    Here you are!
    Works every time for me, never had a problem from any application.
    I don't know how this forum works and if i am notified if you reply or anyone else posts on this thread, so i try to check it again soon to check if you left a message.  Be with me...
    Matt

  • What Are the Exact Basic rules for Replying a Thread...... -:)   @};-

    Hi Experts,
    After Looking into the forums many days I had a small conclusion about forums,
    SAP Forums are better place I have seen for getting a goo dhelp & Knowledge...
    Why can't we make it a BEST Place.
    This is just a small doubt which I would like to clear myself first,
    I have seen many users In the forums asking for a Basic Questions
    When cleared, But still they want to have a Spoon feeding with a Sample Code.
    When Sample Code Given they will provide the original code and requests for Modifications.
    These always looks to me as crazy.
    I have seen somelong time agin by moderators posting that In SCN there will be no SPOON FEEDING.
    I am not sure whether if still this Rule AVAILABLE or NOT.
    Ok if the task is really difficult let them ask again and again,
    And it was not replied, let them repost, I agree with them.
    And How about a User Registered in SDN very long back and asking for a silly question in below thread,
    [Sendin Email to the recipent list -Need correct FM |Getting the address from shipto partner of Bil. item not directly from C.ma]
    This is one more example, really funny, The thread poster needs the solution at any cost, he doesn't require and Suggetions,,, {He Only needs Solution}
    [Radio Buttons |Radio Buttons;
    [Turning Off Debugger |Turning Off Debugger;
    [Regarding Amount in words|Regarding Amount in words;
    There are 100's of threads like this....Everyone knows this facts.
    Check this who answered this one and who replied correct answer, who copied, finally who was rewarded...!
    [how to validate POsting period |Re: how to validate POsting period]
    Now My Real Problem is....!
    User is always intelligent, Only the weakness is in Contributor, trying to help them,..,
    And I openly say that Someone requesting for basic help is not DUMB, But the Contributor replying forgets
    the basic rules " Why Contributing ?"
    According to me It's not the Requestor to see Rules & Requlations before posting the threads,
    But its responsibilty for the Contributing person to see th Rules & Requlations before replying the threads,
    If we follow the rules and stand on a single word or rule or anything there will be Good Result.
    Major Problem is in US not anyone else.
    Example Some one saying search in the forum,,, then please no replies after that...
    But we are very pity hearted again we post the solution,,,
    But it is not at all enough(for cintribtor's)... they will copy the solution and post again by slight Modifications,
    And Some users are having 500,600,700,800 Posts with 0 points, registered long long back.
    They are completly dependent on forums,,, As they goto office and as they eat, The same they open forums and ask Queries...
    They will never realize what they are doing,, and we will never let them improve better...
    Finally Lets Discuss About this and Correct & Suggest me if I am wrong,
    Is my thoughts are going in the right way or not I am not even sure... Please Aslo Correct me if I did any mistakes.
    Thanks & regards,
    Dileep .C
    Edited by: Dileep Kumar Chinnaiah on Apr 29, 2009 12:33 PM
    Title Changed Form
    "What to do when someone asking for Basic Questions" to "What Are the Exact Basic rules for Replying a Threads...... "

    Hi Stephen,
    Very useful Information,
    First tell me a little something about my self...
    After completion of my certification(as a fresher) I was down the streets hunting the job,
    with the insufficient knowledge and being a non-experienced person, I never got one.
    And mean while when I got my "S-UserID", I used to be proud, To say frankly, I registerd in SDN & SAP all at a time, without even knowing what I can do there..,
    When I got a job afterwords I was doing the job and never seen SDN page for many months,
    when I came to know that of we have doubts we can post at SDN. then started requesting help,
    I posted only a little, I didnot got the proper response. on that day I decided,
    still there are some places where we cannot get help on time and there will be people waiting to get help,
    Why cant I put some of my efforts to help others.
    Then I searched some topic by Topic in SDN topic by Topic I used to read threads just for knowledge.
    when I feel my self comfort for contributing, I started contibuting...!
    If you haven't read it, take a look first, so you can understand where things are now.
    I dont know where things are now. But these in this thread I mentioned clearly what I seen from the day I started contributing.
    I searched with the terms of 'Rules for replying', The results are not as I expected, and this link has subject as
    "O SDN, where art thou?" So it dosent hit my in the list.
    Like everybody until a certain stage I am also rushing for points.
    But I most cases I never tried to copy paste answers. If I done some then that is just to point it myself some day,
    I have no hopes or no intrest on the points...! This was discussed with Rob & Matt, at my inital contribution where my points are 36.
    From that day till date I have changed a lot to myself.
    Everyone cannot change like me because they are not like me & And I dont even expect that...!
    I will be online almost 6-8Hrs a day, Not even getting intrest to see the forums just because of the co-contributors.
    My only point is I am just requesting to a co-contributor,
    Clearly In a example : Lets say contributor has replied to a thread, and if you know that is a correct solution,
    please dont reply any more, If you have a better solution than that, then only reply,
    Even there is one reply in the thread not a matter, if correct answer leave that query.
    If still error persists, Show up with your Idea's...
    Dont let down the contributor, by copying his reply and editing and pasting(edit only if incorrect).
    I am just looking for this one exactly to circulate between ourselfs.
    For this we a little support from moderators to circulate(may be as a rule or may be as a mail to them)
    You may say again how many mails we have to send, It dosent matter, one mail to one person one time,
    and +ve factors will show up definetly.
    A real contributor always understand what I am talking about, but some one who hunts for points will never.
    I am really sorry if I am troubling with my doubts & requests,
    If so, Pleae forgive me,,
    Thanks & regards,
    Dileep .C

  • I can't download the apps with big size like need for spees, but in apps with normal size(less than 100KB)there is no problem,is there any body who can help me?

    I can't download the apps with big size like need for spees

    Have a little patience. 4 minutes is only a short time for someone to find your post and reply to it. Also clicking on "This Solved My Problem" marks your problem as solved so many folks that may otherwise help will pass the question by since it is "solved."
    I suggest you start a new question that gives a good title to a specific problem. Then in the body of the thread describe the problem in detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received.

  • AppleScript: Waiting for a user to enter user name and password

    I'm currently working on an AppleScript designed to automate binding a computer to Active Directory and another script to install a login certificate. While you can create a UNIX shell script for the Active Directory binding, I found that you have to have your user name and password in the script itself and this system will be deployed by multiple people.
    So instead I'm doing an GUI Automation AppleScript of Directory Utility. What I'd like to do is have the script to wait for the admin user (who will be remoting in by ARD) to enter their Network user and password, click okay and then continue the script to quit the program and then run a self-destruct (which I'd also appreciate any advice about doing in AppleScript)
    Here's the script so far, which I've set up successfully:
    activate application "Directory Utility"
    tell application "System Events"
      click text field 1 of row 1 of table 1 of scroll area 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click text field 2 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "EXAMPLE.COMPANY.com"
      click UI element 3 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click radio button "Administrative" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click checkbox "Allow administration by:" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 1 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExamplePS NA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 2 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 3 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNATemps"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 4 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 1"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 5 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 2"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 6 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 3"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 7 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDesktop Admins"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 8 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDomain Admins"
      click button "Bind…" of sheet 1 of window "Directory Utility" of application process "Directory Utility
    <<WAIT LINE HERE FOR NETWORK ADMIN AND AND PASS, THEN USER WILL CLICK OKAY, THEN CONTINUE SCRIPT>>
    <<QUIT ACTIVE DIRECTORY>>
    <<SELF-DESTRUCT>>
    end tell
    It isn't a real command prompt like if you're changing System Preferences or something. It's a specialized prompt specifically for Directory Utility. However, I do need to know how to make AppleScript wait for a password for a standard Password Prompt for adding a certificate to the login keychain through Keychain Access. I've also done pretty much the same thing as above for that script.
    Any tips would be GREATLY appreciated.

    Yeah, I know GUI Scripting is not the best way, but I couldn't find a successful variable system for the following script. The other issue is that I'd prefer to send this by ARD and have ARD ask for a User Name and Password, but I've found there's no way to do that. Then again, I can't send the AppleScript purely remotely either.
    What I mean by self-destruct is simply I only want the Active Directory binding script to run once upon login to the primary admin user and then delete itself so it doesn't get run again. The login certificate script I want to run once on each new user who logs in (so I'll likely be putting it in the "User Template") and then delete itself so it doesn't run the next time they log in. I can't figure out any way to hit those buttons through a shell script.
    Here's the original UNIX shell script: (This is what I'm using temporarily until I figure out a solution that doesn't require my user name and password to be embedded)
    #! /bin/bash
    MACNAME=$(scutil --get ComputerName)
    dsconfigad -add "CORP.DOMAIN.NET" \
    -username USER \
    -password PASS \
    -computer $MACNAME \
    -mobile disable \
    -mobileconfirm disable \
    -localhome enable \
    -useuncpath enable \
    -shell /bin/bash \
    -ou OU=Macs,CN=Computers,DC=corp,DC=DOMAIN,DC=net \
    -force \
    -localpassword "PASSWORD" \
    -groups "GROUPS"
    And here is the Certificate Installation AppleScript
    activate application "Keychain Access"
    tell application "Finder" to open POSIX file "/FolderName/Certificate.crt"
    delay (3)
    tell application "System Events" to tell process "Keychain Access"
      click button "Add" of window "Add Certificates"
      click button "Always Trust" of group 3 of sheet 1 of window "Keychain Access"
    end tell
    Thanks for the help. I really appreciate it. This is a rather new field for me and most of my knowledge comes from Google Searches and about a billion tabs trying to find answers.

  • What app do i need for my epson 600 printer to work with my ipad

    what app do i need for my epson 600 printer to work with my ipad

    Hi,
    You are asking at a wrong forum, anyway firstly please check to see is your printer in this list ? 
    http://support.apple.com/kb/ht4356
    If Yes, please follow this checklist and fix:
    iPad: http://www.apple.com/support/ipad/assistant/airprint/
    If No, check with Epson
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • In SMARTFORMS when openee a Text Node,   Giving a Short Dump

    Hi I am getting Short Dump in SMARTFORMS Transaction, when ever I opened a Text Node and made some changes in it. With out opening a Text Node I can able to change and activate the SmartForm. But if I open a Text Node I can able to make changes in th

  • Can't import from DVD-R or DVD Ram media from Panasonic Camcorder

    I recently bought a Panasonic DVD VDR-D300 camcorder. The device accepts DVD RAM, DVD -R and DVD -RW media. The camera comes bundled with software from Pixela Corp. that allows me to download media to my hard drive (I am using a 1.33 ghz G4 Powerbook

  • Unable to set up metalink credentials in 12.1.3 OAM

    trying to set up metalink credentials in our 12.1.3 OAM on a unix box and get the following error when trying to update: "Unable to connect to Metalink. Please enter a valid Metalink userid and password. Please also check if the Web Proxy Setup infor

  • How to help Novell with the PRU list?

    Hi! We are running some applications in our network that ZCM inventory seems unable to recognize. So my question is how can I Novell with the necessary info to get my different apps include in the next PRU? For example, the inventory can't detect "An

  • Detect other air applications (when not connected to internet)

    Hi, we have a req to provide a link within our air app, click on it and the app should detect if another air app (from same publisher) is installed on user's machine. If installed launch it if not install it. I used air browser api, it works fine. Bu