Create POP up

Kindly let me know the detail procedure to create a popup on a seperate window. As i have tried on a field but unable to get it on screen.
Appreciate for Prompt reply.

Hello Sunil,
I'm not sure how to do this in PCUI but in ICWC or any BSP page its just add a JavaScript Code to a button or link.
the code is:
window.open("URL");
window.showModalDialog("URL")
there are some other parameters for those function, You can search in GOOGLE and you will get a lot's of tutorials.
Good Luck
Eli Steklov
Please Reward Points if it Helped

Similar Messages

  • How to create pop-up window to search for items

    Hi,
    I want to create a pop-up window were the user will be able to search for an item and select it.
    How can I use a pop-up window in a portlet? Is there any api in the pdk for creating pop-up windows?
    Thanks

    Hi,
    Can you let me know why you are trying to use a popup window for searching?
    You can always add a search portlet - Basic,Advanced,Custom
    - which will give you the link to the respective searched items.
    I couldn't get a clear idea of your requirement.
    Thanks.

  • Can't create POP account

    It happens that I can't create POP accounts, while I do easily with Entourage.
    The same data in Entourage work while in Mail don't.
    I can't understand why. Can anyone tell me what's wrong?
    Thanks

    Hector,
    A subtle difference between Mail and Entourage, is in the use of Username. In Mail, what you enter in the Username box of Mail Preferences must be exactly what is required by the provider of the POP server -- this will either be the true username, which is the portion of the email address in front of the "@", which is how it is done for a .mac, or for some providers it must be the entire email address, repeated as the Username entry (this is how it must be for Gmail). You must test with each, or find a support document that provides the format you must enter as the Username.
    I think Entourage, at least sometimes, is able to derive the Username from the email address, and negotiate through this choice.
    Let me know if changing the form of the Username entry will resolve this.
    Ernie

  • How to create pop up in a subscreen in PAI

    Can someone help me with the process to create pop up in a subscreen PAI logic?

    hi,
    here is the sample code refer to this...
    in the subscreen flow logic.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0200.
    in the module..
    CASE ok_code.
        WHEN 'FILL'.
          IF  sflight-carrid IS INITIAL OR
             sflight-connid IS INITIAL.
            CALL FUNCTION 'POPUP_TO_CONFIRM'
              EXPORTING
               titlebar                    = 'CANCEL'
    *   DIAGNOSE_OBJECT             = ' '
                text_question               = 'fill the details'
               text_button_1               = 'Yes'
    *   ICON_BUTTON_1               = ' '
               text_button_2               = 'No'
    *   ICON_BUTTON_2               = ' '
               default_button              = '1'
    *   DISPLAY_CANCEL_BUTTON       = 'X'
    *   USERDEFINED_F1_HELP         = ' '
    *   START_COLUMN                = 25
    *   START_ROW                   = 6
    *   POPUP_TYPE                  = POPUP_TYPE
    *   IV_QUICKINFO_BUTTON_1       = ' '
    *   IV_QUICKINFO_BUTTON_2       = ' '
             IMPORTING
               answer                      = i_answer
    * TABLES
    *   PARAMETER                   = PARAMETER
             EXCEPTIONS
               text_not_found              = 1
          ENDIF.
          IF NOT i_answer = 1.
            dynnr = '300'.
            ts-activetab = 'FILL'.
          ENDIF.
      ENDCASE.
    here whenever i select the second tab (fill ) a pop will be generated with the message 'fill the details' , if i select yes then it will be on the same screen for no it will lead to next screen.
    Regards,
    Sathish reddy.

  • Creating pop-up areas on screen

    Hello,
    I am designing an e-brochure using Flash presentation slides, I would like to creat pop-up areas that are viewed on click just like on this link
    http://www.adobe.com/products/flash.
    There should be a thread on this, or a tutorial online, would appreciate if somebody points me in the right direction.
    thanks

    create a popup-looking movieclip with a dynamic textfield.   either use attachMovie() (as2) or the new constructor (as3) to create popup instances.

  • Creating pop-up boxes

    How do you create pop up boxes in application express. I need the pop up to confirm that the action has been processed. and to create buttons on the pop up box.

    http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/toc.htm

  • Anyone having problems creating Pop-Up Buttons in InDesign CS5??

    I was creating Pop-Up windows in InDesign when I encountered problems having the Pop-Up disappear after the cursor left the hot area.
    Everything was the same in the Button command box but some didn't work.
    See: http://www.first-image.com/a_/ID_PopUpWindow_ProblemPAGE.pdf
    There are links on the PDF for the demo and source file.

    Hi
    Welcome to Apple Discussions
    Oddities in Safari happen, not from viruses etc, but from some of the complexities of the program itself. In this case, a corrupted preference file may be causing the problem.
    In the Finder, drag to the desktop the com.apple.safari.plist folder found in your User Account>Library>Preferences folder.
    Restart Safari. Select the pop-up block. Quit/Restart Safari.
    If the pop-up selection held, you'll need to reset your Safari preferences to your liking, plus any custom settings found in the Edit Menu (spelling) or View Menu (status bar, bookmarks bar, custom icons in the "Customize Address Bar" ).
    Otherwise, move the file back to its original location.
    Post back

  • Creating POP email account

    When trying to create a new email account, even though the on-line user guide says I can create POP or IMAP accounts, I never get the option of selecting POP.  It always creates IMAP.  How do I create a POP account?

    If your provider has both IMAP and POP, the phone will generally default to IMAP. If however, you have a POP account, then you need to "fool" the iPhone into allowing you to choose. Delete the attempt that you made and then go back to Settings and add an account. From there, purposely make a mistake in your email password. This will then not allow the account to be verified. When that happens, you will get the screen that allows you to make a choice. From there, you will need to correct your password on that screen, and then finish making the necessary entries for your account.

  • How to create pop-up text boxes?

    Hello,
    Does anyone know if it's possible to make pop-up text boxes/windows in iBook Author? For instance, I can click on a text on the layout and a window pop-up with another text, in my case, they're references/citations. If this isn't possible in iBook Author, is there work-around for this, preferably, in iBook Author itself instead of creating widgets/imagest for every instance of the references. Any help would be appreciated.
    Thanks,
    Hoa

    The glossary offers this capability. However, using it for that purpose might be a bit confusing, especially if you also have "real" glossary entries.
    I'm not aware of any other way to create a pop-up.
    Michi.

  • Create pop up menus

    I am updating my website and have the home page complete...I
    think. The other pages have not been updated yet because I am
    trying to figure out the best way to create an easy to update
    pop-up menu similar to what is currently on all the pages except
    the Home page. It is a drop down menu and every time I add a new
    category of images like "Antarctica" I have to update the menu on
    EVERY page. Here is a link to the Main Gallery and all the pages
    except the Home page has the pop-up menu which you see when you
    mouse over the word "Gallery".
    http://www.westlight.net/gallerynew.html
    I would like to create a separate html frame/page that only
    has the "Menu Bar" across the top of the page as seen on the Home
    page.
    http://www.westlight.net/index.html
    On all the other pages I would like to have the drop down menu
    appear as it current does but in a way that is MUCH easier to
    update. I thought I could insert this html frame into all the other
    pages and then I would only have to make changes to the one menu
    page. I really do not understand much about the ins and outs of web
    design.
    The new menu bar on the Home page is a series of
    images/buttons. I tried to create a pop-up menu using Dreamweaver 8
    but it does not appear. Something to do with trying to create a
    pop-up menu from an image? I hope that there is an easy way to do
    this without having to drop $80.00 on software to create menus as I
    obviously do not do this for a living. If I have to buy something
    any recommendations would be great.
    All suggestions are MUCH appreciated.

    Avoid frames, Server side includes are a good way to go.
    Determine what platform your host supports i.e. php or asp,
    and all you will need is a separate file for your menu bar,
    and a bit of code to call it on each page.
    "westlight" <[email protected]> wrote in
    message
    news:erg67l$eup$[email protected]..
    >I am updating my website and have the home page
    complete...I think. The
    >other
    > pages have not been updated yet because I am trying to
    figure out the best
    > way
    > to create an easy to update pop-up menu similar to what
    is currently on
    > all the
    > pages except the Home page. It is a drop down menu and
    every time I add a
    > new
    > category of images like "Antarctica" I have to update
    the menu on EVERY
    > page.
    > Here is a link to the Main Gallery and all the pages
    except the Home page
    > has
    > the pop-up menu which you see when you mouse over the
    word "Gallery".
    >
    http://www.westlight.net/gallerynew.html
    >
    > I would like to create a separate html frame/page that
    only has the "Menu
    > Bar"
    > across the top of the page as seen on the Home page.
    >
    http://www.westlight.net/index.html
    On all the other pages I would like
    > to
    > have the drop down menu appear as it current does but in
    a way that is
    > MUCH
    > easier to update. I thought I could insert this html
    frame into all the
    > other
    > pages and then I would only have to make changes to the
    one menu page. I
    > really
    > do not understand much about the ins and outs of web
    design.
    >
    > The new menu bar on the Home page is a series of
    images/buttons. I tried
    > to
    > create a pop-up menu using Dreamweaver 8 but it does not
    appear. Something
    > to
    > do with trying to create a pop-up menu from an image? I
    hope that there is
    > an
    > easy way to do this without having to drop $80.00 on
    software to create
    > menus
    > as I obviously do not do this for a living. If I have to
    buy something any
    > recommendations would be great.
    >
    > All suggestions are MUCH appreciated.
    >

  • Best way to create pop-up menu's

    Hi All,
    I have been having a heck of a time doing something that i
    would have assumed to be relatively simple - specifically creating
    a pup-up menu.
    My first set of approach was to dynamically create a movie
    clip on a button rollover, and within that movieclip create several
    other movie clips that i then assigned actions too. The problem was
    that since i applied a action on "rollout" on the initial movie
    clip, it became a button, and as such all of the sub
    movieclips/buttons became in active (any click was only detected on
    the parent).
    My second set of attempts have been around the MenuComponent
    (see other posts), but here too i have hit problems, initially with
    animation and depth. I solved the animation issue, but the depth
    problem remains.
    Now, i see pop-up menu's everywhere, so i assume that this is
    a relatively simple problem - so what am i missing. A google search
    showed up lots of examples of how to do using menu that are created
    in the UI (rather than purely in AS), using purchased components.
    The first case is not an option since i need to create it fully
    dynamically, the second would be an option - however i typically
    need a far greater level of visual control than off the shelf
    components provide (hence i have needed to build up my own class
    library for many common tasks).
    So after all that, i have a simple question.
    "What is the best way to create a dynamic popup menu in
    AS2?"
    Regards
    Neil

    I guess you want to make your own popup menu, if I understand
    correctly. Nothing simpler, your first attempt was in the right
    direction, you just don't assign button actions to the parent clip,
    because you won't get the child clips to work, but add another
    child at the lowest level inside the parent, that acts as a
    "background" clip/button.
    And for the rollout for the entire popup, you can add a
    transparent clip just under the popup (which is at the currently
    topmost depth) covering the entire stage, give it rollover that
    acts as your rollout, and make it not use the hand currsor, so you
    can't tell it's there.
    That's how I do it, anyways..

  • Error while creating Pop-up window in SAP NetWeaver 7.1 CE  SP10 PAT0001

    Hi  All,
       I am trying to create a pop-up in the SAP NetWeaver 7.1 CE  SP10 PAT0001 and jdk1.6.0_21. I am trying to create a pop-up window using the "New Features of Web Dynpro Popup Window - SAP NetWeaver CE 7.11" Link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3&overridelayout=true
    public void wdDoModifyView(com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
       if (firstTime)
            IWDWindowViewElement window = (IWDWindowViewElement) view.getRootElement();
    It shows the collowing error " IWDWindowViewElement cannot be resolved as type". I am using the latest version of NW CE and jdk but still i am unable to find the "IWDWindowViewElement".
    I have gone through a similar thread talking abt the same problem but it did not help. (Web Dynpro Popup Window Error in SAP Netweaver CE 7.11)
    Can anybody help me with this?

    Hi,
    I think the problem is rather the following:
    The guide says:
    "How to create a popup with the new feature mentioned above?
    Before starting you should check the version of your NWDS. This can be done in NWDS: u201CHelpu201D -> u201CAbout SAP NetWeaver Developer Studiou201D. The version information should look similar to the text below:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000"
    I tried the same guide on 720 and there the interface IWDWindowViewElement is available.
    So again, the problem is this:
      have the SAP NetWeaver 7.1 Composition Environment SP10 PAT0001 
    This means you have 710 (SP10 PAT1)
    The guide says you need EHP1 at least
    SAP NetWeaver 7.1 EhP 1 SP00 PAT0000
    This means 711 (SP00 PAT0)
    Best Regards,
    Ervin

  • How to change the size of New Page create pop up window ?

    In Site Actions on clicking of New Page the pop up page is opened it is stretched mode.
    I want to change the width of that pop up windows only.
    After pressing F12 key i find that it is happening because of the java script  function on calling of which that page is opened.
    But i am unable to find that javascript function from where it is calling or where it is written or how i can modify that function.
    So please help me out in solving that issue.

    Hi,
    According to your post, my understanding is that you want to change the size of the new page pop up dialog.
    We can create a new dialog with proper size to achieve it.
    I have made a simple code demo to create a new dialog with proper size, you can have a look at it.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    ready();
    function ready(){
    $("span[title='Open Menu']").click(function(){
    //alert(2);
    setTimeout(openNewPageClick,500);
    function openNewPageClick(){
    //setTimeout(openNewPage,1000);
    $("#mp1_0_3").removeAttr("onMenuClick");
    $("#mp1_0_3").click(function(){
    url="http://sps/_layouts/createwebpage.aspx";
    openDialogBox(url);
    function openDialogBox(url){
    var options = SP.UI.$create_DialogOptions();
    options.url = url;
    options.height = 900;
    SP.UI.ModalDialog.showModalDialog(options);
    </script>
    Note: You should change the ID or class to fit your environment.
    More reference:
    http://kyleschaeffer.com/sharepoint/sharepoint-2010-pop-up-dialogs/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • STRANGE PROBLEM with "Create New Mail Account.scpt" when creating POP acct.

    I am using "Create New Mail Account.scpt" to create a POP account. It creates the account successfully. It fetches the mails successfully. Now the problem begins. After fetching all the mails once if u click "Get Mail" in mac mail, it fetches all the emails again and has now 1 original and 1 copy of the email set which is on the server. I just need 1 copy of the mail set not multiple. Please give me a solution or direct me to a help.
    Thanks
    SCRIPT
    global theUsername
    global thePassword
    set success to 1
    set theResult to true
    if theResult is not equal to false
    #set theAccountName to getAccountName()
    #set theUsername to getUsername()
    #set thePassword to getPassword()
    #set theEmailAddresses to getEmailAddress()
    #set theFullName to getFullName()
    -- POP Account
    if accountTypeString is equal to "POP" or accountTypeString is equal to "IMAP" then
    set theHostname to "THE HOST NAME"
    -- POP specific options
    if accountTypeString is equal to "POP" then
    set deletionPolicy to my getDeletionPolicy()
    if deletionPolicy is not equal to false then
    set deletionPolicy to item 1 of deletionPolicy
    set theNewAccount to my createAccount(accountTypeString, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
    if theNewAccount is not equal to false then
    setDeletionPolicy(theNewAccount, deletionPolicy)
    getAndSetAuthenticationScheme(accountTypeString, theNewAccount)
    getAndSetSMTPServer(theNewAccount)
    else
    set success to 0
    end if
    end if
    -- IMAP specific options
    else if accountTypeString is equal to "IMAP" then
    set theNewAccount to my createAccount(accountTypeString, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
    if theNewAccount is not equal to false then
    getAndSetCachingSettings(theNewAccount)
    getAndSetAuthenticationScheme(accountTypeString, theNewAccount)
    getAndSetSMTPServer(theNewAccount)
    else
    set success to 0
    end if
    end if
    end if
    if success is equal to 1 then
    display dialog "Account created!"
    else
    display dialog "Account creation failed!"
    end if
    end if
    -- Convenience handler for creating accounts
    on createAccount(theAccountType, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
    tell application "Mail"
    try
    if theAccountType is equal to ".Mac" then
    set theNewAccount to make new Mac account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, full name:theFullName, email addresses:{theEmailAddresses}}
    else if theAccountType is equal to "IMAP" then
    set theNewAccount to make new imap account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, uses ssl:true, full name:theFullName, email addresses:{theEmailAddresses}}
    else if theAccountType is equal to "POP" then
    set theNewAccount to make new pop account with properties {name:theAccountName, user name:theUsername, server name:theHostname, include when getting new mail:true, password:thePassword, uses ssl:true, full name:theFullName, email addresses:{theEmailAddresses}}
    end if
    on error
    set theNewAccount to false
    end try
    end tell
    return theNewAccount
    end createAccount
    -- Ask the user what they would like to name the account
    on getAccountName()
    repeat
    set theResult to display dialog "What would you like this account to be named?" default answer "Example: My Home Account"
    set theAccountName to text returned of theResult
    if theAccountName does not start with "Example:" then
    exit repeat
    end if
    end repeat
    return theAccountName
    end getAccountName
    -- Ask the user for the user name for their email account
    on getUsername()
    repeat
    set theResult to display dialog "What is your email user name?" default answer "Example: janedoe"
    set theUsername to text returned of the theResult
    if theUsername does not start with "Example:" then
    exit repeat
    end if
    end repeat
    return theUsername
    end getUsername
    -- Ask the user for the password for their email account
    on getPassword()
    set theResult to display dialog "What is the password for this account?" default answer ""
    set thePassword to text returned of theResult
    return thePassword
    end getPassword
    -- Ask the user for the email addresses for their email account
    on getEmailAddress()
    repeat
    set theResult to display dialog "What email address would you like to use for this account?" default answer "Example: [email protected]"
    set theEmailAddress to text returned of theResult
    if theEmailAddress does not start with "Example:" then
    exit repeat
    end if
    end repeat
    return theEmailAddress
    end getEmailAddress
    -- Ask the user for the full name for their email account
    on getFullName()
    repeat
    set theResult to display dialog "What is the full name for this account?" default answer "Example: Steve Smith"
    set theFullName to text returned of theResult
    if (theFullName does not start with "Example:") then
    exit repeat
    end if
    end repeat
    return theFullName
    end getFullName
    -- Convenience handler for asking the user what settings they would
    -- like to have for their special mailboxes. This handler also sets these
    -- values in Mail.
    on getAndSetSpecialMailboxes(theAccount)
    -- Sent messages default to storing locally
    set theResult to display dialog "Would you like to store Sent Messages on the IMAP server?" buttons {"Yes", "No"} default button 2
    log theAccount
    tell application "Mail"
    tell theAccount
    if button returned of theResult is equal to "Yes" then
    set store sent messages on server to true
    else if button returned of theResult is equal to "No" then
    set store sent messages on server to false
    end if
    end tell
    end tell
    -- Drafts default to storing locally
    set theResult to display dialog "Would you like to store Drafts on the IMAP server?" buttons {"Yes", "No"} default button 2
    tell application "Mail"
    tell theAccount
    if button returned of theResult is equal to "Yes" then
    set store drafts on server to true
    else if button returned of theResult is equal to "No" then
    set store drafts on server to false
    end if
    end tell
    end tell
    -- Trash defaults to storing on the IMAP server
    set theResult to display dialog "Would you like to store Deleted Messages on the IMAP server?" buttons {"Yes", "No"} default button 1
    tell application "Mail"
    tell theAccount
    if button returned of theResult is equal to "Yes" then
    set store deleted messages on server to true
    else if button returned of theResult is equal to "No" then
    set store deleted messages on server to false
    end if
    end tell
    end tell
    end getAndSetSpecialMailboxes
    -- Convenience handler for asking the user what IMAP
    -- caching setting they would like to use and configuring
    -- it in Mail.
    on getAndSetCachingSettings(theAccount)
    set theResult to choose from list {"Cache everything", "Cache everything but attachments", "Cache when read", "Don't cache"} ¬
    with prompt "Choose a message caching setting for this account:" default items {"Cache everything"} without multiple selections allowed
    if theResult is not equal to false then
    tell application "Mail"
    tell theAccount
    if (item 1 of theResult is equal to "Cache everything") then
    set message caching to all messages and their attachments
    else if (item 1 of theResult is equal to "Cache everything but attachments") then
    set message caching to all messages but omit attachments
    else if (item 1 of theResult is equal to "Cache when read") then
    set message caching to only messages I have read
    else if (item 1 of theResult is equal to "Don't cache") then
    set message caching to do not keep copies of any messages
    end if
    end tell
    end tell
    end if
    end getAndSetCachingSettings
    -- Convenience handler for asking the user whether they want to use
    -- an already defined SMTP server (if any) or whether they want to
    -- define a new one.
    on getAndSetSMTPServer(theAccount)
    tell application "Mail" to set everySMTPServer to every smtp server
    if ((count of everySMTPServer) > 0) then
    set listOfSMTPServers to {}
    repeat with eachServer in everySMTPServer
    try
    set listOfSMTPServers to listOfSMTPServers & name of eachServer
    end try
    end repeat
    createNewSMTPServer(theAccount)
    else
    createNewSMTPServer(theAccount)
    end if
    end getAndSetSMTPServer
    -- Handler for creating a new SMTP server, if the user has none set up
    -- already or if they choose not to use one of their existing servers.
    on createNewSMTPServer(theAccount)
    set theServerName to "THE SERVER NAME"
    tell application "Mail"
    set theSMTPServer to make new smtp server with properties {server name:theServerName, port:25, uses ssl:true}
    set smtp server of theAccount to theSMTPServer
    end tell
    getAndSetAuthenticationScheme("SMTP", theSMTPServer)
    end createNewSMTPServer
    -- Handler for asking the user what authentication scheme their server supports.
    -- The options are different for POP, IMAP, and SMTP. Unless you are told otherwise,
    -- it's best to leave these at their default settings.
    on getAndSetAuthenticationScheme(accountType, theAccount)
    if accountType is equal to "POP" then
    set theChoices to {"Password", "Kerberos 4", "Kerberos 5", "KPOP", "MD5"}
    set theDefault to {"Password"}
    else if accountType is equal to "IMAP" then
    set theChoices to {"Password", "Kerberos 4", "Kerberos 5", "MD5"}
    set theDefault to {"Password"}
    else if accountType is equal to "SMTP" then
    set theChoices to {"None", "Password", "Kerberos 4", "Kerberos 5", "MD5"}
    set theDefault to {"Password"}
    end if
    set theResult to choose from list theChoices ¬
    with prompt ¬
    "Choose an authentication scheme for this " & accountType & " server. Most servers support 'Password' authentication." default items theDefault without multiple selections allowed
    if theResult is not equal to false then
    tell application "Mail"
    set theScheme to item 1 of theResult
    tell theAccount
    if theScheme is equal to "Password" then
    set authentication to password
    else if theScheme is equal to "Kerberos 4" then
    set authentication to «constant exutaxk4»
    else if theScheme is equal to "Kerberos 5" then
    set authentication to kerberos 5
    else if theScheme is equal to "MD5" then
    set authentication to md5
    else if theScheme is equal to "None" then
    set authentication to none
    else if theScheme is equal to "KPOP" then
    set authentication to «constant exutakpo»
    end if
    end tell
    end tell
    if accountType is equal to "SMTP" then
    set theSMTPLogin to theUsername
    set theSMTPPassword to thePassword
    tell application "Mail"
    tell theAccount
    set user name to theSMTPLogin
    set password to theSMTPPassword
    set uses ssl to true
    set port to 25
    end tell
    end tell
    end if
    end if
    end getAndSetAuthenticationScheme
    -- Handler for asking the user what POP deletion policy
    -- they would like to use for their account.
    on getDeletionPolicy()
    set theResult to choose from list {"Immediately after being downloaded", "After a specified number of days", ¬
    "When I remove them from the inbox", "Always leave them on the server"} ¬
    with prompt ¬
    "Choose a POP message deletion option:" default items {"Always leave them on the server"} without multiple selections allowed
    return theResult
    end getDeletionPolicy
    -- Handler for setting the deletion policy established in getDeletionPolicy()
    on setDeletionPolicy(theAccount, thePolicy)
    tell application "Mail"
    tell theAccount
    if thePolicy is equal to "Immediately after being downloaded" then
    set delete mail on server to true
    set delayed message deletion interval to 0
    else if thePolicy is equal to "After a specified number of days" then
    set numberOfDays to my getDeletionInterval()
    set delete mail on server to true
    set delayed message deletion interval to numberOfDays
    else if thePolicy is equal to "When I remove them from the inbox" then
    set delete mail on server to true
    set delete messages when moved from inbox to true
    else if thePolicy is equal to "Always leave them on the server" then
    set delete mail on server to false
    end if
    end tell
    end tell
    end setDeletionPolicy
    -- Handler for asking the user what deletion interval they
    -- would like to use, if they are setting up a POP account
    on getDeletionInterval()
    set theResult to display dialog "After how many days would you like POP messages to be deleted from the server?" default answer "30"
    set numberOfDays to text returned of theResult as integer
    return numberOfDays
    end getDeletionInterval

    Hi amiaba, and a warm welcome to the forums!
    I can't quite tell what it's doing, but open Keychain Access in Applications>Utilities, click on your Keychain on the left, put .mac in the search bar, once you find it, double click on it and click show password.
    If you have no mail in there try this with Mail quit.
    Drag this file to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist
    Start Mail & see if it steps you through it.
    Not sure on the .uk thing, but is Date & Time>Time Zone set to the UK?

  • Creating POP Up after logging into Portal

    Hi,
    I want to create a pop up as soon as i login into the SAP Portal. The message i want to dispaly is a static message(a simple alert message). How can i do it?
    Regards,
    Kusuma

    Hi Puneet,
    Thanks for the reply. I added pop up code inside HeaderiView.jsp. Problem is now when i try to upload the new par file, its size is lesser than the one i downloaded. Reason may be some jar files are mising. But i am not able to find the missing jar files.
    If anyone has faced the same problem earlier, kindly guide me.
    Regards,
    Kusuma

  • How to create pop ups  in abap !

    When  a particular action will be done or a button eill be pressed a pop up will be created ...please help me with code...any standard function module ?????

    and how to get the fields in the pop-up window? if any func. module is there , what are the parameters to be passed?
    USE THIS fm POPUP_TO_DECIDE_INFO .
    Parameters required for this FM is the Text you require to display on the popup window.
    Two buttons automatically comes on this window a Tick and a x sign if you click tick the output varaible ANSWER is J else it is A .
    check this [link|http://sap-img.com/abap/abap-pop-up-window.htm]

Maybe you are looking for

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11) i am an abaper i want to know the functionality in that let me know the mandatory fields because i have an requirement to create it using lsmw thanks in advance

  • When I opened Firefox, Why cursor blinking in address bar?

    When I opened Firefox, Why cursor blinking in address bar? It should be on the Google search box. so that i can start searching fastly without clicking on the search box of google.

  • Editing Tunes in iTunes

    Hi! First iTunes post: This is what I want to do...and as easy as humanly possible! Take tunes (songs) I have imported from CDs and edit those tunes to REMOVE the clapping at the end of the track. Name, some of my favorite Keith Jarrett piano solos I

  • Issue in Smartform printing

    Hi After upgrade from 4.6 C to ECC6, we are facing a problem. A form printout displays the character ~ above the actual text. for ex the  0 ~ 25 is getting printed as the sign ~ coming a bit above both 0 and 25. Kindly advice if anyone is having idea

  • Exploding of BOM by using ALV Report

    Hi, Can any one help me to build a report which explodes the BOM as in CS11 level by level Thanks Bobby