What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » Search » Results

Search Results
Subject Author Forum Time
RE: Basic Questions - LaTeX
For now, yes I'm afraid it has. I lost interest, just didn't get it to work as I wanted it. I've attached the source so anyone can play around with it. I must warn you that I started making changes a while back without really finishing them, so i...
FlippyScripting07-30-2009 at 04:36 PM
RE: Basic Questions - LaTeX
I thought of a different way, but I'm not sure yet which one I'm going to use. The fact that I need to take into account multiple people sending me latex simultaneously is indeed a problem at the moment. A possible fix would be to store one equatio...
FlippyScripting06-19-2009 at 02:31 PM
RE: Basic Questions - LaTeX
I'm having a bit of trouble with my window at the moment... I'm trying to make it a look a biter nicer, because the png image is only exactly as large as the equation, so there is no 'border' around the equation, making it hard to read sometimes....
FlippyScripting06-18-2009 at 08:10 PM
RE: Basic Questions - LaTeX
Ahhhh, that makes sense. Thanks, it seems to work so far!
FlippyScripting06-18-2009 at 07:23 PM
RE: Basic Questions - LaTeX
Well first of all getting the window size... I tried it, but I don't really know how to use the Allocate function. It wants to know the size in bytes, but how do I know? The Rect structure seems to store 4 long integers (= 4 * 4 bytes???) so I used ...
FlippyScripting06-18-2009 at 06:11 PM
RE: Basic Questions - LaTeX
Well, I got it working by simply closing the window before generating the new PNG file. If I ever want to try my more advanced idea (multiple images in history) then I probably need to have a look at your suggestions. But for now, this works fine. I...
FlippyScripting06-18-2009 at 05:47 PM
RE: Basic Questions - LaTeX
Sure, once it's ready :p It's far from ready at the moment. One thing that is still bugging me is that it doesn't work when you keep the little window open. I'm assuming that the png file is in use that way, and the dvipng command does not work p...
FlippyScripting06-18-2009 at 04:21 PM
RE: Basic Questions - LaTeX
Wow, so many thanks for that! I had it working a minute ago, and wanted to show a screenshot, but now I changed something in the latex document ('preamble') and it's now printing page numbers too, making the image very large for no reason lol :p ...
FlippyScripting06-18-2009 at 03:32 PM
RE: Basic Questions - LaTeX
Ok, I found Javascript code to find the size of an image, but it doesn't work in jscript :( [code=javascript]var newImg = new Image(); newImg.src = imgSrc; var height = newImg.height; var width = newImg.width;[/code] But 'Image' isn't recognized....
FlippyScripting06-18-2009 at 01:29 PM
RE: Basic Questions - LaTeX
Wow thanks, I learned something new again :p I've got it nearly done now. The latex png is created and shows in a window. Only thing left now is to resize the window depending on the size of the image. I have been trying first to simply resize the...
FlippyScripting06-18-2009 at 11:29 AM
RE: Basic Questions - LaTeX
Alright, the docs now work, thanks for that :) I got the Run command to work, including the -include-directory switch and -output-directory switch. So I have been able to run the latex command without the use of the cd command, great! But, it appears...
FlippyScripting06-17-2009 at 10:01 PM
RE: Basic Questions - LaTeX
Meh, I can't get it using timers either... Whatever I try, I always end up with a while loop that basically does the same thing I had before (the Sleep function). How do I use the timers for this?
FlippyScripting06-17-2009 at 08:38 PM
RE: Basic Questions - LaTeX
Of course, the one line DOS command is much better. But I was talking about the piping etc, which seems to be alot more trouble than a single DOS command :p I wanted to try the Run command, with the boolean you mentioned to make it synchronous, but I...
FlippyScripting06-17-2009 at 08:32 PM
RE: startsWith() and endsWith()
I see, so it has to do with type conversion. That's one more thing I don't really understand about this language, types... Is it just me or is every variable of type 'var'? And you don't need to specify any type (int, string, etc) in function ar...
FlippyScripting06-17-2009 at 07:46 PM
RE: Basic Questions - LaTeX
1) I am probably doing something wrong, as I don't know much about command line commands at all... However, even if I try it manually (eg, open cmd.exe) and then use the command "latex C:\Test\file.tex" or with quotes, double quotes, I've tried...
FlippyScripting06-17-2009 at 07:38 PM
RE: startsWith() and endsWith()
Thanks. I didn't try it yet (will do later tonight), but I cannot guarantee that orig is longer than str. str will actually be "$$" always (at least in my script), and orig is simply the message someone receives. That message might be a simple "...
FlippyScripting06-17-2009 at 06:26 PM
RE: Basic Questions - LaTeX
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 (su...
FlippyScripting06-17-2009 at 06:14 PM
startsWith() and endsWith()
Hey, I'm looking for a function that will tell me if a string starts or ends with a certain string. In any language I've worked in so far you had the StartsWith() and EndsWith() functions, but they don't seem to work in jscript. I've looked on go...
FlippyScripting06-17-2009 at 04:59 PM
RE: Basic Questions - LaTeX
EDIT Nevermind, got it :p Another question: can I use an outside editor to edit the jscript files? This one is starting to piss me off, sorry :p It's really good for a 'simple' editor embedded into Plus!, but the one in Visual Studio for example i...
FlippyScripting06-17-2009 at 03:07 PM
RE: Basic Questions - LaTeX
I've tried it without the FileExists block too, but still no window. When I place the wnd = MsgPlus.CreateWnd line in the Initialize event it shows up fine :S EDIT Nevermind, I got it. Apparently an error occured a few lines before this part, so any...
FlippyScripting06-17-2009 at 02:41 PM
RE: Basic Questions - LaTeX
Thanks. At the moment, I'm just following the example in the documentation. I have been able to show the window in the Initialize event, but it won't show up in any other event... I need it to show up after the latex is done converting to a png f...
FlippyScripting06-17-2009 at 12:23 PM
RE: Interface Writer | [release] 3.0 | 22/08/2010
I may be stupid lol, but how do I even use this? I installed the script, it says it's started in the preferences/options screen, but I have no idea how to use it lol... I don't see it anywhere?
FlippyScripting06-17-2009 at 11:47 AM
RE: Basic Questions - LaTeX
What do you mean? The command doesn't need any input, I just need to run that command as it is. The file.dvi file is created just before that (with the latex command), and the dvipng commands creates a PNG image from the dvi file. Anyway, I found t...
FlippyScripting06-17-2009 at 10:59 AM
RE: Basic Questions - LaTeX
Oh darn, that will be a problem... Oh well, let's tackle it one at a time lol. I have decided not to use the command line directly, but rather just execute a batch file. My code right now is this: [code=jscript]function OnEvent_ChatWndReceiveMessage...
FlippyScripting06-17-2009 at 10:37 AM
RE: Basic Questions - LaTeX
Ahh, I was already trying regex but I forgot about the \$ instead of just $ :p Thanks! And (according to ryxdp) any emoticons in the message will be replaced by their shortcut, so even if the user is typing emoticons such as f(x), the latex will st...
FlippyScripting06-17-2009 at 10:25 AM
[Hide Excerpts] Pages: (2): « First [ 1 ] 2 » Last »