Results 1 to 7 of 7

Thread: Autosave script for Axure on Mac (or any software)

  1. #1
    Axure Marketing
    Join Date
    Jul 2011
    Location
    San Diego, CA
    Posts
    1,570
    Thanks
    242
    Thanked 448 Times in 257 Posts


    My Twitter My LinkedIn

    Autosave script for Axure on Mac (or any software)

    I've created a fairly basic script in Applescript that will save Axure every 2 minutes if it is the active window in front. The script runs on your dock like its own app while it's active.

    Download the script at the bottom of this post.

    Running the script

    Unzip, open the file and it will run the script automatically in your dock.

    You will see the icon on your dock, and while it's there it will always be running. Or! You can set the app/script to launch when your computer boots up (below).




    Here are the instructions for launching the script when booting up

    Download the attached file and save it somewhere to your Mac.

    In spotlight (microscope search in the top right), search for "Accounts".

    Add the application to the list of apps which runs on startup.




    Editing the autosave frequency

    Open the Applescript Editor, and then open the AutoSaveAxure to view it in editor mode. The number you will edit is the "return 120" where 120 is the amount of seconds. So you can make this 10 seconds or 10 minutes (as long as it's in seconds).



    More info

    This type of script can be used to auto-regen, or do any number of things - just sayin! I believe there is something for PC called AutoScript, but I work primarily on the Mac so I haven't explored it. I believe this should work for applications besides Axure as well. I did alot of searching and research and this solution so far, is the best with regards to applescripts for auto-save (so I hope this helps someone).

    Any comments or feedback is welcome. I have been kicking around this idea for a while and just recently got this working so let me know what you think.
    Attached Files Attached Files
    Last edited by Paul; 12-21-2013 at 02:39 AM. Reason: added v7 zip

  2. The Following User Says Thank You to Paul For This Useful Post:

    zinkzone (05-18-2012)

  3. #2
    Apprentice Level
    Join Date
    Aug 2010
    Posts
    63
    Thanks
    36
    Thanked 65 Times in 17 Posts


    This is great!!! My Axure has been crashing out. this will surely help!! Thanks man

  4. #3
    Axure Marketing
    Join Date
    Jul 2011
    Location
    San Diego, CA
    Posts
    1,570
    Thanks
    242
    Thanked 448 Times in 257 Posts


    My Twitter My LinkedIn
    Great! Let me know if you have any feedback or how it works out for you. One thing I've found with it that's slightly annoying is that if you're entering text into a text panel or something similar, it will lose focus. Besides that I've been really enjoying it and it's non-obtrusive since it only autosaves if Axure is the front-most panel.

  5. #4
    Axure Marketing
    Join Date
    Jul 2011
    Location
    San Diego, CA
    Posts
    1,570
    Thanks
    242
    Thanked 448 Times in 257 Posts


    My Twitter My LinkedIn

    Autosave with Prompt

    Per request I've created this script which prompts "Do you want to Save?" with Yes/No option. I increased the time on this to every 5 minutes (300 seconds).
    Attached Files Attached Files

  6. The Following User Says Thank You to Paul For This Useful Post:

    zinkzone (05-24-2012)

  7. #5
    Newbie Level
    Join Date
    Apr 2013
    Location
    United States
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts


    My Twitter My LinkedIn
    I keep receiving a nasty bug when I try to run the two scripts. I get an OSStatus error -67049. What does this mean and how can I correct it? I need this script to work because I CONSTANTLY get errors with Axure freezing or just quitting and losing a TON of work....

  8. #6
    Axure Developer
    Join Date
    Feb 2012
    Location
    San Diego, CA
    Posts
    1,791
    Thanks
    91
    Thanked 429 Times in 354 Posts


    Hi Chanelleh,

    Axure definitely shouldn't be freezing on you. What version are you running, 'Help -> About Axure RP...'? Could you send in a feedback and reference this thread, 'Help -> Submit Feedback...'?

    Axure has a backup feature as well. 'File -> Backup Settings...' to adjust. You can set it down to 5 minutes. And 'File -> Recover File from Backup' to recover an saved out backup.

  9. #7
    Axure Marketing
    Join Date
    Jul 2011
    Location
    San Diego, CA
    Posts
    1,570
    Thanks
    242
    Thanked 448 Times in 257 Posts


    My Twitter My LinkedIn
    Sounds like there is a security setting you'll have to lift.

    From https://github.com/hbons/SparkleShare/issues/1017
    "you need to go to the security preferences and change the setting to allow running of non-AppStore apps. start it and after that you can revert the setting."

Similar Threads

  1. Software application prototype - how much exactly can you do with Axure?
    By Andreas Galster in forum 6.x Newbie Questions
    Replies: 2
    Last Post: 04-19-2013, 11:21 PM
  2. Axure Integration with Other Software
    By light_forger in forum 6.x General Discussion
    Replies: 0
    Last Post: 10-16-2012, 09:28 AM

Search Engine Friendly URLs by vBSEO 3.6.0 PL2