Page 6 of 13
Re: Offline Editor
Posted: Tue Nov 26, 2013 10:17 pm
by philo
Sorry my bad, new version up, which hopefully will behave a bit better
https://code.google.com/p/tease-me-edit ... loads/list
I am not sure how it was working before as it was holding the file open on save.
The only thing I can think of is it was working when backup was turned on, as it creates a new copy of the file every time.
I have also done changes to cope with consecutive spaces and some improvements to creating a new tease.
(it now will create a media directory when you create the tease.)
Re: Offline Editor
Posted: Fri Nov 29, 2013 3:39 pm
by bhorex
Hi philo,
it is indeed getting better. But i still have troubles... I can enter text and a picture and the result is not lost in the pageview. But i cannot see the structure and all the other pages in the box on the very right of the pageview section. Also if i save everything and try to open in teasme i get the message:
Error: Object reference not set to an instance of an object
Greetings
BHorex
Re: Offline Editor
Posted: Fri Nov 29, 2013 6:43 pm
by philo
bhorex wrote:Hi philo,
it is indeed getting better. But i still have troubles... I can enter text and a picture and the result is not lost in the pageview. But i cannot see the structure and all the other pages in the box on the very right of the pageview section. Also if i save everything and try to open in teasme i get the message:
Error: Object reference not set to an instance of an object
Greetings
BHorex
It is currently all working for me.
I suspect is something specific you are doing differently to me.
can you put the tease you are editing up somewhere I can download it and I will see if it is something specifc to the tease.
Re: Offline Editor
Posted: Sat Nov 30, 2013 9:06 am
by bhorex
what i try to do is create a completely new tease from scratch. that does not work for me. i will now try to take an existing one and change it. that seems to work better
Re: Offline Editor
Posted: Sat Nov 30, 2013 4:24 pm
by philo
bhorex wrote:what i try to do is create a completely new tease from scratch. that does not work for me. i will now try to take an existing one and change it. that seems to work better
Can you check you are definitely using version 1.9 (it displays the number in the title at the top of the window should be MWT Edit 1.9)
I can't reproduce what you are getting, 1.9 contained changes to get new teases working properly
Re: Offline Editor
Posted: Sat Nov 30, 2013 6:10 pm
by bhorex
yes it is 1.9
anyway with a new tease i have many bugs : sometimes the textwindow appears black sometimes white, entries in the general section get lost, pages are never visible in the left field of pageview etc.
maybe it is smth. wrong with my xp sp3 or the net framework , how knows
if there are no others users with similar problems just forget about it, i will try to go creating my own tease using another one that i edit
thanx for your help
Re: Offline Editor
Posted: Thu Dec 05, 2013 11:21 pm
by Trusfrated
Philo,
Just wanted to drop in and give you a big "THANKS!" for the 1.9 update of the Offline Editor. I used it for a few hours last night and it's fantastic! It seemed to address the majority of my concerns and makes the program a lot easier to use. Thanks too, to Nezhul, for the batch page creation idea. It made perfect sense and Philo, your implementation was spot on.
A couple thoughts for the future: it would be nice to be able to compose my text while viewing that page's picture at the same time. I'm not sure of the best way to implement this, but I think it would either be to add the ability to edit on the Page View screen or else add the currently selected picture to the WYSIWYG screen.
My other thought has to do with file handling. Currently I have several folders with picture galleries on my hard drive. I end up choosing certain pictures from those galleries and manually copying them to the media folder for the tease I'm working on. Usually I end up copying more than I need and then deleting the extras later. I really like the feature that creates an Upload directory with only the files needed (after the fact), however I think it could be refined further. When selecting a picture, could we browse to our original gallery folder, select the picture, and have it automatically copy that picture to our tease's Media folder? It might be nice to have it notice changes to the content of the folder and automatically refresh the thumbnail view, also. Just a thought. No need to add these features if they don't make sense to you or the rest of the users.
Thanks again for this great gift to the tease writing community. Can't wait to see what creativity comes from Guideme as well!

