philo wrote:Looks like it does not like something in the xml file.
My guess would be it is not valid xml so it is erroring trying to load it
I was using the Models.xml file from the wiki example. Interesting.
Anyway, nothing like a good nights sleep to clear the cobwebs. Looking at it again today I realized I was making it more complicated than it needed to be. Your jsReadFile and split it on newlines will do the trick nicely. I just have to handle the structure manually, but it still won't be too bad. I'll be posting a demo soon.
Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.
Is it as simple as using setTimeout? Or do I need to be calling a special function or something?
Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.
Is it as simple as using setTimeout? Or do I need to be calling a special function or something?
Thanks
From what I remember for 0.1.3 I only added it to the xml.
Looking at the 0.1.4 code I don't think I have added it for javascript yet, it is probably worth adding an issue if there isn't one so I don't forget.
I am working on documenting guideme at the moment, then I will go back to adding features and testing the 0.1.4 code.
Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.
Is it as simple as using setTimeout? Or do I need to be calling a special function or something?
Thanks
From what I remember for 0.1.3 I only added it to the xml.
Looking at the 0.1.4 code I don't think I have added it for javascript yet, it is probably worth adding an issue if there isn't one so I don't forget.
I am working on documenting guideme at the moment, then I will go back to adding features and testing the 0.1.4 code.
Application preferences let you set the directory where it will write the tease.
File load will load Milovana in the browser window.
You can then do right click and copy shortcut to get the download url.
Paste it into the text field and click the button it will download the tease.
Downloaded teases should work in teaseme or guideme (I have only tested in guideme)
This is currently 64bit windows only (making it run 32bit just needs 1 file replaced so post here if you want a 32bit version)
Double clicking on the main jar file (download.jar) should run it.
Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes.
Trusfrated wrote:
Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes.
Trusfrated wrote:
Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes.
Can you or anyone else verify this update is working? I replaced the .jar file as instructed. It will load the web page appropriately, and I can paste the link. But when I hit the "Save" button it seems to hang. The status "message" does change to "start" but the only thing that happens is my processor starts working very hard.
Trusfrated wrote:
Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes.
Can you or anyone else verify this update is working? I replaced the .jar file as instructed. It will load the web page appropriately, and I can paste the link. But when I hit the "Save" button it seems to hang. The status "message" does change to "start" but the only thing that happens is my processor starts working very hard.
Hm I tested the compiled version and it worked for me.
which tease did you down load.
I am away for the weekend so will probably not be able to look at this until next week now.
2015-06-10 23:04:13,952 ERROR MainShell - shellCloseListen
java.lang.NullPointerException
at org.milo.download.MainShell$shellCloseListen.shellClosed(MainShell.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Decorations.closeWidget(Unknown Source)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.callWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.callWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.milo.download.App.main(App.java:39)
After a few minutes of no activity, I would close the program. I would also need to go into Task Manager and stop the javaw.exe process.
Enjoy your weekend and don't worry about this; it'll be here when you come back.
It is using the standard xml handling within javascript
so if the data is in an attribute rather than a child node it would be model.@name rather than model.name
Try searching for E4X and javascript (and possibly rhino) for more info on what it can do
After a few minutes of no activity, I would close the program. I would also need to go into Task Manager and stop the javaw.exe process.
Enjoy your weekend and don't worry about this; it'll be here when you come back.
Hmm it works fine for me both as a compiled and uncompiled
(I fixed the error message but that was only where it was saving the settings on exit so shouldn't impact downloading)
philo wrote:
It is using the standard xml handling within javascript
so if the data is in an attribute rather than a child node it would be model.@name rather than model.name
Try searching for E4X and javascript (and possibly rhino) for more info on what it can do
Thanks. This opens up a lot of potential.
One suggestion, can GuideMe be configured to be more verbose with the error messages? While the logs do have their purpose, when developing, it gets tedious having to open up and dig through the logs for any and all errors.
It would be a lot more convenient if we get a popup error message when one occurs instead of a black screen.