Preference API in windows when registry is blocked

Hi All,
I have a requirement to save the user preferences of a swing based medical application at the user end and the Preferences API seemed clean to fit the bill.
However after going live, we found that some workstations have been denied user access to the registry. In such cases the entire application seems to fail. Please suggest some way out. It is exteremely important as we have already gone live with the software in place and some doctors may not be able to use the system. For the time being I could start using a properties file as a back up and storing using the random-access file api. Please help......
Thanks in advance,
Zeus

A cursory look at the Preferences.java source leads me to believe that it should be possible to change where the values are stored. This code interrogates the os.name and chooses either the Windows Registry or something else (I assume a file it creates.)
// 3. Use platform-specific system-wide default
String platformFactory =
    System.getProperty("os.name").startsWith("Windows")
    ? "java.util.prefs.WindowsPreferencesFactory"
    : "java.util.prefs.FileSystemPreferencesFactory";
try {
    return (PreferencesFactory)
     Class.forName(platformFactory, false, null).newInstance();
} catch (Exception e) {
    InternalError error = new InternalError(
     "Can't instantiate platform default Preferences factory "
     + platformFactory);
    error.initCause(e);
    throw error;
}You should be able to subclass this class and change so that the Registry isn't used.

Similar Messages

  • Preferences API on windows

    Does anyone know where it puts these key/value pairs?

    Annoyingly: the registry (that flaky binary black boxish monstrosity Microsoft is keeping around for Windows Vista).
    Unix JVMs come with a Preferences implementation that uses files in the user's home directory--I'd like to see it brought over to Windows; I like the simplicity of the API but hate the registry lock in.

  • Lion: failure to honor un-setting of "Restore windows when quitting and re-opening apps" ?

    I have noticed an annoying "feature" of Lion, and I'm hoping that someone might have found a workaround.
    If I uncheck Preferences->General->Restore windows when quitting and re-opening apps, some of my apps still seem to ignore that setting after a restart.
    Here's a scenario which illustrates the problem:
    Uncheck the Preferences setting mentioned above.
    Open up a few Finder windows.
    Open up a few Terminal windows.
    In the Terminal Preferences, disable everything related to Window Groups.
    Do a Logout or a Restart. Uncheck Reopen windows when logging back in.
    Relog in.
    Open one Terminal window.
    After step 6, all of the Finder windows which were previously open before Logout or Restart will also reopen.
    After step 7, all of the Terminal windows which were previously open before Logout or Restart will reopen, in addition to the single Terminal window which is manually opened after login.
    The only way I can prevent this from happening to Terminal is to add the following two lines right before the final </dict> tag in /Applications/Utilities/Terminal.app/Contents/Info.plist:
    <key>LSUIElement</key>
    <string>1</string>
    However, this has the undesirable side-effect of not showing anything about Terminal in the menu bar or the dock.
    None of this used to happen in Snow Leopard, Leopard, or Tiger. Does anyone know how I can disable this unwanted window-opening-after-relogin behavior in Lion?
    Thanks in advance.

    Try the Lion community, there are others with same and similar questions;
    And, this is not the MacBook Pro forum, so might want to bookmark and find that as well.
    http://www.apple.com/support/macbookpro
    http://www.apple.com/support/lion

  • Lion: failure to honor the un-setting of "Restore windows when quitting and re-opening apps" ?

    I have noticed an annoying "feature" of Lion, and I'm hoping that someone might have found a workaround.
    If I uncheck Preferences->General->Restore windows when quitting and re-opening apps, some of my apps still seem to ignore that setting after a restart.
    Here's a scenario which illustrates the problem:
    Uncheck the Preferences setting mentioned above.
    Open up a few Finder windows.
    Open up a few Terminal windows.
    In the Terminal Preferences, disable everything related to Window Groups.
    Do a Logout or a Restart. Uncheck Reopen windows when logging back in.
    Relog in.
    Open one Terminal window.
    After step 6, all of the Finder windows which were previously open before Logout or Restart will also reopen.
    After step 7, all of the Terminal windows which were previously open before Logout or Restart will reopen, in addition to the single Terminal window which is manually opened after login.
    The only way I can prevent this from happening to Terminal is to add the following two lines right before the final </dict> tag in /Applications/Utilities/Terminal.app/Contents/Info.plist:
    <key>LSUIElement</key>
    <string>1</string>
    However, this has the undesirable side-effect of not showing anything about Terminal in the menu bar or the dock.
    None of this used to happen in Snow Leopard, Leopard, or Tiger. Does anyone know how I can disable this unwanted window-opening-after-relogin behavior in Lion?
    Thanks in advance.

    To urabus. Thank you for your reply. Unfortunately, this is does not work for me. Furthermore, even if it did work the way you said, it would not be a viable alternative for me.
    When I hold down the Option key and select the Terminal menu, I see this: Quit and Keep Windows, not Quit and Discard Windows. If I let go of the Option key, this menu entry changes to simply Quit Terminal. Therefore, I don't even have the option to quit and discard my windows.
    As I mentioned, however, even if I had the option you mention, it is not desirable for me. When I restart, I want the OS to properly close all my open windows in the same way that it did in Snow Leopard, Leopard, and Tiger. It is not desirable for me to have to manually close some or all of my apps in a special way before restart, simply to cause them to behave the way that un-checking Restore windows when quitting and re-opening apps is supposed to control.
    Here is one reason (out of several), for why I don't want this auto-reopen-windows-on-restart "feature": some of my Terminal windows run ssh sessions to remote sites. It is a Bad Thing for these ssh sessions to be auto-restored after Restart, without my having to specificially initiate these sessions.
    IMHO, Apple should offer an alternative to this undesirable behavior. For example, during the shutdown procedure which is part of a Restart, we are asked if we want to kill any open Terminal windows. The "Quit and Discard Windows" option could be offered at that point ... but it isn't.
    Furthermore, as I mentioned above, this unwanted behavior also occurs in Finder.
    Is there any option that I can set in my system or in the defaults for com.apple.Terminal and com.apple.Finder which would force an automatic "Quit and Discard Windows" on restart or re-login?
    Updated to add second paragraph which explains how hitting the Option key when selecting the Terminal menu does not work.

  • Java.utils.prefs.Preferences API throws exception on Mac, not Windows

    This is a Mac-specific problem. Is it a bug, or am I misusing the java.utils.prefs.Preferences API?
    The Preferences flush() API call always throws a BackingStoreException if a system tree preferences root has been read. The system tree has not been modified or written to, but the flush() call is nevertheless throwing an exception. This occurs when running as a normal user without the ability to write to /Library/Preferences.
    See sample code below. Note that I only want to read the system prefs tree. The user tree write flush fails. If the system tree node is not created, the user flush() succeeds.
    Steps to Reproduce
    Delete any existing Java prefs files:
    ~/Library/Preferences/com.apple.java.util.prefs.plist
    ~/Library/Preferences/com.mycompany.prefstest
    /Library/Preferences/com.apple.java.util.prefs.plist
    /Library/Preferences/com.mycompany.prefstest
    Run the following Java code:
    package com.mycompany.prefstest;
    import java.util.prefs.BackingStoreException;
    import java.util.prefs.Preferences;
    public class PrefsTest {
          * @param args
         public static void main(String[] args) {
              String strKey1 = "com/mycompany/prefstest/one/two/three/four/key1";
              Preferences systemRoot = Preferences.systemRoot();
              Preferences userRoot = Preferences.userRoot();
              // Get a value for user prefs.
              String value1 = userRoot.get(strKey1, "missing");
              // Fall back to system prefs if it is not defined.
              if (value1.equals("missing"))
                   value1 = systemRoot.get(strKey1, "missing");
              System.out.println("key1 --> " + value1);
              // If still not defined, set a user-specific value
              if (value1.equals("missing"))
                   userRoot.put(strKey1, "value1");
                   try {
                        userRoot.flush();
                        System.out.println("flushed prefs successfully");
                   catch (BackingStoreException e)
                        System.out.println("Exception: " + e.toString());
    Expected Results
    Should produce the output:
    key --> missing
    flushed prefs successfully
    Actual Results
    Console output is
    key --> missing
    Exception: java.util.prefs.BackingStoreException: Synchronization failed for node '/'
    Notes
    $ java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
    Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
    also tested with:
    java version "1.7.0_04-ea"
    Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b16)
    Java HotSpot(TM) 64-Bit Server VM (build 23.0-b17, mixed mode)
    Mac OS X 10.7.3.
    The "Expected Results" are correctly obtained running the same code on MS-Windows.
    Running the jar as sudo works (with write access to /Library/Preferences), as expected.

    Just for fun, try a key without slashes in it (but for example dots if you must use such a long key).
    I say that because a quick Google search points out that Apple stores the preferences in a file hierarchy in the user home folder. I can already see how using keys which look like a file path are going to cause nuclear reactors to meltdown...

  • I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When I try to edit preferences iTunes for Windows locks up.  I have only one user.  This is true even after a reboot.

    When I try to edit preferences iTunes for Windows locks up.  I have only one user.  This is true even after a reboot.

    Hello MF7642,
    Thank you for contacting Apple Support Communities.
    You can use this article to troubleshoot your issues with iTunes.
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/TS1277
    Regards,
    Jeff D.

  • Why is it when I choose "block cookies always"  I still get lots of cookies showing in my preferences even though I clear them after every use

    Why is it when I choose "block cookies always"  I still get lots of cookies showing up when I look at my preferences.  I always clear my cookies after each use but I don't understand how I can get any at all if they are supposed to block cookies always?  I have a desk top Mac and am using safari. 

    Safari caches cookies in memory and will sometimes write them back to disk after they've been deleted, for reasons known only to the developers. After deleting cookies, quit Safari immediately, then relaunch it. The cookies should now be gone for good, or until you visit the same sites again.

  • GP Preferences - computer configuration Preferences windows setting registry HKLM keys applying to HKCU

    having issues applying HKLM|system|currentcontrolset|control|securityproviders|schannel keys using GPO
    used the registry wizard to copy schannel keys into GPO preferences under computer configuration>preferences>registry
    permissions set in computer configuration>policies>windows settings>registry
    Keys get updated in HKCU registry path
    User configuration in GPO is disabled.
    No errors are recorded - all events say success in applying GPO

     
    Hi,
    Would you please describe the steps you configured the Registry GPP in detail so that I can try to reproduce and analyze the issue.
    In addition, please also collect and upload the following log files to me
    here for our further research.
    Collect GPMC log
    ==============
    On domain controller, click Start -> Run, type GPMC.MSC, it will load the GPMC console. If the GPMC snap-in is not installed.
    Right click on "Group Policy Result" and choose wizard to generate a report for the problematic computer and user account (please place appropriately). (Choose computer and select
    the proper user in the wizard)
    Right click the resulting group policy result and click the "Save Report…" => save report and upload it to the link I provided.
    Collect gpresult output
    ==============
    Run the command gpresult /v >C:\gpresult.txt.
    Upload the C:\gpresult.txt to the above link.
    Collect Gpsvc.log
    ==============
    To collect the GPSVC.log, we need to modify the following registry:
    Subkey: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics
    Entry: GpSvcDebugLevel
    Type: REG_DWORD
    Vaule data: 0x30002
    After the issue reoccurs, find and upload %windir%\Debug\UserMode\Gpsvc.log file.
    Regards,
    Arthur Li
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Arthur Li
    TechNet Community Support

  • Using the Preferences API

    I've never used this API before, so excuse my ignorance. I have a web application that I have been using a properties file to store base app info, such as the backend database, the url for the ldap, etc. This has been working fine, but after reading about the Preferences API, I thought that this might be the better place to store this info. However, I'm having permission problems that I haven't been able to figure out.
    I've got a development copy of everything on a single computer (using Windows XP), Sun One App Server, and Oracle.
    I created a small test class to see if I could load preferences from an xml file. Here's the class
    package portal.common;
    import java.util.*;
    import java.util.prefs.*;
    import java.io.*;
    import java.lang.*;
    public class PortalPreferences{
         Preferences sysPreferencesRoot;
         public void prefs() throws SecurityException{
    sysPreferencesRoot = Preferences.systemRoot();
         public void uploadPrefs(String file) throws IOException, InvalidPreferencesFormatException{
         FileInputStream fis = new FileInputStream(file);
         RuntimePermission rpermiss = new RuntimePermission("preferences.*");
         Preferences.importPreferences(fis);
         public Preferences getPrefs(){
         return sysPreferencesRoot;
    I then used a jsp to instantiate the class and call the uploadPrefs method. The class instantiates without error, but when I try to load the xml file I get the following error:
    access denied (java.lang.RuntimePermission preferences)
    I've never done anything with the security manager before so I'm not sure how to get around this. I tried creating a RuntimePermission object above, but that didn't work.
    If anyone has any ideas, I'd much appreciate it.

    No, actually I've got the Sun One App server loaded on a desktop I built that I'm using as a test box - its not a server. The Sun server is running fine, as is Oracle. The only problem I'm having is figuring out how to use the Preferences API. Maybe this API isn't the right thing to be using, that's why I'm asking for advice as well as how to get around the security issue that I'm having. My goal is to have application level information that can be stored somewhere other than in a database - this is because one of the pieces of app info is the database that's being used. This app will work with any backend. Currently, this info is stored in a properties file inside the WEB-INF directory. This works fine as is. However, my issue with that is that in order to load the properties file, I've got to have a real drive path. This again isn't that much of an issue except when trying to access from a class that doesn't have the servlet context, however, I am looking for an alternative solution to the properties file. The Preferences seemed like a good solution.

  • 10.4.8 Client takes long time to get to login window when bound to OD.

    I am working on a system in a school. We have a dual processor g5 xserve with 4 gb of ram, the raid card, and 3 500 gb drives.
    Fresh install of 10.4.8 with all the updates.
    Raid 5 split in 2 volumes, one for server and one for data.
    AFP service running.
    Local dns running.
    Promoted to open directory master.
    This is the following test scenario i have.
    there is a user called studenttest and he belongs to a group called cccarstarmembers and is in a workgroup called student.
    the studenttest users home folder exists in a sharepoint called students that is set up on the data partition.
    there is a sharepoint called cccarstar that holds data for some educational software we use. The owner is administrator with rw access, the group is cccarstarmembers with rw access and others have no access.
    The student workgroup only has a few changes like dock location just for testing purposes to verify that the work group is working properly.
    When i bind a newly built 10.4.8 client with all the updates to the od server it intermittantly takes a long time for the client to get to the login window when it is powered up. Sometimes it will get to the login window in 45 seconds and other times it will take 5 minutes. This is not consistant. if you unbind the client then the computer will behave properly consistantly.
    I have tried binding the client to the od master using the fully qualified domain name and the ip address with the same results.
    the search path on the server is "dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca" and on the client it auto populates at cn=config,dc=osx1,dc=erm,dc=sd,dc=bc,dc=ca".
    I have changed the search path on the client to match the search path on the server with no success as this is what used to work for us on panther setups.
    But this school has a panther client i am working on at the same time with the same applications installed and system preference settings and when i bind it to the same od master with the same search path that is displayed on the server it works fine. all users work, all groups and work groups work.
    Dns appears to be working. lookup provides the correct forward and reverse lookup info on the server, if i use either the panther or tiger client and use lookup with the servers fully qualified domain name and ip address i get the correct answers back.
    I had this problem before where tiger gave me slow to login screen problems but panther wouldnt when bound, and apple told me that it was because i had afp guest access disabled on the server. Enabling it resolved the issue about 6 months ago at another site but this time when building the server i made sure it was on from the start even thoug it is off by default.
    Any suggestions, i am pulling my hair out and about 8 working hours from a deadline.

    I've seen this a lot.
    This Knowledge Base article refers to Active Directory but we've seen this fix login delays with OD-only environments too:
    http://docs.info.apple.com/article.html?artnum=303841
    Another one of the causes is when you have multiple network mounts and your AFP service has guest access disabled. The loginwindow is trying to authenticate to each share with the username given and it is failing when that user account is not authorised for that share.
    Another can be the LDAP timeout value(s). Try adjusting these in the LDAPv3 plug-in.
    Also make sure your network ports have portfast/faststart set on the Mac ports. Sometimes because of STP the port isn't initialised fast enough for the OS when it's ready to start LDAP'ing.
    Let me know if any of this helps.

  • HT5129 how do i get iPhoto to stop bothering me with Mobile Me Migration windows when everything's already on my hard drive?

    how do i get iPhoto to stop bothering me with Mobile Me Migration windows when everything's already on my hard drive?

    Click "More Info", not "o.k.".
    Then open the iPhoto Preferences "Accounts" tab and remove the "Mobile  Me" account, if it is still there.
    Quit iPhoto.
    Check, if "Mobile Me" is still enabled in the System Preferences > Mobile Me panel (if you still have this panel). if yes, sign out.
    Log off and on again.
    Test, if iPhoto still is bugging you to transfer your Mobile Me content. If yes, you need to delete your iPhoto Preferences from your User Library.
    ~/Library/Preferences/com.apple.iPhoto.plist
    And also remove the file
    ~/Library/Caches/com.apple.iPhoto/mmsunset.plist
    from the Caches in the User Library - this file contain the end date of Mobile me.

  • Printer doesnt appear in the print options window when printing from an application like word etc

    Ok  this topic is all over the help forums but I have a couple of different observations not previously covered and all remedies that have been posted and worked for most havent worked for me
    First of all the Printer used to work with USB or NET connection and then suddenly unexpectedly stopped working. I cant say with 100% conviction whether this was when the upgrade to windows 7 occured or not
    things I have tried:-
    I have used the hp install wizard
    I have a downloaded the windows 7 update. 
    I can ping the device
    I can print a test page.
    The icon appears in the device and printer window but with an exclamation mark.
    I have tried NET STOP SPOOLER / NET START SPOOLER.
    I can scan docuemnts OK
    here is the part that I believe appears to be different from the other case on the forum.
    If I open a word document and select print the printer preferences dialogue window opens but no printer is visible to select. When I select add printer it shows my network then double clicking this opens a window showing a printer icon but its a previous version?? so when I select it as a printer to add nothing happens and it still doesnt appear as a selectable printer in the printer preferences pop up window. So doesnt print any thing
    Im lost for any other ideas to try

    I had already tried this and it didnt work on your advice I repeated the process with same results it appears in devices list but with an exclamation mark but trouble shooter fails to find any problem
     I refer you to the things tried and status in my first post i.e. I can ping the IP, I can scan. So my thoughts are now it must be something on my PC side that is the issue and not the printer or printer software.
    Could it be a security level issue that's the reason why  manual selection of add printer comes back access denied ??. Possibly  I need admin login. However I am the admin and single user of my PC anyway so I should have access.
    or some other PC setting why it doesnt see the printer in the printer settings when printing from an application ?

  • Either there's no "Open or save as"-Popup, when downloading files (although it's set in preferences) or nothing happens when I click "save as". Please help me. I'm using Iceweasel 7.0.

    In my preferences I have enabled:
    - Show the downloads window when downloading a file
    - Always ask me where to save files

    No, I just wonder, if only mods (or something) can close a topic, but ok, I see I can now click "solved it" next to your post. Seems like someone has to post something.^^

  • Wrong File(parent, child) behaviour on Windows when child starts with one s

    I've sent following problem report:
    A DESCRIPTION OF THE PROBLEM :
    On Windows when relative path starts from one slash it should be resolved from current disk (not current directory). This behaviour should be preserved for Files constructed with constructor File(parent, child). So results of run "System.out.println(new File(dir, relPath).getAbsolutePath())" and "System.out.println(new File(relPath).getAbsolutePath())" should be identical when running program from directory "dir".
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    Compile and run from directory C:\temp\relpath following code:
    import java.io.*;
    public class Main {
         public static void main(String[] args) throws Exception {
              System.out.println(new File("C:\\temp\\relpath", "\\temp\\relpath\\Main.java").getAbsolutePath());
              System.out.println(new File("\\temp\\relpath\\Main.java").getAbsolutePath());
    EXPECTED VERSUS ACTUAL BEHAVIOR :
    EXPECTED -
    C:\temp\relpath>java Main
    C:\temp\relpath\\Main.java
    C:\temp\relpath\Main.java
    ACTUAL -
    C:\temp\relpath>java Main
    C:\temp\relpath\temp\relpath\Main.java
    C:\temp\relpath\Main.java
    The answer was:
    I have been analyzing your problem and it is not a bug but the intended behavior of the API.
    The File(File,String) constructor includes this in the specification:
    "If the |child| pathname string is absolute then it is converted into a relative pathname in a system-dependent way."
    In the example provided here, the child path is absolute so it is converted into a relative path. This is the intended behavior.
    My comments:
    First, child pathname is not absolute. Even so, I don't understand why this guy contend that this behavior is correct.
    Please comment this!

    Please comment this!
    I've sent following problem report:
    A DESCRIPTION OF THE PROBLEM :
    On Windows when relative path starts from one slash
    it should be resolved from current disk (not current
    directory). This behaviour should be preserved for
    Files constructed with constructor File(parent,
    child). So results of run "System.out.println(new
    File(dir, relPath).getAbsolutePath())" and
    "System.out.println(new
    File(relPath).getAbsolutePath())" should be identical
    when running program from directory "dir".
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    Compile and run from directory C:\temp\relpath
    following code:
    import java.io.*;
    public class Main {
    public static void main(String[] args) throws
    s Exception {
    System.out.println(new File("C:\\temp\\relpath",
    ", "\\temp\\relpath\\Main.java").getAbsolutePath());
    System.out.println(new
    ew
    File("\\temp\\relpath\\Main.java").getAbsolutePath());
    EXPECTED VERSUS ACTUAL BEHAVIOR :
    EXPECTED -
    C:\temp\relpath>java Main
    C:\temp\relpath\\Main.java
    C:\temp\relpath\Main.java
    ACTUAL -
    C:\temp\relpath>java Main
    C:\temp\relpath\temp\relpath\Main.java
    C:\temp\relpath\Main.java
    The answer was:
    I have been analyzing your problem and it is not a
    bug but the intended behavior of the API.
    The File(File,String) constructor includes this in
    the specification:
    "If the |child| pathname string is absolute then it
    is converted into a relative pathname in a
    system-dependent way."
    In the example provided here, the child path is
    absolute so it is converted into a relative path.
    This is the intended behavior.
    My comments:
    First, child pathname is not absolute. Even so, I
    don't understand why this guy contend that this
    behavior is correct.
    */

Maybe you are looking for

  • SSRS 2008 R2 - Dynamic header data stays the same when exporting

    Background: I have a SSRS 2008 R2 report with a single Tablix. The data is grouped by InvoiceID, with each appearing on a separate page. I'm displaying some of the detail data in the group header row using Expressions similar to the following: ="Invo

  • How can I hide the borders and keep it as an option?

    How can I hide the borders and keep it as an option?  I had someone go into the css I believe, and make it so there were no borders visible on the page (I could see the dotted outline while working on it, but when pushed, it wasn't visible (which is

  • Recieving Error Viewing Reports in Report Manager

    I am receiving the following error trying to view a report in Report Manager and Reporting Services:  " Your browser does not support scripts or has been configured not to allow scripts"  I have ensured that scripting is enabled and added the site to

  • Problems with doctype

    I found a problem where if a document is saved to a container with a doctype using a public identifier it comes back using a system identifer that is the same string as the public id. Here is what happens using an example from the xhtml spec. dbxml -

  • Where is the page up key on the bluetooth keyboard

    I'm an ex-windows guy and I'm having issues with shortcut keys in Pages & Numbers. I have downloaded whatever documents that I found. Ex: Go to previous sheet Command–Page Up Where is the page up key? Scroll to beginning of sheet Home Scroll to end o