Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mdv2

macrumors regular
Original poster
Feb 26, 2008
196
27
I am using Mendeley for managing my citations in Word, but it comes with the inconvenience that the popup screen that allows you to select a citation disappears when you have actually put it into your document.

I would like this popup to stay permanent in Word. Is it possible to alter the following script?

local command
local resultCommand
local pythonPluginPath

set pythonPluginPath to "/Applications/Mendeley\\ Desktop.app/Contents/MacOS/../Resources/macWordPlugin.py"

set command to "VERSIONER_PYTHON_PREFER_32_BIT=yes /usr/bin/python " & pythonPluginPath & " Check"
set resultCommand to do shell script command

if resultCommand is not "OK" then
display dialog "Error executing the command:
" & command with title "Mendeley Desktop" buttons {"OK"}
end if

set command to "VERSIONER_PYTHON_PREFER_32_BIT=yes /usr/bin/python " & pythonPluginPath & " InsertCitation > /dev/null 2> /dev/null &"

do shell script command
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.