Mayfly's Forum Posts

  • R0J0hound

    As usual a great help Had a very quick load and play. That's just what I was pretty much after so I'll have a mess about in terms of getting that working how I am after. Should be able to take it from there / integrate into my app. BIG thanks!

  • Thanks Looks like some lessons in javascript / C2 pluggin making for me. Shame my programming is as primitive as Spectrum ZX basic!

    10 CLS

    20 Print "Help!"

    30 Goto 20

  • My trouble is getting the image into an excel output rather than into my app. I think i need to work out of its possible to export data into an .cos file rather than .xml template which is my apps current method.

  • Hi,

    So I am still stumped on this one and thought I'd chuck another shout out to see if anyone can help. Sorting images into my excel output is the last part of finishing my 'quote' app and I am hoping it is possible in some manor!

    Thanks,

  • R0J0hound

    Thanks for the reply. I think the first link is broken but I will look into the second option.

  • I've still been unable to do this so bumping incase anyone can help.

    Ideally I'd like to save as an .xls file but the methods I know in c2 only let me save to .xlm

    Any help will be greatly appreciated

  • emoaeden

    Thanks, I'll have a look and a play around. If you know any examples that would be helpful. Excel is the output my app makes at the moment so I am hoping for a way that when I send data from my app to the .xml file I can also have a picture in the xml file, suitable to be opened in excel afterwards.

    Thanks,

  • Hi emoaeden,

    Thanks for helping. Would this mean keeping my xml file as it is and then in C2 placing the image into the file?

    At the moment my app has rows of list boxes / text files where you select items, it loads up the prices and it gives a summary on sheet of the totals. When you 'build' it calls a pre setup .xml file from project files and uses the filecontents replace action to export these via a global variable. Would it be at this stage? Or would it still loose the image?

    With my tests / looking online so far I have read that xml cannot save with images hence they disappear when you save. Some sites talk about converting it into base64 code but I was unsure how to implement this.

    Cheers,

  • HI,

    I've been making a pricing tool app for a little while now and pretty happy with how it is working. I am currently using AJAX / a .xml file to open, write values from global variables and saving the app data into a summary table. Trouble is that this means I cannot setup any picture files as these are lost when saving as xml. Does anyone know a workaround?

  • Hi Ashley,

    Thanks for the reply. I will have a look at how I can use this. I managed the save json ok with some tutorials / manual guide but struggling on loading it back in. At least I know its very achievable with some researching

    I did get it working with NWjs but that limits me to NWjs exported project only. (I am hoping to have as an app / website)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley

    Do you know if there is a way to make save states local on the computer so that it is a file that can be transferred to other users / also is safe from cookies being deleted?

  • Hi ,

    I have a few different states I'd like to have loadable and the site would be visited by different computers. My app has around 90 rows of lists / text files so rather than do a loop trough and read / write to a variable in local storage back and forth the save state was a very nice easy fix to start with.

    I need to allow the app to import from excel so can use that option (It currently exports to excel) but this was a nice quick implementation to save certain quotes / stages of quotes with no code.

    Thanks,

  • I've tried a search on my pc for the save state name used in the event editor but nothing was found.

  • Hi ,

    Is there a way to get the this as a specific file? I have an app that uses save state to keep setups the user makes. (It lists them for loading at a later date). I'd like to have some pre setup save states if it is possible.

    Cheers,

  • I'm using save state in my app and have been trying to find where they are created on the computer itself?