Pages

Showing posts with label solution. Show all posts
Showing posts with label solution. Show all posts

Monday 8 September 2014

New window has both Pale Moon button and menu - solution





On opening a new window in Pale Moon, you may find a "double layer" taking up extra screen space unnecessarily, with the blue Pale Moon button top left (with text not icon) - even if you've chosen to view the menu bar and the original window displays properly. Here's what my new windows look like:

pm-nw1Something odd's going on because it should display the button or the menu bar, not both! Possibly a bug, only started happening recently for me.

Here's my workaround or fix. To get rid of the top "bar", just hide the menu bar by UNticking it - menu View > Toolbars > Menu Bar, so that there's no tick against "Menu Bar":

pm-nw2

Then, show it again by using the arrow against the Pale Moon blue button - choose Options, Menu bar:

pm-nw3

Now the new window should be normal again:

pm-nw4But be warned, it's more of a workaround than permanent solution because it doesn't solve the problem going forward, and you may have to go through this process all over again for every new window you open in Pale Moon!

Tuesday 19 August 2014

Zotero & Pale Moon - "An error has occurred…"





This post is on how to solve the problem when you get this message in Zotero using Pale Moon:

"An error has occurred. Please restart Pale Moon.
You can report this error by selecting "Report
Errors..." from the Actions (gear) menu."

zotero-palemoon-error

This forces you to restart Pale Moon, and unfortunately the error will keep recurring randomly as you keep using Pale Moon, which can be very annoying and time-wasting. It must be to do with Zotero's integration with Pale Moon.

