lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Point and Click does not work on Windows


From: ArnoldTheresius
Subject: Re: Point and Click does not work on Windows
Date: Tue, 7 May 2013 00:33:44 -0700 (PDT)

Eluze wrote
> ...
> I did a few tests:
> ...
>     ("notepad++" . "notepad++ -n%(line)s -c%(column)s %(file)s") ;;; ok!
>     ;("notepad++" . ,(if (eq? PLATFORM 'windows)
>     ;  "start c:\\Program Files (x86)2.17.17\\Notepad++\\notepad++.exe
> -n%(line)s -c%(column)s %(file)s"
>     ;  "notepad++ -n%(line)s -c%(column)s %(file)s"))
>  
> the problem is the space in "C:\program files(x86)\...\notepad++.exe" - I
> couldn't find a quick solution how to put the necessary apostrophes.
> 
> ...
> 
> it seems the textedit protocol is handled by the (standard) internet
> browser
> - can it be done without?
> - if not, what special settings are required there?
> 
> thanks for your work!
> Eluze

Hello Eluze,

I did my tests when the notepad++ path was added to the program search path.
I had to reboot after I expanded the environment variable PATH in the system
settings.
If you want to enter the full path in (with spaces) in editor.scm, then try
to put the »quotes in the string« just around the full program path, this
would be:
    ("notepad++" . ,(if (eq? PLATFORM 'windows)
      "start *\"*C:\\Program Files
(x86)2.17.17\\Notepad++\\notepad++.exe*\"* -n%(line)s -c%(column)s %(file)s"
      "\"C:\\Program Files (x86)2.17.17\\Notepad++\\notepad++\" -n%(line)s
-c%(column)s %(file)s"))

And, just as allready answered by Phil Holmes, both the acrobat reader and
summatraPDF seem to look in the registry at
[HKEY_CLASSES_ROOT\textedit\shell\open\command] to get the associated launch
command. I do not know if the lauch is done directly (i.e. CreateProcess())
or by calling another application like the internet explorer.
The "out of the box" entry after each installation is like this line:
*"C:\Program Files (x86)\LilyPondV2.17.17\usr\bin\guile.exe" /-e main/ -s
"C:\Program Files
(x86)\LilyPondV2.17.17\usr\bin\lilypond-invoke-editor/.scm/" "%1"*
where "-e main" forces it to be executed twice, and the script in the
windows installation is initially without the extension .scm.
Therfore I allways correct it after I installed a new relesae to something
like this:
*"C:\Program Files (x86)\LilyPondV2.17.17\usr\bin\guile.exe" -s "C:\Program
Files (x86)\LilyPondV2.17.17\usr\bin\lilypond-invoke-editor" "%1"*

ArnoldTheresius







--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Point-and-Click-does-not-work-on-Windows-tp115986p145537.html
Sent from the Dev mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]