Problem in creating new label in flashbuilder using script

import  
  mx.controls.*;
public function init():void{ 
var Mylabel:Label=new Label; 
Mylabel.move(10,10);
Mylabel.text=
"Welcome"; 
when i use this code it shows Overrides Object.init issue wats wrong in this?can any one provide me right way?

I pasted your code into an <fx:Script> block of a new Flex Project in Flash Builder 4 and didn't get any compilation error. If you're getting a compilation error, please post the complete code and the exact wording of the error.
Gordon Smith
Adobe Flex SDK Team

Similar Messages

  • Problem in Creating new row & inserting data using CreateInsert and Commit

    Hello All,
    I have created a page there are few input text and i want to insert the data into a database table. I have created an Application Module I am using CreateInsert and Commit operation but there is one problem.
    At first it created a row in database after that it is not creating the new row instead it is updating the same row with the new values.
    In bindings of my jspx page I have created two binding for action (1) CreateInsert for the VO of that Application Module (2) Commit operation of that Application Module.
    Here is the code snippet of my application:
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
    Object result = operationBinding.execute();
    *if (!operationBinding.getErrors().isEmpty()) {*
    return null;
    OperationBinding operationBinding1 = bindings.getOperationBinding("Commit");
    Object result1 = operationBinding1.execute();
    *if (!operationBinding1.getErrors().isEmpty()) {*
    return null;
    I have tried using Execute+Commit and Insert+Commit case also in every case it is updating the same row and not inserting a new row.
    Is there anything I am missing?
    Please Help.

    hi user,
    i dono. why are trying with codes. adf provides zero lines codes.
    a wonderful drag and drop functionality provide by the framework.
    while double click the button the codes are  registered in your bean
        public String cb6_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb8_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb7_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("Delete");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb14_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Delete4");   // some different here. after deleting usually do commit
            OperationBinding operationBinding1 =  
                bindings.getOperationBinding("Commit");    // so here commit operation.
            Object result = operationBinding.execute();
            Object result1 = operationBinding1.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            if (!operationBinding1.getErrors().isEmpty()) {
                //add error handling here
                return null;
            return null;
        }if am not understud correctly. please some more explanation need.

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Create new resource in XDB using PL/SQL problem

    Hi Forum,
    I'm struggling with the problem of creating folders and resources automatically using PL/SQL. I'm working with Oracle 9.2
    What I'd like to achieve is a proc like so:
    create_folder(path in varchar2)
    This proc should create the folder for me. Problem is:
    1. If a subfolder is not existing, dbms_xdb.create_folder throws an error.
    2. If a folder is existing, the same happens.
    So my approach is:
    split the path '/a/b/c/d/test.xml' into chunks like:
    /a
    /a/b
    /a/b/c
    /a/b/c/d
    Now, check for each entry, whether folder exists. If not, create folder.
    The way I implemented this is by a pipelined PL/SQL function split_path:
    create type path_table as table of varchar2;
    create or replace function split_path (path in varchar2)
    return path_table pipelined
    is
    i number := 1;
    begin
    while instr(path, '/', 2, i) > 0 loop
    pipe row (substr(path, 1, instr(path, '/', 2, i) - 1));
    i := i + 1;
    end loop;
    return;
    end split_path;
    This function pumps out any sub-path.
    Now, I create a create_folder function like so:
    procedure create_folder (path in varchar2)
    is
    i number := 1;
    -- cursor for all non-existing pathes (via pipelined function split_path)
    cursor path_cur is
    select column_value
    from table(mds_tools.split_path(path))
    where column_value not in (select any_path from resource_view);
    begin
    -- Create all non-existing folders
    for entry in path_cur loop
    result := dbms_xdb.createFolder(entry.column_value);
    end loop;
    -- exception handling goes here
    end create_folder;
    So, this way, I'm checking any sub folder against the existing cursors and try to create a folder if it's not existing.
    Nice try, so far, but: It doesn't work.
    Oracle gives me an "End of communication" error, when trying to run this.
    It seems to bomb out as soon as the second pipe is pumped out of the function and I don't understand, why.
    If this should be the wrong approach, how could I improve this?
    Thanks for any help,
    Jürgen

    Sorry, two little mistakes:
    Procedure create_folder shoule read like this:
    create or replace procedure create_folder (path in varchar2)
    is
    i number := 1;
    result boolean;
    -- cursor for all non-existing pathes (via pipelined function split_path)
    cursor path_cur is
    select column_value
    from table(split_path(path))
    where column_value not in (select any_path from resource_view);
    begin
    -- Create all non-existing folders
    for entry in path_cur loop
    result := dbms_xdb.createFolder(entry.column_value);
    end loop;
    -- exception handling goes here
    end create_folder;

  • BUG:  Advanced Actions duplicated when creating NEW PROJECTS FROM TEMPLATE using Adobe Captivate 8.

    Need:  CREATE NEW PROJECTS FROM TEMPLATE using Adobe Captivate 8. 
    Problem:  NEW PROJECT (.cptx) duplicates the Advanced Actions originally configured within TEMPLATE FILE (.cpt.).
    For example: Template file (.cptl) advanced action "_initializeModule" gets duplicated as "_initializeModule1", "_initializeModule2", "_initializeModule3" within NEW PROJECT.  FYI, the original "_initializeModule" advanced action still appears.
    MAJOR BUG, what the heck is going on?!?!!!  Planning to deploy this template file to use for multiple courses with multiple users, this WILL cause epic confusion across the board.

    Similar problem, think they are working on it as well: when dragging a shared action from an external library to a slide or object event, and that action is using a parameter that was already created for another shared action, there will be a new parameter created which really screws up the shared action contrary to this problem. Tip: for the moment do not drag shared actions from an external library immediately to an event, but drag them first to the Library: Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Problem in creating new communication channel template in IR

    Hi experts,
    I currently have problems with creating new communication channel template in Integration Repository. If I choose the New-Context (Adapter Objects-->Communication Channel Template) the dialog "CREATE OBJECT" is shown. After I have inserted the Name of my template I push the create button.
    Then the following error occurs:
    STOP: Internal error: Object cannot be changed in display mode
    DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED).
    So can anybody help me. Thanks for your help.
    Best regards.
    Mario

    Hi Mario,
                This is genral problem appearing in PI 7.0 with SP12.
                Previously, i have the same problem.
                i.e STOP: Internal error: Object cannot be changed in display mode
    DETAILS: Internal error: Object cannot be changed in display mode(CANT_SET_MODIFIED)
                Regarding this we raise an OSS note SAP people.
                they gave the suggestion that update with SP13.
              i discuss with basis team and install the SP13.
               now the problem is solved, i can able to create the Communication Channel Template.
    Please award points, if it really help to u
    Regards
    Mahesh.

  • How to create mail labels, Avery 5160, using Pages?

    How to create mail labels, Avery 5160, using Pages?

    The application Contacts holds all your addresses and telephone, email etc details.
    It has a comprehensive set of Avery labels in its print dialog.
    You select the Contacts or groups of Contacts you want to print then in the Print dialog click on Show Details where you can choose Style : Mailing labels and choose which labels you want.
    Peter

  • I have problems with creating new projects in iMovie.

    I have problems with creating new projects. When i try, the mac says the following "Make sure there is enough disk space and that you have permission to write the projects to the drive." I have 8GB available, so its not that.

    thanks for your support
    lol

  • Backup SQL Agent Jobs - whats the difference between "create to" and "drop to" using "script job as"?

    Hi,
    This should be straightforward, but being new to SQL Server 2008, can someone advise the difference between "create to" and "drop to" using "script job as"?
    Thanks
    IT Support/Everything

    hello,
    "CREATE TO" create a CREATE statement for the job, e.g. to execute this script on a other server to create the same job there.
    "DROP TO" means you get a script to delete an existing job.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Problem in creating new field using AET

    Hi ,
    We are facing a problem while creating a new field using AET.
    [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0190611650DB01471683520393954021End?blog=/pub/wlg/12716]
    Im following this blog while creating the new field using AET.
    After filling all the field details and trying to create a Transport request its going for a runtime error.
    The error is happening in class  CL_CRM_GENIL_AXT_API
    method get_editable_properties.
      data lr_field_ext type ref to cl_genil_field_extension.
      field-symbols <axt_field_extension> type gtype_field_extension.
      data lr_fieldext_ref type ref to if_axt_field_ext_access.
      read table axt_field_extension_tab assigning <axt_field_extension> with key ext_bo       = is_key-ext_bo
                                                                              ext_bo_part  = is_key-ext_bo_part
                                                                              extension_id = is_key-extension_id.
      lr_field_ext = <axt_field_extension>-axt_extension.
      if sy-subrc = 0.
    While Debugging we can see that the table axt_field_extension_tab  is having zero values during the last execution.
    But the Zfield is getting generated and the status is in green.
    Any suggestions will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Sep 9, 2009 1:00 PM
    Edited by: sijokjohn85 on Sep 10, 2009 12:49 PM

    Hi,
    you posted the same question again in a later post.
    Here is my answer:
    Hi,
    the reason that AET does not work is because there is/are missing entries in one of DB table.
    Namely the enhance BO assignment to the UI Object Type.
    Could you please tell me, what is the UI Object Type in you current IC application.
    In order to figure this out, you can put mouse cursor in one of the field in the UI and then press F2.
    Then you can go to SM30 in SAP GUI open the View BSPDLCV_OBJ_TYPE and search for the UI object type.
    Select the UI object type and see whether any enhanced BO is defined.
    In your case it should be empty, otherwise you can use AET in IC.
    And if it is empty we need to figure out which enhanced BO is relevant for the given UI Object Type.
    Regards,
    Steve
    P.S. But still you can raise a CSN message.
    The "Create New Field" should be in active mode.

  • Create new tab in header using badi ME_GUI_PO_CUST for tcode ME21N

    Dear all,
    i have implemented method SUBSCRIBE in ME_GUI_PO_CUST to create new tab in ME21N,
    but the tab is not coming
    following is the code snips, please tell where is the error, or some setting needs to be done
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    if sy-tcode eq ' ME21N' OR SY-TCODE EQ 'ME22N' OR SY-TCODE EQ 'ME23N'.
      CHECK im_application = 'PO'.
      CHECK im_element     = 'HEADER'.
    CLEAR re_subscribers[].
      ls_subscriber-name = 'Customer-Data'.
      ls_subscriber-dynpro = '0101'.
      ls_subscriber-program = 'SAPLMEGUI'.
      ls_subscriber-struct_name = 'MEPO_SUBSCRIBERS'.
      ls_subscriber-label = 'Customer Data'.
      ls_subscriber-position = 10.
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    ENDIF.
    endmethod.
    Regards
    Sumodh

    Hi...I hv similar requirement.
    I need to show a custom field in the screen for the items.
    I tried using the methods "SUBSCRIBE" and "MAP_DYNPRO_FIELDS" as explained in the sample code.
    Below is my code. I have copied the sample code and changed it lil.
    Method "SUBSCRIBE":
      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    the dynpro number to use
      ls_subscriber-dynpro = '9000'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLZMMPO1'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'ZMM_PO_CUST_SCREEN'.
    a label can be defined
      ls_subscriber-label = text-t01.
    the position within the tabstrib can be defined
      ls_subscriber-position = 13.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    method "MAP_DYNPRO_FIELDS":
      FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
    *- customer fields
      CONSTANTS: mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
      LOOP AT ch_mapping ASSIGNING <mapping>.
        CASE <mapping>-fieldname.
          WHEN 'CLMNO'. <mapping>-metafield = mmmfd_cust_01.
        ENDCASE.
      ENDLOOP.
    I created a function group - "ZMMPO1" and created the subscreen 9000 in that. I placed the custom field in that screen. Tha main program of ZMMPO1 is "SAPLZMMPO1".
    I created a structure also - "ZMM_PO_CUST_SCREEN".
    I want to know whether this is sufficient to display the tab on the screen or am I missing something.
    It is mentioned that the implementation of "ME_PROCESS_PO_CUST" is a pre-requisite.
    could you lemme know the process please.
    Thanks,
    Ram.

  • 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?

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,
       I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is QMART. is there any problem if i change the filter type?
    Thanks in Advance!

    Hi ,
    NOTIF_EVENT_POST is filter dependent and filter values are based on QMART value in table TQ80. You need to specify the filter value ie : QMART value before implimentation , before that check all active implimentations for the same , if u have to impliment on same filter value , you need to deactivate the one which is implimented on same filter value .
    You are not supposed to change the filter type.
    Regards,
    Vamsi
    Edited by: CH. VAMSHI on Sep 29, 2009 11:58 AM

  • Problem in Creating new Essbase Connection in JDeveloper

    I have formatted my machine and installed new JDeveloper in my machine.
    I am trying to create New Essbase Connection in my JDeveloper..I am giving all the server details and I can able to test the connection and the connection test will be success. After Testing I am creating the Connection, the new connection window is getting closed but the connection is not creating/ not visible under Application Resources -> Connections.
    When I try to run my old application..the old connection was working fine..I have issue in creating connection for new Applications.
    Could any one of you let me know how to resolve this problem.
    Thanks,
    Swathi G

    Thanks for the reply.. I am getting the below error when I try to create the new Essbase Connection. where this file (essbase.properties ) will be located in my machine.
    WARNING: Error accessing the properties file. essbase.properties: essbase.properties (The system cannot find the file specified). Using default values
    Waiting for the help..

Maybe you are looking for

  • Field and Table for PGI status updation

    Hi All, I want to know in which field and table the PGI status will get updated. i.e. once we do the PGI for a delivery in which table will this PGI status gets updated. Thanks in advance for help. Harini

  • How do i reset macbook pro 13" 10.6.8 (mid 2010 startup disk is full

    I got my macbook pro 13" (mid 2010) (10.6.8) back from an ex and now  I am stuck with his user login and I don't know the password. When I try to reset at startup by usingCommand 'O' I =get the message "Delete some files0your startup disk is full. I

  • HD 720p iMovie stalls

    Have a six minute program of 720p HD clips, originating from .mov files from my new Panasonic Lumix DMC-LS3. The individual clips play fine on my system, and I made sure I got the latest Quicktime installed. the movie plays fine when I play it within

  • Sharing Aperture Library

    I'm running Aperture 3.1.3 (in 32-bit mode) on OS X Lion.  I used to be able to share my Aperture photos with iWork, in Mail, and in the Screensaver, but now I cannot.  I have "Preview Sharing" turned on in the Aperture Preferences.  I've tried trash

  • Apps stuck on "processing file" in 11.1.3.8 for Windows

    I don't believe that this was a problem 100% of the time since I downloaded 11.1.3.8 for Windows, but I am noticing that recently, most times the software hangs during the "processing file" portion of updating any app. If I go into task manager and k