Why my mac boots showing user selection screen?

My mac freezed on the user selection screen las time I started it so I reseted it by holding the power on button on the back of the imac.
Now when I boot it it just shows the user selection screen and freezes there. Mouse and keyboard don't respond. If I reset it or jnplug it I still have the same thing ocurrimg.
What can I do to solve it?

Try using a USB keyboard and mouse and see if they work. I'm assuming that you have the bluetooth wireless setup? If a wired keyboard and mouse work then you either should replace the batteries in both or have your Mac taken in because something is going on with the bluetooth

Similar Messages

  • Why does my Mac boot with a Grey screen and a globe?

    Why does my Mac boot with a Grey screen and a globe?

    Usually means you don't have a bootable system installed so the OS is looking for a bootable system on the network.
    Does the computer eventually start up shortly after the globe appears? If so then open Startup Disk preferences, select your boot volume and click on the Restart button. If this is not the case then you need to reinstall Snow Leopard.
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • Boot Camp - HD selection screen

    Hello,
    I have been searching for awhile and cannot find and information regarding this. I have a Razer Deathadder 3500 series mouse and when I go into the Boot Camp HD selection screen my mouse movements are inverted. Up is down and down is up. I am not sure why this is or how to fix it. Does anyone know?
    Thanks,
    Brad

    Try a new post in the BootCamp USB, Mouse, etc. forum. This is the 10.6 forum and we don't cover BootCamp issues.
    DALE

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to adjust mouse or trackpad parameters for the user selection screen?

    This is not critical, but annoying.  I can change the mouse or trackpad parameters by user, so anyone can use their own mouse or trackpad adjustment.  However I can not locate how to change this parameters for the welcome or user selection screen.  In my case I have two users, both of us use the trackpad with the one touch for click function, so no one press physically the trackpad for a click.  However, as the default parameter is the touch function deactivated we have to actually click the trackpad in that exclusive screen.
    Another example with mouse, normally we use the mouse with almost double of the default acceleration, but when in the user selection screen the mouse assumes default configuration and feels super SLOWWWWWWW.
    Again, this is not critical, but would be very nice to be able to modify this parameters in the welcome screen.
    Tyrone Carrion

    For the login screen, you are not associated with a normal user, but the system defaults...try logging in to the Admn account and change the behavior there...those settings should then apply to the login screen.

  • HT3053 i did some thing wrong that makes my mac just showing a black screen and amessage says you need to restart your mac .... etc and i wanted to talk to any one from apple and i couldnt get my mac serial number and i could do nothing i turned to some o

    i did some thing wrong that makes my mac just showing a black screen and amessage says you need to restart your mac .... etc and i wanted to talk to any one from apple and i couldnt get my mac serial number and i could do nothing i turned to some one who formatted the hard desk and i tried to talk to any one from apple but it seems no one care i spent 4 years to be able to buy this mac and i dont know what to do > i will never buy mac again please some one tell me what to do dvd is not working i press on options and nothing happen what showld i do ? through it ? some body tell me what to do or where to go

    Just to make certain, you inserted the original installation disk and started the MBP holding down the C key?  Did the Optical drive reject the disk or did it just spin?  If the former, the lens in the drive may be dirty and needs to be cleaned.  If the latter, you will have to take it to an Apple repair facility.
    Ciao.

  • An example showing at selection-screen func

    An example showing at selection-screen event  function please ...............

    hi
    chk this:
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
      PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',
                  R2 RADIOBUTTON GROUP RAD1,
                  R3 RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.
      PARAMETERS: R4 RADIOBUTTON GROUP RAD2 DEFAULT 'X',
                  R5 RADIOBUTTON GROUP RAD2,
                  R6 RADIOBUTTON GROUP RAD2.
    SELECTION-SCREEN END OF BLOCK B2.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.
      IF R1 = 'X'.
        MESSAGE W040(HB).
      ENDIF.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD2.
      IF R4 = 'X'.
        MESSAGE W040(HB).
      ENDIF.
    regards,
    madhu

  • Apple Script to make Pages open in a user-selected screen position

    This is a follow-up to a response/script made previously by Yvan KOENIG that enables Pages to open a Pages template in a user-selected "left" position.
    http://discussions.apple.com/message.jspa?messageID=9100331#9100331
    This works great for me, but I'd like to take this one step further, if possible. I'm naïve when it comes to Apple Scripts
    Currently, if I use the script, it opens up in 100% 'fit-width' view as follows:
    http://trials.sent.com/pages/100.png
    What I'd like it to do is to open up in 125% 'fit-width' view as follows:
    http://trials.sent.com/pages/125.png
    I'd like to therefore ask if it's possible to somehow enable this in the script above.

    I looked at the English version.
    Let me say you that you are a funny guy.
    Set width and set "Fit Width" are incompatible commands.
    On my 1920 x 1200 screen, if I set scale to 125%, Fit Width is disabled.
    If I check "Fit width", the size remains unchanged but is no longer selected.
    On a smaller display, "Fit Width" will set the page in the "100%" mode.
    My guess is that it's what you get.
    As I am a good guy,
    I add some instructions in the code.
    Now you may activate several settings to fit your needs (when they are technically compatibles).
    --(SCRIPT openToLeft.app]
    Enregistrer le script en tant que Script, Application ou Progiciel : openToLeft.xxx
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    menu Scripts > Pages > openToLeft
    Le script créera un nouveau document à partir du modèle choisi et le poussera à gauche de l'écran.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script, an Application or an Application Bundle: openToLeft.xxx
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    menu Scripts > Pages > openToLeft
    The script will create a new document from the selected template and will push it to the screen's left edge.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    +++++++
    Yvan KOENIG (Vallauris FRANCE)
    4 mars 2009
    property theApp : "Pages"
    property hardCoded : false
    true = the template is predefined
    false = you select the template when you run the script *)
    property zoomIt : false
    false = leaves the doc size as created
    true = issue a cmd + > command to enlarge it *)
    --=====
    on run
    my activateGUIscripting()
    tell application "Pages"
    set Templates_loc to localized string "Templates" (* nom local du dossier "Modèles" *)
    set MyTemplates_loc to localized string "My Templates" (* nom local du dossier "Mes Modèles" *)
    end tell -- theApp
    set templatesFolder to ((path to application support from user domain as text) & "iWork:Pages:" & Templates_loc & ":" & MyTemplates_loc & ":")
    if hardCoded then (*
    Here the template to use is hard coded in the script *)
    if templatesFolder does not end with ":" then set templatesFolder to templatesFolder & ":"
    set myTemplate to (templatesFolder & "un modèle09.template:") as alias
    else (*
    Here we are urged to choose the template in a dialog *)
    set templatesFolder to templatesFolder as alias
    Don't ask me why, Pages uses two Universal Type Identifiers for its templates
    the first one is used if only Pages '08 is installed under 10.4 or by both '08 and '09 under 10.5.6
    the second one is used under 10.4.11 if Pages '09 is installed *)
    set allowed to {"com.apple.iWork.Pages.template", "com.apple.iWork.Pages.sfftemplate"}
    if 5 > (system attribute "sys2") then
    set isOs4 to true
    set permitted to allowed
    else
    set isOs4 to false
    set permitted to {}
    end if
    if my parleAnglais() then
    set myTemplate to choose file "Choose a Pages template …" of type permitted default location templatesFolder
    else
    set myTemplate to choose file "Choisissez un modèle Pages …" of type permitted default location templatesFolder
    end if
    if not isOs4 then
    due to a system's bug, choose file is unable to filter the iwork's files UTIs
    So we must check by ourself *)
    set maybe to myTemplate as text
    tell application "System Events" to set typid to type identifier of disk item maybe
    if typid is not in allowed then
    if my parleAnglais() then
    error "The file “" & maybe & "” is not a Pages template !"
    else
    error "Le fichier « " & maybe & " » n’est pas un modèle Pages !"
    end if
    end if
    end if
    (* Here, the pathname of the template is of class alias *)
    end if -- hardCoded
    try
    tell application "Pages"
    activate
    set n to count of documents
    open myTemplate (* create a new doc from the template *)
    repeat
    if (count of documents) > n then
    exit repeat
    else
    delay 0.1
    end if
    end repeat
    tell window 1 (*
    As we are telling to application "Pages" we may use tell window 1 even if we have an Inspector or a Find/Replace dialog open.
    It would be wrong if we where telling to process "Pages" *)
    set {x1, y1, x2, y2} to get bounds
    set bounds to {0, 0, x2 - x1, y2 - y1} (* move the window to the left edge *)
    set view scale to 125.0
    --set fit page to true (* or false *)
    set fit width to true (* or false *)
    --set full screen to true (* or false *)
    --set outline visible to true (* or false *)
    --set ruler visible to true (* or false *)
    --set styles visible to true (* or false *)
    --set thumbnails visible to true (* or false *)
    --set toolbar visible to true (* or false *)
    --set two up to true (* or false *)
    end tell -- window
    end tell -- application
    end try
    end run
    --=====
    on activateGUIscripting()
    tell application "System Events"
    if not (UI elements enabled) then set (UI elements enabled) to true (* to be sure than GUI scripting will be active *)
    end tell
    end activateGUIscripting
    --=====
    on parleAnglais() (* Check if Pages is running in French *)
    local z
    try
    tell application theApp to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 14 mai 2009 11:35:36)

  • Webi Report User selection screen

    I need to create a selection screen with check box and radio button like custom selection screen. Whenever the report run, user must fill the information in selection screen and then report should show. How can i get custom selection screen?

    Hi,
    Create a "'Input Control" for user custom selection. Below is the link on further steps
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9057beb9-2844-2e10-ff8f-c78ca3f87f7c&overridelayout=true
    Thanks,
    Jothi

  • Filtering criteria in User selection screen

    Hi experts,
    Is there any ways to display values in the selection screen based on the above criteria that user selected? For example, the selection screen has 3 selection tabs. The first tab is to choose region (A,B or C). When user selects region A, the second criteria shows only the factories that located in region a, not all of the factories. Once user select a factory, the thrid tab shows only the manager names that works in that factory.
    I'm new in this area so please provide me an instruction steps by steps.
    Thanks so much,
    Phant

    Do you have any mapping maintained in any InfoObject for all these characteristics you mentioned, or you are trying to pull out this information based on the trascational data from the cube.
    There is one option in the query designer. Go to Advance tab of the characteristic and under second option "Filter vale for selection during query execution", select Characteristic Relationships.
    - Danny

  • OPEN FIRM WARE SCREEN, ENTER MAC-BOOT COMMAND, GETS WEIRD SCREEN, ......

    HELP- HELP- HELP-..."OPEN FIRMWARE/WON'T START-UP".....( IT WAS RUNNING, BUT DIED LIKE THE CORD WAS CUT )....G3 B&W 400MHZ OS 9.2.2, BATTERY GOOD, STARTS UP TO "OPEN FIRMWARE" SCREEN, ENTER "MAC-BOOT" COMMAND, GOES TO A BLUE-ISH/PURPLE TOP 1/2, YELLOW BOTTOM 1/2 SCREEN W/SMALL-ISH (APPROX. 2") MAC FACE THAT THEN GETS ABOUT 5 FOLDERS (STACKED FRT. TO BACK) COVERING MOST OF THE MAC FACE, WON'T GO BEYOND THIS WEIRD SCREEN, HAVE FOUND IMAC OPEN FIRMWARE COMMANDS I'M GOING TO TRY BUT DOUBT WILL WORK BEING THEIR FOR AN IMAC, I HAVE ALREADY DONE A TAP DANCE ON THE KEYBOARD HOPING TO STUMBLE ON TO AN UNKNOWN MYSTERY FIX COMMAND, ALSO DONE PRAM, CUDA, PROGRAMMER RESETS IN ORDER / OUT OF ORDER...AND SPOKE TO LOCAL MAC EXPERT REPAIRMAN, SAID HE'S NEVER SEEN SUCH A SCREEN...ANY IDEAS ANYONE ????..THANKS.. I WONDER IF IT'S BEYOND FIXING, IT'S NOT MY PRIMARY MACHINE & IT WAS NEAR FREE, BUT I HATE TO BE DEFEATED & TOSS IT TO RECYCLING. ....THANKS AGAIN...I'M AN EX-PORSCHE MECHANIC AND HAVE BEEN SELF TEACHING MYSELF ABOUT JUST OPERATING A MAC FOR 4 YRS., SO I'M NOT ALL THAT SHARP IN THE GEEK AREA......WAYNE146

    Sorry about the "CAPS", old eyes & tired brain, + in hunt & peck typing method I forget to cap at start of new sentence.....I don't have camera capability at this time. I re-read my discription of the screen and it is worded very accurately, as I close my eye's and imagine the words I see this weird screen as described. When this first occured I tried booting from cd (holding c key down) 5+ minutes and nothing (x5). I pulled the battery a week ago to clear cache, also disconnected power sup. from mother board, hoping for a magical self healing effect from complete discharge of residual currents in board or cache. I'm going to try bring life back to it today. and try the Imac boot commands just for fun (?). I may have lacked the patience needed when doing CUDA, programmers resets, so I will approach with a more zen like mind set this time. Do you think I should re-type my original question in lower case, to get more responces ??....Thank you, All, And Thank you, Allen Jones, for the first responce.

  • SUBMIT a report without showing the selection-screen

    hey guys,
      i want to submit a report(rep2) from my report.(rep1)
    rep2 has selection-screen.(it also has ldb associated).
    i am apssing all the data for selection-screen(of rep2) using an itab.
    but now i dont want selection-screen of rep2 to be displayed when rep1 is executed.
    how to go about?

    Dear Kumar,
    you can use the below specified variants
    SUBMIT <REPORT NAME>
    1. ... USING SELECTION-SET vari
    2. ... WITH p op f SIGN s
    3. ... WITH p BETWEEN f1 AND f2 SIGN s
    4. ... WITH p NOT BETWEEN f1 AND f2 SIGN s
    5. ... WITH p IN sel
    6. ... WITH SELECTION-TABLE seltab
    7. ... WITH FREE SELECTIONS texpr
    Eg.,
    CLEAR paramtrs.
        REFRESH paramtrs.
        PERFORM append_selection_table USING :
                      'SO_NUM' 'P' 'EQ' 123456
                      'ITEM'   'P' 'EQ'  abcdef,
                      'POS'    'P' 'EQ'  10.
        SUBMIT <abc>  WITH SELECTION-TABLE paramtrs AND RETURN.
    FORM append_selection_table USING fname ftype fopre fvalue.
      MOVE : fname  TO paramtrs-selname,
             ftype  TO paramtrs-kind,
             fopre  TO paramtrs-option,
             fvalue TO paramtrs-low.
      APPEND paramtrs.
    ENDFORM.
    where SO_NUM, ITEM AND POS  are the report abc's input selection screen.

  • Showing Various selection screen

    Hi Experts,
    While executing the Transaction CKU1, am getting a selection screen with few input screen and few menu's. But while executing the same using SAPRCK23 through SE38 am getting different type of screen input and menus. Its a report program only. CKU1 having only one report program in se93.
    I want to copy the SAPRCK23 into ZSAPRCK23, how to make same input screen like CKU1. Experts can any one Kindly execute the t.code CKU1 and its report program seperatly and give your valuable suggestion i need a output with same input screen like CKU1 in durring execution of SAPRCK23 alone.
    Thnx and regards,
    Anandhan
    Edited by: Anandhan Balu on Sep 27, 2010 8:34 AM
    Edited by: Anandhan Balu on Sep 27, 2010 10:47 AM

    Hi,
    It is very simple. When you want to hide the fields, we code at selection-screen output. This happens at the function module 'CK_F_CK23_AT_SEL_SCREEN_OUTPUT' where the check for the T-code happens and fields are hidden.
    Include your T-Code in this and it will get hidden in your T-Code also.
    Sujay

  • Why does my mac boot into a black screen followed by a bad sound?

    If I start my iMac my Display doesn't work and after some time there is a bad sound.
    When I press cmd+alt+P+R and boot my Mac everything is alright.
    My brother tried to install Ubuntu on the iMac.("without rEFIt")!
    What can I do?

    What does the sound sound like? Is it three beeps? Does it sound like a small "bip" noise only when you immediately press the power?

  • Any way to make Pages always open in a user selected screen position?

    It is a continuing irritation to have to close the Styles Drawer, drag the window all the way to the left of my screen, and reopen the Styles Drawer on the right. This is the way I need to work and I'm not going to change that. What I'm hoping is that there is some way to reset the default opening position, maybe in terminal? Or an AppleScript? Neither of which I am familiar enough with to create my own. Any suggestions?
    TIA

    Here is a commented and enhanced version.
    --(SCRIPT openToLeft.app]
    Enregistrer le script en tant que Script, Application ou Progiciel : openToLeft.xxx
    déplacer l'application créée dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    menu Scripts > Pages > openToLeft
    Le script créera un nouveau document à partir du modèle choisi et le poussera à gauche dde l'écran.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script, an Application or an Application Bundle: openToLeft.xxx
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    menu Scripts > Pages > openToLeft
    The script will create a new document from the selected template and will push it to the screen's left edge.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    +++++++
    Yvan KOENIG (Vallauris FRANCE)
    4 mars 2009
    property theApp : "Pages"
    property hardCoded : false
    true = the template is predefined
    false = you select the template when you run the script *)
    --=====
    on run
    if hardCoded then (*
    Here the template to use is hard coded in the script *)
    if my parleFrancais() then
    set templatesFolder to (path to application support as text) & "iWork:Pages09:Modèles:Mes modèles:"
    else
    set templatesFolder to (path to application support as text) & "iWork:Pages09:Templates:My Templates:"
    end if
    if templatesFolder does not end with ":" then set templatesFolder to templatesFolder & ":"
    set myTemplate to (templatesFolder & "un modèle09.template:") as alias
    else (*
    Here we are allowed to choose the template in a dialog *)
    if my parleFrancais() then
    set templatesFolder to ((path to application support from user domain as text) & "iWork:Pages09:Modèles:Mes modèles:") as alias
    else
    set templatesFolder to ((path to application support from user domain as text) & "iWork:Pages09:Templates:My Templates:") as alias
    end if
    Don't ask me why, Pages uses two Universal Type Identifiers for its templates
    the first one is used if only Pages '08 is installed under 10.4 or by both '08 and '09 under 10.5.6
    the second one is used under 10.4.11 if Pages '09 is installed *)
    if my parleFrancais() then
    set myTemplate to choose file "Choisissez un modèle Pages …" of type {"com.apple.iWork.Pages.template", "com.apple.iWork.Pages.sfftemplate"} default location templatesFolder
    else
    set myTemplate to choose file "Choose a Pages template …" of type {"com.apple.iWork.Pages.template", "com.apple.iWork.Pages.sfftemplate"} default location templatesFolder
    end if
    (* Here, the pathname of the template is of class alias *)
    end if -- hardCoded
    try
    tell application "Pages"
    open myTemplate (* create a new doc from the template *)
    tell window 1 (*
    As we are telling to application "Pages" we may use tell window 1 even if we have an Inspector or a Find/Replace dialog open.
    It would be wrong if we where telling to process "Pages" *)
    set {x1, y1, x2, y2} to get bounds
    set bounds to {0, y1, x2 - x1, y2} (* move the window to the left edge *)
    end tell -- window
    end tell -- application
    end try
    end run
    --=====
    on parleFrancais() (* Check if Pages is running in French *)
    local z
    try
    tell application theApp to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z = "Annuler")
    end parleFrancais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE jeudi 5 mars 2009 21:41:35)

Maybe you are looking for