Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009
    Posts
    79

    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. #2
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    205
    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);

  3. #3
    Join Date
    Oct 2009
    Posts
    79
    Thankyou ever so graciously Bl4ckSh33p !

    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.

  4. #4
    Join Date
    Apr 2010
    Posts
    673
    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

Posting Permissions

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