On Sun, Dec 13, 2009 at 06:55:02PM -0500, Mark Roddy wrote:
>
> 1) How can I show error output of my RC file under Windows? This
> would have been much easier to debug had I had this info.
>
I would really like to know... Any windows users willing to investigate
this issue thoroughly would be greatly appreciated.
> 2) Is there a way to determine what the platform is within my RC file
> so I can set the variable depending on the system? Something like:
> if IsWindows:
> cwd=make_file('C:\\Documents and Settings\\mark\\Desktop')
> else:
> cwd=make_file('/home/mark/Desktop')
>
No need to do that. Just do this:
cwd=get_home_directory();
Then you can make relative paths platform-independently like this:
cwd.append("downloads");
Refer to the MDC docs about nsILocalFile and nsIFile for more
information about manipulating these objects.
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror