ArnoldTheresius wrote > Until now I did not find a function in guile to read registry values. > There is the command line program »REG QUERY ... « to get the information. > It's standard output needs to be parsed, and the call needs to be fail > save (dont throw an exception if it fails). > > … > > That looks like we need to execute a / > system / > call and redirect the output into a temporary file, then parse the file. > Possibly we do this on several pathes in the windows registry until we get > an string. Then we need to scan for specific keywords in this string to > select one on the known editors.
I think there are two issues to consider: - a program is invoked which is not in a folder defined in the %path% variable - the file has not the extension .ly I've attached a small program to check the user's choice for an application to open that file and to find the full command line command in HKCR\… regQuery.bat <http://lilypond.1069038.n5.nabble.com/file/n144800/regQuery.bat> so if you can run such a "system" call you should get this information back Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Point-and-Click-does-not-work-on-Windows-tp115986p144800.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
