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)

Similar Messages

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

  • Any way to make pages auto save documents while I am working on them?

    Is there a way to make pages auton save documents that I am working on?

    Are you really using OSX 10.4.11?
    Lion and Mountain Lion have auto save.
    For older Systems install ForeverSave Lite.
    Peter

  • Best way to make my WDA read only when user selects from FPM toolbar

    Using FPM, we've inserted a custom web dynpro application to maintain our gate dates in PPM 5.0.
    When the user presses the Read Only button on the FPM toolbar, what's the best way to turn our fields off? Just create a new attribute in our Component Controller context node and bind it to all the screen fields?

    Hallo Robert,
    I think it is the best and easy way to realize this.

  • Any way to make Contacts Read Only in Server 10.8/9

    I have turned on OS X Server Services Contacts (in either 10.8 or 10.9), set up a user account, added that account as a CardDav to a computer(s) made a group(s) of contacts and imported some vcards so everybody can see them in their Contacts on their computers in 10.8 or 10.9. Everything fine.
    What I can't figure out is if there is any way to make them Read Only, allowing only a selected group to have Read/Write privileges. When you have hundreds of employees many of them will end up editing something in the "public contacts" that they shouldn't have done or delete them completely.
    If they were read only that would be great.
    Any ideas? Other then an exchange server there isn't much out there for Macs.
    Thanks,
    Todd

    Update -
    I found a way to make this work. And it is free!
    Forget Apple OS X Server Service Contacts.
    Use Sogo instead. Works perfectly and is extremely fast in handling our 5000+ public cardev records and 1000+ cardev private records!

  • Is there any way to make Mail open next message?

    Is there any way to make Mail open the next message on the inbox automatically after deleting, forwarding o saving a message?
    I mean, is there any way to, after reading a message, going to the next or previous message without double clicking the main inbox window?
    I used (on windows) to read mail on outlook, or even on entourage for mac, and after I read a message, even if I deleted it, forward it, replied it, or even saving it on a folder, automatically the program (outlook, entourage, hotmail, etc) opened the next message on the inbox, but I am not able to find any way to make Mail do that.
    Is there a way to it? Or should I provide suggestions to Apple?
    By the way, no meant to prefer microsoft for this, I just think this is a cool feature for reading several messages one after another without going back to the main inbox page and double clicking the message to read...
    Thanks for any help

    Down-arrow, Return. Return opens the selected message. I read through hundreds of messages without ever touching the mouse. Once you get used to the keystrokes, Mail is extremely efficient.

  • The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. O.O?

    The monitor on my macbook is turned off while I was working, I could not in any way to do it again, I could see through the screen off the open pages I was working on, I had to turn off the machine and restart it. and it runs. WHAT 'success? The report says the console like this: (at approximately 12.30)
    No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackWorldMusicInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOneInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackOrchestralInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRhythmSectionInstruments' found at '/'.
    03/05/11 12:08:30 [0x0-0x1e01e]. Com.apple.garageband [239] No receipt for 'com.apple.pkg.JamPackRemixToolsInstruments' found at '/'.
    03/05/11 12:08:32 MIDIServer [255] MIDIServer [255] starting; arch = i386
    03/05/11 12:34:35 com.apple.launchd [1] *** launchd [1] has started up. ***
    03/05/11 12:35:06 com.apple.launchd.peruser.501 [86] (com.apple.ReportCrash) Falling back to default Mach exception handlers. Could not find: com.apple.ReportCrash.Self
    03/05/11 12:35:09 com.apple.launchd.peruser.501 [86] (com.apple.Kerberos.renew.plist [110]) Exited with exit code: 1
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:25 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:26 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:32 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:35:33 [0x0-0xd00d]. Com.skype.skype [127] WirelessAttach: IOServiceOpen error: e00002c7
    03/05/11 12:36:06 com.apple.WindowServer [64] Tue May 3 12:36:06 MacBook-Pro-17-of-Admin.local WindowServer [64] <error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint () to catch errors logged as They Are.
    03/05/11 12:43:39 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.
    03/05/11 12:43:43 helpd [160] Response failed Because Listener can not find a port for this QueryID.

    Do you have backups of all the data on the startup drive? If not, do nothing else until you've backed up that data, if you still can.

  • My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    My family shares one apple id. Is there any way to make an apple id for each member of my family and have it all connected to the same credit card and have the same previous downloads open to download by signing in to each members personal apple id?

    Hi cindy,
    If you all have individual Apple IDs, then you would be able to dowload music from a shared iTunes library on a computer, but you would not be able to sign on each individual ID on an iOS device in order to download music purchased under the original Apple ID without a 90-day waiting period between sign-ons.
    Here's what I mean:
    If you were to sign on a new Apple ID on, say, an iPhone, and then were to purchase and download some music from iTunes, then you would have to wait 90 days before you could sign on the old Apple ID to that iPhone in order to download previously purchased material (and vice versa).
    However, if all of the music purchased by that origjnal Apple ID is in an iTunes library on a shared computer, then you can hook up the device and selectively sync any music in that library to the device. You can also sign on any of the Apple IDs to that shared iTunes library and purchase music to be added to the library.
    You would need to authorize the computer for each of the new Apple IDs.
    Each of the Apple IDs would also be able to download that music purchased either by syncing to the iTunes library on the computer or by downloading it OTA on the device.
    So, each Apple ID can download music, movies, etc. purchased with that Apple ID OTA to the device. Also each Apple ID can sync any music, movies, etc. that are in the iTunes library on the computer regardless of who purchased them.
    The only other thing you would need to remember is that if an App needed to be updated, then the original Apple ID that was used to purchase that App would come up, and the password that goes with that Apple ID would be required to do the update.
    Hope that helps,
    GB

  • HT4489 this is ridiculous! how do you keep the size of the picture for a contact that small? it is usually a piece of  a lager picture... any way to make the size of the pictures the 224 KB they want? I always thought the application cropped the picture t

    this is ridiculous! how do you keep the size of the picture for a contact in the address book that small? it is usually a piece of  a lager picture... any way to make the size of the pictures the 224 KB they want? I always thought the application cropped the picture to fit their requirements...
    Help
    Leo

    Gem
    Events are organised strictly on date and time, as read by iPhoto from the Exif data in the Photo. You cannot manually sort.
    Create Albums. You can do much more organising with Albums, use Photos from different events, place them as you will. Best of all, Albums use no disk space at all. They simply reference the file on the Hard Disk. So a pic can be 1, 10 or 100 Albums with no wasted disk space whatever.
    Regards
    TD

  • Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    The quickest way is to print to a new PDF and use shrink to fit. Be sure you set the paper size in the printer properties. Normally this is not recommended, but it is a quick approach. You would loss any bookmarks and other markup with the print.

  • Hello all, I'm dubbing my italian website in english. The "reproduce presentation" item in the photo album pages appears only in italian, because I have an italian 2008 version of the application. Is there any way to make it appear in english?

    Hello all, I'm dubbing my italian iweb site  in english. The "reproduce presentation" item in the photo album pages appears only in italian, because I have an italian 2008 version of the application. Is there any way to make it appear in english?
    Thanks for your attention and appreciated answers

    iWeb has no Italian version.
    The language setting on your computer determines the language that is used.
    Change the language settings on your computer or use this :
    http://www.tj-hd.co.uk/en-gb/languageswitcher/

  • Any way to make DM select the closing tag when clicking the opening tag?

    Visual Studio allows you to for example select an opening
    <p> tag... and then bolds the closing </p>. Same with
    <div> and so on. I realize DM has a breadcrumb view near the
    properties window but that's comparatively weak. Any way to make
    this happen with DM9?
    That would be really handy - I'm amazed it's not default.
    Thanks!

    Have you explored the features available in the Coding
    Toolbar? e.g. Select
    Parent Tag
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7bca.html
    Regards
    John Waller

  • Is there any way to make windows "sticky" in mission control?

    If I have several applications open, then invoke mission control, then click on a window to select it, the windows are in a different position the next time I invoke mission control.  This is like trying to hit a moving target, or as I sometimes refer to it,  "musical windows".  I've tried checking and uncheckng the mission control options in system preferences, but the windows still move all over.  Is there any way to make windows "sticky"?  What I would prefer ideally is that each group of windows remains in the same location, then new ones are added after.  I find it frustrating to have to scan mission control and locate the window I want, which is always being moved.
    -Thanks

    Go to Intel Download Center and select the 3000/4000 driver.
    you may need to uninstall the current driver if it won't install on its own

  • Is there any way to make the sent folder in mail list emails "to" instead of  "from"

    Is there any way to make the sent folder in mail list emails in the "to" order instead of  "from".

    Sure open Sent folder.
    Just above first message is an icon titled Sort By Date followed by a downward pointing arrow.
    Click on the arrow and select "To" from the list.
    Allan

  • Iphone 4S newly updated to iOS8, keeps popping up window notifying me of things I turned off (cell usage, location, etc) to preserve battery life.  Is there any way to make them stop telling me every time I use the affected apps?

    I have finally taken the step of updating my iPhone 4S to iOS8 after learning the hard way last update to wait for the bugs to be worked out.  I was horrified to find that the battery was being sucked dry in no time at all.  After finding a great article posted elsewhere on the apple forums, I went through and turned off all unnecessary options involving the use of cell data, location services and background refreshing.  My battery life has thankfully returned to what it was before the update.  
    HOWEVER, now, every time I open an app for which I turned these things off, the window informing me of that pops up.   I am getting really irritated by this as I made all of these decisions deliberately and am well aware that I may need to go back and change them in order to activate certain capabilities when I want to use them.  I had done the same thing with the last iOS, but there were far fewer that needed to be turned off and the battery life seemed to be less affected by those that I left on so it was not the annoyance it has become now.
    Is there any way to make the phone stop presenting me with these idiot messages?   TIA

    Sorry no, there isn't a way to turn off those reminders.
    You can send Apple a feedback here  http://www.apple.com/feedback/

