Results 1 to 3 of 3

Thread: LoadDialog crash

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    LoadDialog crash

    I try to run file:

    Code:
    file tmpFile;
    flag success = tmpFile.LoadDialog();
    if(success){
    	MessageBox("Loaded");
    }else{
    	MessageBox("Not loaded");
    }
    It opens a dialog,
    I select a script file (mine or ArtRage generated),
    click open
    and ArtRage crashes.

    ArtRage 4.5.9, Mac - OS X El Capitan 10.11.4

    Any ideas?

  2. #2
    Join Date
    Mar 2006
    Location
    New Zealand
    Posts
    3,215
    Thanks for letting us know - It looks like it was a bug in our file dialog on OS X and we've fixed it for the upcoming 4.5.10 update.

  3. #3
    Join Date
    Mar 2012
    Posts
    3

    Smile folders and paths

    Great (-:
    Thanks for swift reply.

    1) Is it possible to create folder? (Since of example "Open" function can create a new file if one doesn't exists.)

    __________________________________

    2) I've also tried function 'ScriptFile' which works fine with full path but not with relative path.

    Script guide (Table 11):
    ScriptFile("flower.arscript");
    SetTransOffset(100, 100);
    ScriptFile("AnotherFlower.arscript");


    __________________________________
    And then there are two functions in guide (probably misspellings):
    (Tab 5 - WriteString, WriteAsciiStringflag): f = filDoc.Write(“Ha!”); // “Ha!/r/n”
    (Tab 5 - ReadString): sName.TrimRight(); // get rid of cr/lf

Posting Permissions

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