Andromo - Start Making Apps - Free Signup

Announcement

Collapse
No announcement yet.

Import Startup Project Actions at runtime from a text file ?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import Startup Project Actions at runtime from a text file ?

    Hi All,

    I want to be able to import my projects actions from an external
    file (text will do). I have figurd out how to import from a txt file in
    build mode, but I cant seem to find the settings to make the exe
    perform this import when its first loads everytime.

    Any pointers much apppreciated.

  • #2
    Hi. Just open the helpfile and search for "dofile".

    Code:
    dofile
    Loads and executes a script file. The contents of the file will be executed as though it was typed directly into the script. The syntax is:
    
    dofile(file_path);
    Bl4ckSh33p-Soft - Custom Software and Indie Games

    Comment


    • #3
      Thankyou ever so graciously Bl4ckSh33p ! :yes

      I was sifting though the help files, and didnt find this, now
      that I know its there I feel somewhat silly. Thanks for replying
      this does exactly what I was trying to do.

      Comment


      • #4
        Hey Automan,

        If you want to want to repeat a piece of code on every Page/Dialog you can also look at CS's AllOn plugin here:
        http://www.amspublic.com/action%20pl...l?plugin=AllOn

        Cheers,
        MadDogDean

        Comment

        Working...
        X