Further issues (if you don't restart Pale Moon immediately) - clicking on folders on the left won't display their items list. However, you can save items to the currently-selected Zotero folder - you just can't see the items list or view existing items, and you can't view your webpages tabs properly as the Zotero pane is in the way, blocking your view!

Also, if you get this error message, and you try to use your keyboard shortcut (usually Ctrl-shift-z) or the X icon to the right of the Zotero toolbar to close the Zotero pane, or you open a new Pale Moon window and try to start Zotero there, you'll just get yet another error message:

"There was an error starting Zotero".

zotero-palemoon-error2

zotero-palemoon-error3

Workaround to keep working in Pale Moon (if not Zotero)

First, here's a temporary workaround, just to let you see and save your current webpages or tabs to Zotero.

Hover the mouse over the top of the Zotero pane so it becomes a double headed arrow:

zotero-palemoon-drag

Then click and drag it down to hide the Zotero pane, so that only the Zotero toolbar is showing:

zotero-toolbar

Obviously this gets most of Zotero out of the way of your webpages and tabs, so you can keep saving your then-open webpages to the currently selected folder.

If you need to change folders just drag Zotero back up, click on the name of the correct folder on the left and save the next webpage item, etc.

What's the longer-term solution?

Full solution to "An error has occurred. Please restart Pale Moon…"

The permanent fix I found after some troubleshooting is to disable automatic syncing in the Zotero settings.

  1. In the Zotero toolbar, click the Zotero Settings icon (the cog), then Preferences:

    zotero-preferences
  2. Click the Sync tab, then click by "Sync automatically" to UNtick it, and click OK:

    palemoon-zotero-sync
  3. Finally, restart Pale Moon.

Since then, I've had no recurrence of the error message. I tested this solution by re-enabling automatic sync in Zotero and, sure enough, the problem came back.

The only downside is that in some ways this is just a workaround because you then have to remember to sync Zotero manually - click the Sync icon  at the right of the Zotero toolbar:

zotero-sync

I now tend to do that every day just before I go and have lunch or dinner!

Monday 3 February 2014

Open Word or Excel document read-only - add context menu item





If you'd like to right-click on a Word or Excel document in Windows Explorer to open it as read-only, supposedly you should be able to hold down the Shift key, rightclick on the filename, and there should be an option to "Open as Read-Only".

image

However, choosing this Shift-rightclick option doesn't actually open the document as read-only. This seems to be a known bug in Office 2003 and Office 2007, and also in Office 2010 and Excel 2010.

There's one workaround and one fix.

Open in protected view

The workaround is that, if you Shift-rightclick on a Word or Excel .xls file in Windows Explorer, there's also an option to "Open in Protected View".

Choose that, and it works pretty much as read-only: you can't change anything, you can't save, but you can copy/paste from that document. This works for Excel as well as Word.

Rightclick context menu item

What solves the problem completely in Word, which I used myself, is to edit things to add a new rightclick Open Read-only context menu option that actually works to open Word documents as read-only. I based this solution on a combo of this post (which wasn't actually on opening read only) and this page (about opening read-only, but for XP only, not later versions of Windows).

Here's how to add a right-click context menu item to open Word files as read only, properly - works for me using Windows 7 and Word 2010:

First, download FileTypesMan (free, but donate if you can, the man certainly deserves it!) - you have to scroll quite a way down for the "Download FileTypesMan" link (I used "Download FileTypesMan for x64" as my computer is Windows 7 Pro 64-bit).

Next, unzip/extract the files (rightclick on the zip fiule downloaded and Extract all to create a new unzipped folder) and open the new folder, then run FileTypesMan.exe.

On the left, scroll down till you find and highlight .docx (or use menu Edit > Find and and type docx to find it, make sure you then highlight that line):

image

Now in the menu choose Actions > New Action (or press Ctrl-n).

In the box that pops up, fill it in like this (and see diagram just above the list):

image

  • Action name - I used  "Open read-only" without the quotes, you could just use "Read only" etc as you prefer
  • Menu Caption - I used "Open read-only" again
  • Command-Line - you can click Browse to find your Winword.exe under Program Files or Program Files (x86) (you will have to drill down to find Microsoft Office, Office14 or Office11 etc depending on your version), or Select from Running Programs if Word is already running, which is the easiest. You could alternatively enter the full path to Winword.exe, with quotes around it, as shown below, but it's easiest to Select from Running Programs (you can launch Word just before you click Select and it should work, just scroll down to find it in the "Select Process" list, possibly to the end):image

After you've used Browse or Select, it will fill in the Command-Line box for you with something like this:
"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" "%1"

Now, you have to edit what's in the Command-Line box, by inserting after the "%1" the following (which you can copy/paste from the next line) - just after the 1 but before the close double quotes, and make sure there's a space between the 1 and the first /:
/h /n /dde

In my case, the Command-Line box ended up reading like this:
"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" "%1 /h /n /dde"

Next, in the DDE section in the Message box, you should enter  the following, which again you can copy/paste:
[AppShow][REM _DDE_ReadWriteOnSave][FileOpen .Name="%1",.Revert=0,.ReadOnly=1]

(In the Application box you can enter Word if you like, but it will still work even if you don't.)

Finally, click OK. This adds a new Action to the bottom half of the FileTypesMan window, which you can doubleclick to edit in future.

Now, when you rightclick (no need to hold down the Shift key) a docx document in Windows Explorer, you will have a working "Open read-only" menu option (or whatever title you gave it in the "Menu caption" box above).

Furthermore, in FileTypesMan you can select (in the lefthand column) the type .doc for old-style Word documents, and rinse and repeat the steps above, if you wish.

Excel protected view - rightclick only

For Excel spreadsheets, unfortunately the above fix doesn't work, so you have to open them in protected view.

But to make life easier for yourself, you can use FileTypesMan to change things so that you don't have to Shift-rightclick to get the "Open in Protected View" menu option. Here's how to get that option to display just on a simple rightclick:

In FileTypesMan, find and highlight.xls on the left (scroll or search, as with docx above).

image

Now in the bottom half of the window, find and doubleclick "ViewProtected" (outlined in red above).

In the box that pops up, UNtick "Extended", and OK:

image

Now a simple rightclick, as opposed to Shift-rightclick, will call up the "Open in Protected View" option.