Re: Offline Editor
Posted: Sat Dec 14, 2013 12:41 pm
by pc91
Thanks for the great work. I used the editor successfully, generated the Nyx script and then pasted it to the Nyx Online Editor.
I am having one issue:
In reviewing the pages in Nyx under the "Visual" Tab, any pages with a button are not editable.
These pages function fine, when you preview (and I assume they will when I publish), but there is not way to edit them under the Visual Tab. Pages with just a timer work fine.
It appears that the Offline Editor creates this code for buttons: vert(buttons(pagexxx#,"BUTTON TEXT")));
Nyx does not seem to use the vert( if you create the page in Nyx.
The only reason this is an issue, is that after importing to Nyx, I was checking all pages and making sure text, etc. appeared correctly. It is not possible to reformat or edit text under the Visual Tab for any page that has a button created with the Offline Editor.
Thanks again.
Re: Offline Editor
Posted: Sat Dec 14, 2013 5:54 pm
by philo
pc91 wrote:Thanks for the great work. I used the editor successfully, generated the Nyx script and then pasted it to the Nyx Online Editor.
I am having one issue:
In reviewing the pages in Nyx under the "Visual" Tab, any pages with a button are not editable.
These pages function fine, when you preview (and I assume they will when I publish), but there is not way to edit them under the Visual Tab. Pages with just a timer work fine.
It appears that the Offline Editor creates this code for buttons: vert(buttons(pagexxx#,"BUTTON TEXT")));
Nyx does not seem to use the vert( if you create the page in Nyx.
The only reason this is an issue, is that after importing to Nyx, I was checking all pages and making sure text, etc. appeared correctly. It is not possible to reformat or edit text under the Visual Tab for any page that has a button created with the Offline Editor.
Thanks again.
Can you post or pm me a complete page with the differences.
I will update the nyx generation.
I have not bothered to use the nyx visual editor as switching between the two seemed to cause problems.
That was partly why I did the offline editor.
I have not written much in nyx so the generation was to get the two teases I wrote working.
Any hints / suggestions on better ways to do the nyx code are welcome.
Re: Offline Editor
Posted: Sat Dec 14, 2013 10:10 pm
by philo
New version of editor (1.10) is up
https://code.google.com/p/tease-me-edit ... loads/list
Two fixes to the nyx generation
Removes vert from single button pages so it should be editable within Nyx visual editor
Stop it stripping end paragraph tags (causes problems for the teaseme download and shouldn't do it anyway)
Re: Offline Editor
Posted: Sun Dec 15, 2013 2:23 pm
by pc91
Thanks for the update,
However, setup does not run under Win 7. Unknown error comes up.
Re: Offline Editor
Posted: Mon Dec 16, 2013 6:30 pm
by philo
pc91 wrote:Thanks for the update,
However, setup does not run under Win 7. Unknown error comes up.
Sorry looks like it got corrupted somewhere.
Have uploaded a new copy and tested the install, so should work now.
Re: Offline Editor
Posted: Fri Jan 31, 2014 8:16 am
by Trusfrated
Philo,
I've been working on some teases in the Offline Editor for a long time now (when I have time), and I thought it was time to learn how to publish one as a flash tease. However, I'm having some problems with the Nyx code that the Editor generated for me.
The first, most obvious issue has to do with media file renaming. I'm brand new to Nyx, but here is what I'm seeing: Nyx seems to rename certain pictures, etc when they are uploaded. If the original file has a space or an underscore (or possibly other special characters) it converts them to dashes. MWTEdit seems aware of this, but it is having difficulty with some of my strangely named files.
For example:
original file:
MWTEdit Nyx generated code:
What Nyx really wants:
Note that in my case it seems to completely strip the character if it is at the beginning of the name, and consecutive spaces or characters are reduced to one.
Also, when it comes to files starting with (or perhaps containing only) numbers, Nyx puts a prefix of "no-" in front of the number. For example:
original file: "1.jpg" or "1234567.jpg"
MWTEdit passes these filenames on with no modification.
However, if you manually create a page with one of those pictures on it using the Visual tab, you'll find that the files are now named "no-1.jpg" and "no-1234567.jpg".
Can anyone confirm this behavior? Am I making any sense?
There seems to be other problems with my MWTEdit-generated code as well, but the file name problem is the easiest to describe. The other problems seem to be related to quotations or tags, since my Continue buttons all have a quotation mark after the text, and after a few pages in, there is code showing where text should be. It completely breaks at that point. Perhaps fixing the picture name issue will have a cascade effect and fix the rest?

Has no one else experienced this behavior yet?
Thanks for any assistance!
Re: Offline Editor
Posted: Fri Jan 31, 2014 6:55 pm
by philo
The Nyx generation is probably the least tested part of the editor, as I found things when creating the two teases I have published so far I fixed them.
I also wrote the editor so I didn't have to bother with nyx as I don't like it very much

.
I am happy to improve the nyx generation bit as and when people let me know what changes are needed.
I will have a look at the things you have raised, it should be fairly easy to fix.
Re: Offline Editor
Posted: Fri Jan 31, 2014 8:47 pm
by Trusfrated
Thank you, Philo. No rush.
I believe your intention was to just copy and paste the generated code and for it to work without modification. I'm pretty sure that I could manually fix what's not working, but what fun would that be?
