Import Startup Project Actions at runtime from a text file ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Automan
    Indigo Rose Customer
    • Oct 2009
    • 92

    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.
  • Bl4ckSh33p
    Indigo Rose Customer
    • Jun 2010
    • 248

    #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

    • Automan
      Indigo Rose Customer
      • Oct 2009
      • 92

      #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

      • MadDogDean
        Indigo Rose Customer
        • Apr 2010
        • 672

        #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:
        Get full access to this domain. Easy, seamless transactions. Zero percent financing available.


        Cheers,
        MadDogDean

        Comment

        Working...
        X