Screenshot speichern - geht nicht?

  • #1, by darkconsulFriday, 22. September 2017, 20:10 3 years ago
    Nachdem ich F12 mit dem screenshot-skript belegte:
    local time = os.date("%Y-%m-%d_%Hh-%Mm-%Ss")
    1
    createScreenshot("screenshots/filename_" .. time .. ".png")
    1

    bekomme ich leider nur diese Fehlermeldung im log:

    23:35:46.955:Could not create png-file screenshots\filename_2017-09-21_23h-35m-46s.png
    23:35:46.955:Saving screenshot failed.


    Newbie

    40 Posts


  • #2, by afrlmeFriday, 22. September 2017, 20:50 3 years ago
    The location / folder you are saving the screenshot to has to exist. Visionaire Studio doesn't automatically create folders.

    Imperator

    6846 Posts

  • #3, by darkconsulFriday, 22. September 2017, 21:07 3 years ago
    Ok thanx it works.

    Newbie

    40 Posts

Write post