Help with fitting text in screen

Could anyone help me with figuring out how I can get the full
page of the Webkinz home page to fit on the screen with Adobe Flash
Player 9? Is there another program to allow it to fit on the
screen? Minimizing the screen size does not work.

Could anyone help me with figuring out how I can get the full
page of the Webkinz home page to fit on the screen with Adobe Flash
Player 9? Is there another program to allow it to fit on the
screen? Minimizing the screen size does not work.

Similar Messages

  • Need help with fitting text onto page

    I'm working on a website where I have a template with an
    editable region where I put all the main text for each page. I
    originally had it set up for scroll bars so when the text inside
    the cell of the editable region didn't fit, scroll bars would
    appear (I used overflow in the CSS). Now the client tells me they
    don't want scroll bars but want the text area to dynamically expand
    vertically to fit whatever amount of text. The problem is, when I
    try to put in a lot of text in the editable region, it breaks the
    table and the nav bar on the side gets all messed up. How can I
    have the text inside of a cell dynamically expand without affecting
    the rest of the table?
    Any help is greatly greatly appreciated, thanks in
    advance!

    > Here's the code...
    sorry, but again- please upload the page someplace.
    Don't attach it to a post, don't paste it in a post, upload
    the page
    someplace pls.
    I and many others are viewing this forum with a newsreader,
    not using the
    web forums at the adobe web page.
    The webforum-->NNTP newsgroup thingee has truncated your
    post. So i can't
    copy/paste it and use tools and sight read it. The code i see
    is incomplete.
    your post ends here for me:
    Advanced course (9-4) &#8212; $450<br>
    This course is for students already u
    Just upload the thing to some ftp account someplace pls.
    or if not possible, zip or rar the folder and send as an
    attachment to
    blu
    at
    formdude
    dot
    com
    pls don't email anything over 10megs.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • I need help with my text tone and I have ring tone. no text tone for the 4s.

    I need help with my text tone. I have ring tone no text tone. I have a 4s.

        Hi Sarar2333!  Let's get your text tones working again!
    Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a.  You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting.  Let me know how that works out for you.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Value help with short text

    Hi gurus,
    I'm trying to create a input value help with the records from my internal table but I woulkd like also to put the short when the popup displays.
    Actually I only have the records.
    SELECTION-SCREEN BEGIN OF BLOCK ref WITH FRAME TITLE text-t03.
    SELECT-OPTIONS:
                    s_kstar FOR i_cska-kstar.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_kstar-low.
      PERFORM search_kstar USING s_kstar-low.
    FORM search_kstar
                     using kstar type cska-kstar.
      SELECT * FROM cska
                   INTO CORRESPONDING FIELDS OF TABLE i_cska
                   WHERE kstar LIKE '08%'
                   OR    kstar LIKE '008%'
                   OR    kstar LIKE '0008%'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'KSTAR'
          dynprofield = 's_kstar'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          value_org   = 'S'
        TABLES
          value_tab   = i_cska.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'HELP_VALUES_GET'
           EXPORTING
                fieldname        =  'KSTAR'
                tabname          =  'i_cska'
           IMPORTING
                SELECT_VALUE     =   kstar.
    ENDFORM.                    " SEARCH_KSTAR
    Anybody would a solution.
    Thx in advance for your help.
    Mohamed.

    Hi Mohamed,
    Check the Following.
    "  Implement your own search Help as below
    PARAMETERS : carrid TYPE spfli-carrid,
                 connid TYPE spfli-connid,
                 fldate TYPE sflight-fldate.
    DATA : itab TYPE TABLE OF sflight WITH HEADER LINE.
    DATA : fmap TYPE TABLE OF dselc WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR carrid." If it is a selection Screen
    else in PROCESS ON VALUE REQUEST
      SELECT * FROM sflight INTO TABLE itab.
      SORT itab BY carrid connid fldate.
      DELETE ADJACENT DUPLICATES FROM itab
      COMPARING carrid connid fldate.
      fmap-fldname = 'CARRID'.
      fmap-dyfldname = 'CARRID'.
      APPEND fmap.
      fmap-fldname = 'CONNID'.
      fmap-dyfldname = 'CONNID'.
      APPEND fmap.
      fmap-fldname = 'FLDATE'.
      fmap-dyfldname = 'FLDATE'.
      APPEND fmap.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
         ddic_structure         = 'SFLIGHT'
          retfield               = 'CARIID'
    *     PVALKEY                = ' '
         dynpprog               = sy-repid
         dynpnr                 = sy-dynnr
         DYNPROFIELD            = 'CARRID'
    *     STEPL                  = 0
    *     WINDOW_TITLE           =
    *     VALUE                  = ' '
         value_org              = 'S'
    *     MULTIPLE_CHOICE        = ' '
    *     DISPLAY                = ' '
    *     CALLBACK_PROGRAM       = ' '
    *     CALLBACK_FORM          = ' '
    *     MARK_TAB               =
    *   IMPORTING
    *     USER_RESET             =
        TABLES
          value_tab              = itab
    *     FIELD_TAB              =
    *     RETURN_TAB             =
         dynpfld_mapping        = fmap
    *   EXCEPTIONS
    *     PARAMETER_ERROR        = 1
    *     NO_VALUES_FOUND        = 2
    *     OTHERS                 = 3
                ." Just Execute this pilot program and verify
      IF sy-subrc  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Cheerz
    Ram

  • Help with Refreshing and Calling Screens

    Hi everyone.  I have somewhat of a simple ABAP program in which the user will enter data on Selection-Screen 1000.  This will then be loaded into an Object Oriented ALV Grid for display purposes only (screen 0100).  At any time, the user may use the back button on the ALV Grid Screen; which will take them from screen 0100 to screen 1000(Selection Screen).  Lets assume the user does not want to go back to the original selection screen from the ALV Grid Screen; they entered the information correctly and want to continue processing using a custom button I've created which will continue to process the record of data into a BW ODS.  This process works, but now I would like to use the write statement once the custom button is clicked to show a summary of the data I am inserting into the ODS after the data has been inserted.  The problem is, the title of the ALV Grid still shows and the Write statement is processed, but not shown on the screen.  I've been trying to refresh the screen with set screen and call screen combinations, but no luck.  Any Help would be appreciated.  Thanks!
    Here is a sample of the code below:
    *& Report  ZINC_DSP_SALES_INCRASE
    REPORT  ZINC_DSP_SALES_INCREASE MESSAGE-ID zsm.
    INCLUDE <icon>.
    DATA: credit_itab type standard table of /bic/azincosvi00,
          wa_credit like line of credit_itab,
          alv_itab type standard table of /bic/azincosvi00,
          wa_alv like line of alv_itab.
    DATA: ok_code LIKE sy-ucomm,
          save_ok LIKE sy-ucomm,
          incent type table of /bic/azincosvi00,
          g_container TYPE scrfname VALUE 'Increase DSP Sales',
          grid1 TYPE REF TO cl_gui_alv_grid,
          gs_layout TYPE lvc_s_layo,
          g_custom_container TYPE REF TO cl_gui_docking_container.
    DATA: active_guid like /bic/mzguid_dsr,
          UNIQUEKEY LIKE /BIC/AZINCOSVI00-/BIC/ZRCRDKEY,
          rpt_per_rec like  /BIC/MZRPTPRDCR,
          dsrcode like /bic/mzdsrcode-/bic/zdsrcode,
          payrec like /bic/mzsubcode.
    CLASS lcl_event_receiver DEFINITION DEFERRED.
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
        handle_toolbar
            FOR EVENT toolbar OF cl_gui_alv_grid
                IMPORTING e_object e_interactive,
        handle_user_command
            FOR EVENT user_command OF cl_gui_alv_grid
                IMPORTING e_ucomm.
        PRIVATE SECTION.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION.
    This will create the toolbar
      METHOD handle_toolbar.
       DATA: ls_toolbar  TYPE stb_button.
       CLEAR ls_toolbar.
       MOVE 3 TO ls_toolbar-butn_type.
       APPEND ls_toolbar TO e_object->mt_toolbar.
    append an icon to show booking table
       CLEAR ls_toolbar.
       MOVE 'CREATE' TO ls_toolbar-function.
       MOVE ICON_OKAY TO ls_toolbar-icon.
       MOVE ' ' TO ls_toolbar-disabled.
       APPEND ls_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.
    METHOD handle_user_command.
      CASE e_ucomm.
      WHEN 'CREATE'.
      Insert /bic/azincosvi00 from wa_credit.
      CALL METHOD grid1->free.
      SET SCREEN '200'.
      WHEN 'OTHERS'.
      " DO NOTHING
      ENDCASE.
      ENDMETHOD.
    ENDCLASS.
    Data: event_receiver TYPE REF TO lcl_event_receiver.
    START-OF-SELECTION.
    Selection-Screen BEGIN OF BLOCK 1 with frame title text-001.
    Parameters:  start   like /bic/azincosvi00-BILL_DATE.
    Selection-Screen END OF BLOCK 1.
    Selection-Screen BEGIN OF BLOCK 3 with frame title text-003.
    Parameters: guid         type /BIC/OIZGUID_DSR,
                pcode        type /BIC/OIZPGMCODE,
                scode        type /BIC/OIZSUBCODE,
                reason       type /BIC/OIZEXCPTC,
                quantity(5)  type n,
                discount     type /BI0/OISUBTOTAL_4.
    Selection-Screen END OF BLOCK 3.
    END-OF-SELECTION.
    IF quantity <> '00000'.
       if pcode <> 'SCTMS'.
          message e000 with 'Quantity can only be used with seating spiff'.
       endif.
    ENDIF.
    GET REPORT PERIOD INFO using today's date.
      select single * from /bic/mzrptprdcr INTO rpt_per_rec
          where calyear  = sy-datum(4)
            and /bic/zpgmcode  = pcode
            and ( /BIC/ZRPPRDSTR <= start
                  and /BIC/ZRPPRDEND >= start ) .
      if sy-subrc <> 0.
        message e000 with
        'Report Period NOT FOUND for' pcode ' ' sy-datum(4).
      endif.
    Select Active Guid based upon user entry on selection-screen
    Select single * from /bic/mzguid_dsr into active_guid
                                      where /bic/zguid_dsr = guid
                                      and   /bic/zdsrstat = 'A'.
        If sy-subrc <> 0.
        MESSAGE e000 WITH 'Please enter a valid GUID'.
        ENDIF.
    Select DSR Code based upon a valid guid entered
    Select single /bic/zdsrcode from /bic/mzdsrcode into dsrcode
                                     where /BIC/ZGUID_DSR = guid
                                     and   /BIC/ZDSRCDST = 'A'.
        If sy-subrc <> 0.
        MESSAGE e000 WITH 'GUID entered does not have an active dsr code.'.
        ENDIF.
    Select MAX( /BIC/ZRCRDKEY ) FROM /BIC/AZINCOSVI00 INTO WA_CREDIT-/BIC/ZRCRDKEY.
    UNIQUEKEY = WA_CREDIT-/BIC/ZRCRDKEY + 1.
    WA_CREDIT-/BIC/ZRCRDKEY = UNIQUEKEY.
    WA_CREDIT-PO_NUMBER = UNIQUEKEY.
    WA_CREDIT-/BIC/ZERDAT = SY-DATUM.
    WA_CREDIT-BILL_DATE = SY-DATUM.
    WA_CREDIT-/BIC/ZRPPRDSTR = rpt_per_rec-/BIC/ZRPPRDSTR.
    WA_CREDIT-/BIC/ZRPPRDEND = rpt_per_rec-/BIC/ZRPPRDEND.
    WA_CREDIT-/BIC/ZCUBPRCDT = SY-DATUM.
    WA_CREDIT-/BIC/ZRPTPRDCR = rpt_per_rec-/BIC/ZRPTPRDCR.
    WA_CREDIT-/BIC/ZINCPYPRC = '00000000'.
    WA_CREDIT-/BIC/ZGUID_DSR = ACTIVE_GUID-/bic/zguid_dsr.
    WA_CREDIT-/BIC/ZDSRCODE = dsrcode.
    WA_CREDIT-/BIC/ZPGMCODE = PCODE.
    WA_CREDIT-/BIC/ZUNASSIGN = 'N'.
    WA_CREDIT-/BIC/ZSUBCODE = SCODE.
    WA_CREDIT-/BIC/ZSITE_ICR = ACTIVE_GUID-/BIC/ZSITE_IRG.
    WA_CREDIT-/BIC/ZSUSPEND = 'N'.
    WA_CREDIT-/BIC/ZSUSPNDR = ' '.
    WA_CREDIT-/BIC/ZSITE_IRG = ACTIVE_GUID-/BIC/ZSITE_IRG.
    WA_CREDIT-/BIC/ZSITE_CST = ' '.
    WA_CREDIT-/BIC/ZINCBONUS = '0.00'.
    WA_CREDIT-STAT_CURR = 'USD'.
    WA_CREDIT-DOC_CURRCY = 'USD'.
    WA_CREDIT-SALES_UNIT = 'ST'.
    WA_CREDIT-CALYEAR =  SY-DATUM(4).
    WA_CREDIT-/bic/ZCASEID = SY-UNAME.
    WA_CREDIT-/bic/ZSLSRSN = REASON.
    WA_CREDIT-RECORDMODE = ' '.
    *Depending on Program Code, populate the amounts to be paid.
    Data: fivepercent type p.
          fivepercent = '0.05'.
    If pcode = 'SCW5S' or pcode = 'SCTMS'.
    Select single * from /bic/mzsubcode into payrec
                         where /bic/zpgmcode = pcode
                         and /bic/zsubcode = scode
                         and CALYEAR = sy-datum(4).
          if sy-subrc <> 0.
            write: / '**************  ERROR  ***********************',
                   / '** Missing Program Information for ',
                   /  pcode,
                      scode,
                      sy-datum(4),
            exit.
            endif.
    ENDIF.
    If pcode = 'SCW5S'.
    WA_CREDIT-/BIC/ZINCUSDDS = discount.
    WA_CREDIT-/BIC/ZPAYAMTUS = WA_CREDIT-/BIC/ZINCUSDDS * payrec-/bic/zpayper / 100.
    WA_CREDIT-SUBTOTAL_4 = discount.
    WA_CREDIT-/BIC/ZINC_QTY = ' '.
    Endif.
    If pcode = 'SCTMS'.
    WA_CREDIT-/BIC/ZPAYAMTUS = quantity * payrec-/bic/zpayper / 100.
    WA_CREDIT-/BIC/ZINCUSDDS = '0.00'.
    WA_CREDIT-SUBTOTAL_4     = '0.00'.
    WA_CREDIT-/BIC/ZINC_QTY = quantity.
    Endif.
    If pcode = 'SCTB'.
    WA_CREDIT-/BIC/ZPAYAMTUS = '0.00'.
    WA_CREDIT-/BIC/ZINCUSDDS =  DISCOUNT.
    WA_CREDIT-SUBTOTAL_4 =  DISCOUNT.
    WA_CREDIT-/BIC/ZINC_QTY = ' '.
    Endif.
    *Create ALV Grid to show the user what the record will look like in which they are creating.
    Append wa_credit to alv_itab.
    CALL SCREEN 100.
    *&      Module  PBO  OUTPUT
          text
    MODULE alv_pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      SET TITLEBAR  'MAIN100'.
      IF g_custom_container IS INITIAL.
    CREATE OBJECT grid1
    EXPORTING i_parent = g_custom_container.
        CALL METHOD grid1->set_table_for_first_display
          EXPORTING
            i_structure_name = '/bic/azincosvi00'
           CHANGING
            it_outtab        = alv_itab.
        CREATE OBJECT event_receiver.
        SET HANDLER event_receiver->handle_user_command FOR grid1.
        SET HANDLER event_receiver->handle_toolbar FOR grid1.
        CALL METHOD grid1->set_toolbar_interactive.
      ENDIF.
    ENDMODULE.                 " PBO  OUTPUT
    *&      Module  PAI  INPUT
          text
    MODULE alv_pai INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          CALL METHOD grid1->free.
          CALL SELECTION-SCREEN '1000'.
        WHEN OTHERS.
        " DO NOTHING.
      ENDCASE.
    ENDMODULE.                " PAI  INPUT
    *&      Module  200_PBO  OUTPUT
          text
    MODULE 200_PBO OUTPUT.
      Write at 5: 'Increase DSP Sales'.
      Skip 1.
      Write at 5: 'USER'.
      Write at 15:'PROGRAM CODE'.
      WRITE AT 25:'SUB CODE'.
      WRITE AT 37:'DISCOUNTED SALES'.
      WRITE AT 67:'PAY AMOUNT US'.
      WRITE AT 80:'REASON'.
    ENDMODULE.                 " 200_PBO  OUTPUT

    There are some problems with ok_code, you need to assign sy-ucomm at each module.  Also the main problem was that you needed leave to list-processing and suppress dialog before writing.  However, when you do this the screens calls change a little. You also needed to use the container correctly.  Apply the correctons below and you'll be all set. Unfortunaley you will have to play around with calling the sel. screen (1000) from screen 100, I don't think call sel. screen 1000 will work properly there (you might need a custome screen instead).  The user may be okay with kicking back out to sa38 after the alv display, however.  Good luck and don't listen to the clowns' comments above. I once worked in that circus,    Hey Guys.
    Instead of this:
    METHOD handle_user_command.
    CASE e_ucomm.
    WHEN 'CREATE'.
    Insert /bic/azincosvi00 from wa_credit.
    CALL METHOD grid1->free.
    SET SCREEN '200'.
    WHEN 'OTHERS'.
    " DO NOTHING
    ENDCASE.
    ENDMETHOD.
    <b>DO THIS:</b>
      METHOD handle_user_command.
        CASE e_ucomm.
          WHEN 'CREATE'.
            Insert /bic/azincosvi00 from wa_credit.
            CALL SCREEN 200.
          WHEN 'OTHERS'.
            " DO NOTHING
        ENDCASE.
      ENDMETHOD.                    "handle_user_command
    <b>Instead of this:</b>
    *Create ALV Grid to show the user what the record will look like in which they are creating.
    Append wa_credit to alv_itab.
    CALL SCREEN 100.
    <b>DO THIS:</b>
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container EXPORTING dynnr = '100'
                                          repid = sy-cprog
                                          ratio = '95'.
      ENDIF.
      IF grid1 IS INITIAL.
        CREATE OBJECT grid1 EXPORTING i_parent = g_custom_container.
      ENDIF.
      CREATE OBJECT event_receiver.
      SET HANDLER event_receiver->handle_user_command FOR grid1.
      SET HANDLER event_receiver->handle_toolbar FOR grid1.
      SET SCREEN 100.
      CALL SCREEN 100.
    <b>Instead of this:</b>
    MODULE alv_pbo OUTPUT.
    SET PF-STATUS 'MAIN100'.
    SET TITLEBAR 'MAIN100'.
    IF g_custom_container IS INITIAL.
    CREATE OBJECT grid1
    EXPORTING i_parent = g_custom_container.
    CALL METHOD grid1->set_table_for_first_display
    EXPORTING
    i_structure_name = '/bic/azincosvi00'
    CHANGING
    it_outtab = alv_itab.
    CREATE OBJECT event_receiver.
    SET HANDLER event_receiver->handle_user_command FOR grid1.
    SET HANDLER event_receiver->handle_toolbar FOR grid1.
    CALL METHOD grid1->set_toolbar_interactive.
    ENDIF.
    ENDMODULE. " PBO OUTPUT
    <b>DO THIS:</b>
    MODULE alv_pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      SET TITLEBAR  'MAIN100'.
    CALL METHOD grid1->set_table_for_first_display
      EXPORTING
         i_structure_name = '/bic/azincosvi00'
      CHANGING
         it_outtab = alv_itab.
      CALL METHOD grid1->set_toolbar_interactive.
    ENDMODULE.                 " PBO  OUTPUT
    <b>Instead of this:</b>
    MODULE alv_pai INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    CASE save_ok.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    WHEN 'CANCEL'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    CALL METHOD grid1->free.
    CALL SELECTION-SCREEN '1000'.
    WHEN OTHERS.
    " DO NOTHING.
    ENDCASE.
    ENDMODULE. " PAI INPUT
    <b>DO THIS:</b>
    MODULE alv_pai INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          CALL METHOD grid1->free.
          LEAVE PROGRAM.
    *       CALL SELECTION-SCREEN '1000'.
        WHEN OTHERS.
          " DO NOTHING.
      ENDCASE.
    ENDMODULE.                " PAI  INPUT
    <b>Instead of this:</b>
    MODULE 200_PBO OUTPUT.
    Write at 5: 'Increase DSP Sales'.
    Skip 1.
    Write at 5: 'USER'.
    Write at 15:'PROGRAM CODE'.
    WRITE AT 25:'SUB CODE'.
    WRITE AT 37:'DISCOUNTED SALES'.
    WRITE AT 67:'PAY AMOUNT US'.
    WRITE AT 80:'REASON'.
    ENDMODULE. " 200_PBO OUTPUT
    <b>DO THIS:</b>
    *Take care of all your list output here
      LEAVE TO LIST-PROCESSING.
      SET PF-STATUS 'MAIN200'.
      SET TITLEBAR  'MAIN200'.
      SUPPRESS DIALOG.
      WRITE AT 5: 'Increase DSP Sales'.
      SKIP 1.
      WRITE AT 5: 'USER'.
      WRITE AT 15:'PROGRAM CODE'.
      WRITE AT 25:'SUB CODE'.
      WRITE AT 37:'DISCOUNTED SALES'.
      WRITE AT 67:'PAY AMOUNT US'.
      WRITE AT 80:'REASON'.
    ENDMODULE.                 " 200_PBO  OUTPUT
    <b>Add Moule:</b>
    MODULE 200_pai INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          CALL SCREEN 100.
        WHEN OTHERS.
          " DO NOTHING.
      ENDCASE.
    ENDMODULE.                 " 200_PAI  INPUT

  • Help with Replacing text in a file using a vbscript

    I have the following script which I am wanting to
    1. Take the prf file and read it
    2. Edit a line in the  outlook .prf file replacing it with the text I have asked it to replace which is the full name of the user pulled from the currently logged on user
    The problem I am seeing is that when the temp file is being generated it is throwing off the formatting of the file hence the script doesn't work. Can anyone help me please.
    set objSysInfo = CreateObject("ADSystemInfo")
    struser = objSysInfo.Username
    set objUser = GetObject("LDAP://" & strUser)
    strFullName = objUser.Get("displayName")
    Const ForReading=1
    Const ForWriting=2
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    folder = "C:\test"
    'filePath = folder & "file.txt"
    filePath = "c:\test\test2007_3.prf"
    Set myFile = objFSO.OpenTextFile(filePath, ForReading)
    Set myTemp= objFSO.OpenTextFile(filePath & ".tmp", ForWriting, True)
    Do While Not myFile.AtEndofStream
    myLine = myFile.ReadLine
     If InStr(myLine, "MailboxName=%UserName%") Then
      myLine = "&strFullName"
     End If
     myTemp.WriteLine myLine
    Loop
    myFile.Close
    myTemp.Close
    objFSO.DeleteFile(filePath)
    objFSO.MoveFile filePath& ".tmp", filePath
    Christopher

    Sorry Irv,
    Here is the code I have and then after that is the prf file. I think there is an issue with the file structure because if I take a regular text file and add the lines in there myself it replaces the lines, but with the prf file or even the prf file as a
    text file it gives me the invalid argument message
    Const filePath = "c:\test\test2007_3.txt"
     Set objFSO = CreateObject("Scripting.FileSystemObject")
     Set myFile = objFSO.OpenTextFile(filePath)
    fileText = myFile.ReadAll()
    myFile.Close
    fileText=Replace(fileText,"%UserName%","THIS_IS_THS_REPLACEMENT_TEXT")
     Set myTemp= objFSO.OpenTextFile(filePath, 2, True)
     myTemp.Write fileText
     myTemp.Close
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard
    ; Section 1 - Profile Defaults
    [General]
    Custom=1
    ProfileName=Somthing
    DefaultProfile=Yes
    OverwriteProfile=Yes
    ModifyDefaultProfileIfPresent=false
    DefaultStore=Service1
    ; Section 2 - Services in Profile
    [Service List]
    ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section
    ; Section 3 - List of internet accounts
    [Internet Account List]
    ; Section 4 - Default values for each service.
    [ServiceX]
    CachedExchangeMode=0x00000002
    CachedExchangeSlowDetect=true
    [ServiceEGS]
    CachedExchangeConfigFlags=0x00000900
    MailboxName=%UserName%
    HomeServer=
    RPCoverHTTPflags=0x0027
    RPCProxyServer=
    RPCProxyPrincipalName=
    RPCProxyAuthScheme=0x0001
    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=
    OfflineAddressBookPath=%USERPROFILE%\local settings\application data\microsoft\outlook\
    OfflineFolderPathAndFilename=%USERPROFILE%\local settings\application data\microsoft\outlook\outlook.ost
    AccountName=Microsoft Exchange Server
    DefaultAccount=TRUE
    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to true to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to true to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to true to prompt user before opening unknown forms when using Exchange Web Services.
    ; Section 5 - Values for each internet account.
    ; Section 6 - Mapping for profile properties
    [Microsoft Exchange Server]
    ServiceName=MSEMS
    MDBGUID=5494A1C0297F101BA58708002B2A2517
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    OfflineAddressBookPath=PT_STRING8,0x660E
    OfflineFolderPathAndFilename=PT_STRING8,0x6610
    [Exchange Global Section]
    SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    RPCoverHTTPflags=PT_LONG,0x6623
    RPCProxyServer=PT_UNICODE,0x6622
    RPCProxyPrincipalName=PT_UNICODE,0x6625
    RPCProxyAuthScheme=PT_LONG,0x6627
    CachedExchangeConfigFlags=PT_LONG,0x6629
    [Microsoft Mail]
    ServiceName=MSFS
    ServerPath=PT_STRING8,0x6600
    Mailbox=PT_STRING8,0x6601
    Password=PT_STRING8,0x67f0
    RememberPassword=PT_BOOLEAN,0x6606
    ConnectionType=PT_LONG,0x6603
    UseSessionLog=PT_BOOLEAN,0x6604
    SessionLogPath=PT_STRING8,0x6605
    EnableUpload=PT_BOOLEAN,0x6620
    EnableDownload=PT_BOOLEAN,0x6621
    UploadMask=PT_LONG,0x6622
    NetBiosNotification=PT_BOOLEAN,0x6623
    NewMailPollInterval=PT_STRING8,0x6624
    DisplayGalOnly=PT_BOOLEAN,0x6625
    UseHeadersOnLAN=PT_BOOLEAN,0x6630
    UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
    UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
    UseHeadersOnRAS=PT_BOOLEAN,0x6640
    UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
    UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
    ConnectOnStartup=PT_BOOLEAN,0x6642
    DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
    DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
    DisconnectOnExit=PT_BOOLEAN,0x6645
    DefaultDialupConnectionName=PT_STRING8,0x6646
    DialupRetryCount=PT_STRING8,0x6648
    DialupRetryDelay=PT_STRING8,0x6649
    [Personal Folders]
    ServiceName=MSPST MS
    Name=PT_STRING8,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Unicode Personal Folders]
    ServiceName=MSUPST MS
    Name=PT_UNICODE,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Outlook Address Book]
    ServiceName=CONTAB
    [LDAP Directory]
    ServiceName=EMABLT
    ServerName=PT_STRING8,0x6600
    UserName=PT_STRING8,0x6602
    UseSSL=PT_BOOLEAN,0x6613
    UseSPA=PT_BOOLEAN,0x6615
    EnableBrowsing=PT_BOOLEAN,0x6622
    DisplayName=PT_STRING8,0x3001
    ConnectionPort=PT_STRING8,0x6601
    SearchTimeout=PT_STRING8,0x6607
    MaxEntriesReturned=PT_STRING8,0x6608
    SearchBase=PT_STRING8,0x6603
    CheckNames=PT_STRING8,0x6624
    DefaultSearch=PT_LONG,0x6623
    [Microsoft Outlook Client]
    SectionGUID=0a0d020000000000c000000000000046
    FormDirectoryPage=PT_STRING8,0x0270
    WebServicesLocation=PT_STRING8,0x0271
    ComposeWithWebServices=PT_BOOLEAN,0x0272
    PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
    OpenWithWebServices=PT_BOOLEAN,0x0274
    CachedExchangeMode=PT_LONG,0x041f
    CachedExchangeSlowDetect=PT_BOOLEAN,0x0420
    [Personal Address Book]
    ServiceName=MSPST AB
    NameOfPAB=PT_STRING8,0x001e3001
    PathAndFilename=PT_STRING8,0x001e6600
    ShowNamesBy=PT_LONG,0x00036601
    ; Section 7 - Mapping for internet account properties.  DO NOT MODIFY.
    [I_Mail]
    AccountType=POP3
    ;--- POP3 Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- POP3 Account Settings ---
    POP3Server=PT_UNICODE,0x0100
    POP3UserName=PT_UNICODE,0x0101
    POP3UseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    POP3Port=PT_LONG,0x0104
    POP3UseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    LeaveOnServer=PT_LONG,0x1000
    [IMAP_I_Mail]
    AccountType=IMAP
    ;--- IMAP Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- IMAP Account Settings ---
    IMAPServer=PT_UNICODE,0x0100
    IMAPUserName=PT_UNICODE,0x0101
    IMAPUseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    IMAPPort=PT_LONG,0x0104
    IMAPUseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    CheckNewImap=PT_LONG,0x1100
    RootFolder=PT_UNICODE,0x1101
    [INET_HTTP]
    AccountType=HOTMAIL
    Account=PT_UNICODE,0x0002
    HttpServer=PT_UNICODE,0x0100
    UserName=PT_UNICODE,0x0101
    Organization=PT_UNICODE,0x0107
    UseSPA=PT_LONG,0x0108
    TimeOut=PT_LONG,0x0209
    Reply=PT_UNICODE,0x0103
    EmailAddress=PT_UNICODE,0x000C
    FullName=PT_UNICODE,0x000B
    Connection Type=PT_LONG,0x000F
    ConnectOID=PT_UNICODE,0x0010
    Christopher

  • Need help with optimizing text appearance when exporting video

    Here's what I'm trying to do:
    1. Convert a Powerpoint presentation to an MP4 (AVC) file, frame rate 30 (actually defaults to 29.97) and video bit rate of 1200kbps,using Wondershare PPT2VideoPro.  (There are no actual video clips contained in the original PPT file).
    2. Import the newly created MP4 video into a new project in Premeire Elements.
    3. Add audio files (WAV) created by Audacity.
    4. Export the final product as a video.
    Here's the problem:
    The text quality in the final exported film is very poor, and the screen occasionally seems to sublty flicker once and a while.  I've tried multiple different settings, but all with the same result.
    Can anyone offer suggestions on optimal settings for exporting the final product such that the text is as clear as possible?  (The text in the MP4 file created by Wondershare looks great.)
    Thanks!
    - Ernest

    One option would be to create the Text Images in Photoshop, and Save_As a PSD.
    For large sets of Titles, I do the text portion in Word/WordPerfect, so I can use Spell-Check. Then in PS, I just Copy/Paste the text into an Image, where I apply all of the PS Styles that I need. Because I use PrPro for most of my NLE work, I will often do the Titles with Layered Text, and Import those as a Sequence, so that the Layers are not Flattened. This allows me to independently animate each Layer, as I need. Unfortunately, PrE does not allow one to Import the Layered PSD's, Unflattened, as it does not have Sequences.
    Also note that PrE's Titler's Styles are just a starting point. Once applied, one can alter most aspects, and when they are satisfied with the changes, they can then Save the new Style and re-use it over and over. Do not forget the ability to modify those Styles.
    From PowerPoint, and this depends on the version, the best that one can usually do is to Export each "slide" as a TIFF, and Import those into the NLE program.
    Good luck,
    Hunt

  • Need help with cleening text during ExportAllStories (JS-CS4)

    I have altered the ExportAllStories.jsx script for CS4 to export the selected TextFrame(s).
    The main function are the same as in the original.
    It works fine, but I need advice on how to clean the text before it gets exported to a text file.
    I have tried to pass the TextFrame object myStory, as in the original script, to a function like this:
    myStory = cleantext(myStory)
    The function cleantext works with a text string passed to it,like this:
    function cleantext(s) {
    s.replace(/\u2011/g,'-');
    I guess I have to extract the myStory object to a text string but haven’t succeeded yet.
    Maybe the solution is to do some search and replace with GREP or other techniques?
    All tips on how to proceed would be appreciated.

    This is how i solved my problem.
    With the help from Peter Kahrels function
    function replace (f, r)
       app.findGrepPreferences.findWhat = f;
       app.changeGrepPreferences.changeTo =r;
       app.documents[0].changeGrep ()
    And in my script I could easily do this:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    story = app.selection[0].parentStory;
    // Sample: Replace non-breaking hyphen (8209 -> \u2011) with a regular hyphen.
    replace("/\u2011/g",'-');
    app.findGrepPreferences = app.changeGrepPreferences = null;
    And thereafter proceeding with the exporting stuff.
    Thank you all contributors in this forum!

  • Help with Scrolling Text

    I am a big iMovie fan, but I have just had a problem while attempting to create a video game trailer. I have never experienced this before, and I do not know how to get by it.
    Ok. So I have 20 seconds of scrolling text, and about 28 lines of text. 247 characters with no spaces if you really want to know. I have 20 seconds of video behind it.
    Here's the problem: The last five lines of text are cut off. They are completely normal: Helvectia, Bold, 16 size, Left sided, white. There is no fancy text or images around it besides for the video behind it. (It played fine before with no video behind it).
    I've tried resizing the video, the text length, everything I can think of, and nothing works. Please help ASAP.
    I am running this on a MacBook, iMovie '08, the total time of video is 41 seconds. The video behind the scrolling text is a .mov file.
    Thanks!

    Note: The problem seems to have fixed itself. I do not know what the problem was, but I was messing around with the text and I noticed the missing lines were back. If anybody knows what the problem was, or wants to contribute to this post, please do so.
    Thanks!
    Contact: jomskylark [AT] gmail [DOT] com
    Message was edited by: sky_lark

  • Help with Scrolling Text Item.

    Hi , need help with making a text item scrollable.
    i.e. A field is 30 characters and i can only display 10
    characters, now what I would like is a scroll bar under the text
    item.
    Is this possible. I am using Forms 5.
    Thanx for any help.
    Pankaj Patel.
    null

    Petr Valouch (guest) wrote:
    : Pankaj Patel (guest) wrote:
    : : Hi , need help with making a text item scrollable.
    : : i.e. A field is 30 characters and i can only display 10
    : : characters, now what I would like is a scroll bar under the
    : text
    : : item.
    : : Is this possible. I am using Forms 5.
    : : Thanx for any help.
    : : Pankaj Patel.
    : Hi
    : You need that scrollbar under the item? You can set length
    of
    : text item and its size independently, so you can have text
    item
    : char(30) with size of 10 characters.
    An alternative is to declare the item as a multi-line text item
    with wrap set on. This would give you a vertical scroll bar on
    the item.
    Another option is to programmaticaly pop up an Editor, each time
    focus is moved to the item, or to actually change the width of
    the item when focus moves to it (and shrink it back when focus
    moves away.
    Simon Hedges
    Gloucester
    UK
    null

  • Help with dynamic text and and css !

    My second question of the day.
    I'm trying to build a feature in my app in which the user can
    hide/reveal
    bolding and or
    italics and or
    underlining. The text is being loaded in from an xml file
    and I was thinking about styling it with css in order to get the
    underlining. My problem is that the only way I can think about
    pulling this off is to have a css style sheet that has a defined
    bold,italic and underline class defined- - then another one that
    just has a italic and underline class defined -- then another one
    that has just a bold and underline class defined . . . and so on
    and so on. You can see why I would prefer a much more streamlined
    system. Unfortunately my experience with dynamic text styling is
    somewhat limited. Hopefully someone can help me out here.

    Perfect. I knew it was some little snippet that I was
    forgetting. I made a temporary fix of creating a 0% alpha box over
    the button like a fake click area above the text, and that worked
    but I know that it was a half-arsed way of working around it.
    Thanks.

  • Help with icon on n85 screen

    Hi all.
    Looking for help with an icon that appears at near the top left corner of my n85 screen (I'm new to S60's).  It appears when I'm either in a call using the keypad to dial a number.  Sometimes it's a small arrow/triangle in an orange/red background and other times it's a green background.
    Does this have anything to do with call diverts??  Tried googling and the forums but can't find anything.
    Thanks everyone.
    J.

    kali,
    that will come up to show you when you have something Java running. To close out of that once it is open, is to close out of all of your browser (IE for example) windows to reset the Java runtime environment.
    MT

  • Requied help with WWV_FLOW_ITEM.TEXT

    Hi Forum,
    This one is bothering me a lot. I am in need of your help with his. Hope i get one sooner... :)
    Well, actually If you look at the code, you would get what i am trying to do here. "RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK" are the columns of a single table and i am trying to display it by adding them all.(row based addition).
    I have a submit button.
    The Process happens normal when the page is loaded. It adds all the 6 columns and displays correctly. but when i do some process in the page and click submit button, the value in the "TOTAL WORT is added once again and i get the values added twice.
    eg : on load the value of TOTAL WORK is 10 and on click of submit button, it keeps adding 10 more.. like 20. 30 40 and keeps going.
    I just want this to be constant. Please help me out with this.
    wwv_flow_item.TEXT(4,(RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK) "TOTAL WORK".
    Thanks,
    Vikram

    Hi Vikram,
    What is that you are doing in the process which alters the value?
    Thanks
    Satty

  • Need Help With Pantech Crux Touch Screen

    I don't know if this is the right forum, 95% of the forums seem to be for billing or arbitray things. So, if this isn't please refer me to the correct place for this post.
    I have had a Pantech Crux for about 6 months now. About three months ago, the touchscreen stopped working. A section right in the middle refused to allow me to press it. If you were looking at the keyboard, it is the RTYGH section of the phone. It clicks way off to the right, or refuses to click at all. Now, 3 months ago a friend made a suggestion that I wait until the battery died and just restarted. Once I did this, it worked fine, and I chocked the issue up to software.
    Now, it has been plaguing me for three weeks, I have let my phone uncharge to zero, erased the entire thing and set the phone to factory settings, I have attempted to clean the screen using certified safe cleaner, all to no avail. What I need to know, from anyone, is A) is this a possible software fix that I can fix? B) if the screen is broken, how much am I looking at to get it fixed?
    Honestly, I am beginning to think the pantech curx being listed at near 300.00 without a 2 year warranty is ludicrous and borderline highway robbery. I've enjoyed this phone for the last three months, but if this keeps up the temptation to literally rip it in half and go get a NET10 phone will be too much to withstand. Honestly, I can't text,  I can't use the calculator, or any programs. Any and all help would be most appreciated.
     

    lpseudonyml wrote:
    I don't know if this is the right forum, 95% of the forums seem to be for billing or arbitray things. So, if this isn't please refer me to the correct place for this post.
    I have had a Pantech Crux for about 6 months now. About three months ago, the touchscreen stopped working. A section right in the middle refused to allow me to press it. If you were looking at the keyboard, it is the RTYGH section of the phone. It clicks way off to the right, or refuses to click at all. Now, 3 months ago a friend made a suggestion that I wait until the battery died and just restarted. Once I did this, it worked fine, and I chocked the issue up to software.
    Now, it has been plaguing me for three weeks, I have let my phone uncharge to zero, erased the entire thing and set the phone to factory settings, I have attempted to clean the screen using certified safe cleaner, all to no avail. What I need to know, from anyone, is A) is this a possible software fix that I can fix? B) if the screen is broken, how much am I looking at to get it fixed?
    Honestly, I am beginning to think the pantech curx being listed at near 300.00 without a 2 year warranty is ludicrous and borderline highway robbery. I've enjoyed this phone for the last three months, but if this keeps up the temptation to literally rip it in half and go get a NET10 phone will be too much to withstand. Honestly, I can't text,  I can't use the calculator, or any programs. Any and all help would be most appreciated.
    Hi lpseudonyml,
    I am sorry to learn that your phone is not working properly; I would be frustrated if I had the issues outlined on your post with my phone. Since you have already done several troubleshooting steps including a factory reset, I would consider replacing the phone. The best part is that your phone is only 6 months and is still within the one year manufacturers warranty and can be replaced at no cost to you. Please keep in mind that if phone has sustained liquid damage or physical damage the warranty is voided and phone cannot be replaced for free by the warranty program. For details on processing your warranty replacement please visit the link below:
    Certified Like-New Replacement Warranty Program
    If your phone does not qualify for a warranty replacement due to liquid or physical damage you can get a Certified Pre-Owned phone at a discounted price. Please visit link below for details:
    Certified Pre-Owned Replacement Program

  • Help with printing text to Text Edit

    -- Here is a applescript that generates prime numbers up to a certain number. I tried to get the script to print out every number up to the number defined in a text edit document. I got a -1700 error that says (error "Can’t make result of 3 into type Unicode text." number -1700 from result of 3 to Unicode text). If anyone has any help that they can offer me it will be greatly appreciated.
    Heres the Script
    local min, max, neverZero, maxDiv, divTry, res
    set {min, max} to {1, 503}
    set res to {}
    if min = 1 then set min to 2
    if min = 2 then set {res, min} to {{2}, 3}
    if min mod 2 = 0 then set min to min + 1
    repeat until min > max
        set maxDiv to intsqrt(min)
        set {neverZero, divTry} to {true, 3}
        repeat until divTry > maxDiv
            if min mod divTry = 0 then
                set neverZero to false
                exit repeat
            end if
            set divTry to divTry + 2
        end repeat
        if neverZero then
            set res to res & min
            log min
            set resultinfo to "" & result of min
            tell application "TextEdit"
                activate
                set nme_file to ""
                set the_file to (open for access nme_file with write permission)
                write "" & resultinfo to the_file
                write return & resultinfo to the_file starting at eof
                close access the file
            end tell
        end if
        set min to min + 2
    end repeat
    on intsqrt(N)
        return (do shell script "echo 'sqrt (" & N & " )' | /usr/bin/bc")
    end intsqrt

    You're confusing two different steps.  If you want to write the data to an open textedit window, you build a text string of the integers and then write it out to the window like this:
    tell application "TextEdit"
              set text of document 1 to text_string
    end tell
    After that you'll have to save the document.  On the other hand, if you want to write directly to the file on disk, don't use a textedit tell block - just write to the file at the script level (i.e. your code looks correct, but shouldn't be in a tell block).  then you'll have to convince the open textedit window to refresh (which might be a bit tricky).

Maybe you are looking for