1) I've tried running the commands directly, but it won't work. The reason is that the commands I'm using ("latex <file>" for example) don't work if the <file> is any full path (such as "C:\Test\file.tex"). The file needs to be relative (such as "file.tex").
Of course, for that to work, the current directory needs to be the directory in which the file is located. So I need to use the "cd <dir>" command to set this directory.
If I run the latex command separately, I cannot use the cd command (as far as I know), and hence it won't work.
Unless you can see another way?
2) Yeah, I realized that. It doesn't even do anything actually since WScript wasn't even any defined object. It gave me an error about that but I didn't notice it before. I removed it now.
3) I agree that the editor is not limited, especially not for an embedded editor. In fact, I know these types of editors pretty well, as I've used a few of them to make other applications. I am assuming it is a third party editor (it looks alot like the Quantum Whale editor, or the ActiPro (or something) editor), or did Patchou write it completely from scratch? If so, he should look into selling it lol. The editors I mentioned sell for about $500.
I know about the Outlining and Intellisense too, but the Intellisense seems to be pretty rare. It only shows up when I use objects such as 'MsgPlus. ...'. It doesn't show up when I try to call a function or something like that.
For example, the following script does not show Intellisense at the ___ location:
jscript code:
function someFunction(name, age)
{
return "Your name is " + name + " and you are " + age + " years old.";
}
function someRandomFunction()
{
var x = someFunction( ___ )
}
If I load this code in Visual Studio, as soon as I type "s", it shows me "someFunction()" in the list. I press "(" and it completes it to "someFunction(" and then tells me it is expecting the "name" variable. It also shows me clearly that it expects two arguments.
If I type this in the Plus! editor, Intellisense doesn't show up at all...
Maybe I'm just too used to C# or VB.NET, where Intellisense pretty much lets you write the code without touching the keys, but it doens't seem very helpful here.
Of course, Visual Studio has all the same features too, except for the debugging thing... That does seem helpful, although I suppose I could just keep the debugging window open (I don't have a dual monitor setup for nothing
), that won't be much of a problem.
3) You already had a nr 3
Thanks for mentioning it though
I'll check it out.