Maybe you are looking for

  • Button is generated at runtime how to hide it in WD4A

    Hi Experts, i am using SAles processing application thru Portal , there i have Customer search in the customer search iview i want to hide create sales order button. i found the technical details by using personalization option Technical Information

  • I'm trying to install Windows 7 Professional From Authentic Discs.

    I'm trying to install Windows 7 Professional From Authentic Discs. I'm using BootCamp 3.0 on my Mac. I see there is a BootCamp 3.2 for Windows 64-bit, but it downloads an .exe that doesn't run on my Mac. Question - will Bootcamp 3.0 install Windows 7

  • SD Card not showing after Mountain Lion Update

    This matter has been discussed for some time now in Apple Support Communities > Desktop Computers > iMac (Intel) > Discussions SD Card not showing after Mountain lion Update Since the update to Mountain Lion, the SD slot does not show up in Finder. S

  • Show Keyboard & Character Viewers setting not working

    I like to have access to the Keyboard and Character Viewers in the menu bar; however, the setting on my new MacBook does not work. I have checked the "Show Keyboard & Character Viewers in menu bar" many times and it unchecks itself as soon as I leave

  • IPTC Metadata Editor with Spellcheck and more

    Bridge and Lightroom could benefit from a robust metadata editor. Quality IPTC data is almost as important as the images themselves. Afterall that's how we and our clients will find our valuable images. Desired Features: Spellcheck of at least Descri