Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 14 of 14

Thread: Example request

  1. #1
    Join Date
    Feb 2006
    Posts
    89

    Example request

    Is there someone who would be willing, either for a fee or a return favor, to create me a quick example of something?

    I need an example application with two pages.
    On both pages I need a text box where a user can type in text and save it.
    I need the text saved in the simplest way possible, preferably to a text file.

    I need them to be able to come back at any point and change their text.

    It can be ugly, simple and crude. I just need to see how the text box, the save button and the edit possibility is coded. I ask for two pages so I can clearly see what has to be coded per page and what for the whole project.

    If this is a fee-paying situation, I can pay by paypal in advance of work done.

    Hopefully, this would also be a useful example to post for others to download.

    Many thanks.

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Off the top of my head, the Calendar Plug-in example writes to a text file. Here is a post by user Worm that demonstrates it nicely. It doesn't have two(2) pages, but you should get the idea (saving to a text file) -

    http://indigorose.com/forums/showpos...05&postcount=2

    Hope it helps. If not, we'll try something else.

  3. #3
    Join Date
    Feb 2006
    Posts
    89

    Can not build

    Having opened the project and seen that it is basically a simple type, save and edit process, it looks as though this could be enough for me to get going. The only trouble is that I do not have the calendar plug in and so the project will not build.

  4. #4
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    You're in the AMS6 forum, I assumed......

    What version do you have?

  5. #5
    Join Date
    Feb 2006
    Posts
    89

    Version 6

    I am running Version 6.

  6. #6
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Well then, you should have the Calendar Plugin. I "think" it comes standard in version 6. Someone correct me if I'm wrong

  7. #7
    Join Date
    Feb 2006
    Posts
    89

    mmmmm..

    I just downloaded a brand new fresh trial version of 6 and put it on my lap top to make sure. No Calendar Plug in.

    Can not even seem to find the calendar plug in to buy, which I would happily to do.

  8. #8
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Calendar should be in..
    Anyway, why not just delete the calendar object in the example project and build it from there..
    Or just copy the actins from the projects into yours?

    Yossi

  9. #9
    Join Date
    Feb 2006
    Posts
    89

    Almost there

    I have deleted the Calendar Plugin and, on receiving 'On Click' errors pertaining to the Calendar, have deleted those parts of the script that seemed to be relevant only to the calendar.

    This leaves me with a 'Clear' and 'Add/Update' Button and a text box, which is all I need.

    I am however frustrated by my own lack of knowledge because I have obviously deleted too much script because although the 'Add/Update' button, on click, appears to save the text I type in the text box, when I quit and open the application it has disappeared.

    Is there anyone with the time and will to correctly delete the uneccesary script from the calendar example and post it so it just contains a working text box with 'Clear' and 'Add/Update' on click events, so that the user entered text is there when you reopen the app after quiting?

    Again, as I said before, I am open to any kind of remuneration or return.

    Many thanks.

  10. #10
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    In the simplest method:

    Code:
    sText = Input.GetText("Input1")
    TextFile.WriteFromString("Autoplay\\Docs\\InputText.txt", sText, true)
    Change the true to false if you want to over-write the existing file.

  11. #11
    Join Date
    Dec 2003
    Posts
    891
    This may do what you want.
    Check Page On Show event and button actions.
    Attached Files

  12. #12
    Join Date
    Feb 2006
    Posts
    89

    Think I need an extra bit of script

    Thanks for this.

    I have this for the 'Clear' button:
    _____
    Set the Text
    Input.SetText("Input1","");
    ______

    I have this for the 'Add/Update' button:

    _________
    sText = Input.GetText("Input1")
    TextFile.WriteFromString("Autoplay\\Docs\\InputTex t.txt", sText, true)
    _________

    But after quiting the application and opening it again, it does not show the text in the text box.

    Is there some code I need for the text box for the onshow event?

    Thanks

  13. #13
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Yes
    Code:
    sText = TextFile.ReadToString("Autoplay\\Docs\\InputText.txt")
    if sText then
    Input.SetText("Input1", sText)
    end

  14. #14
    Join Date
    Feb 2006
    Posts
    89

    Thanks !!!!!!!!

    This is everything I need.

    It works perfectly on multiple pages.

    Many thanks indeed for the kind and timely responses !!!!!!!!!!

Similar Threads

  1. Sending a meeting request through AMS
    By markczajka in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 02-02-2005, 03:17 PM
  2. Feature Request - AMS Object Import
    By Evoluent in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 11-13-2000, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts