Search the Community
Showing results for tags 'autosave'.
Found 3 results
Hi folks, this is a simple little program I whipped up, due to losing two postings in 24 hours some days ago. Normally, like many of you, when I know I'm gonna write more than a few lines, for safety, I do my writing in Notepad, and then paste into a post. Same scenario for Facebook, etc. Sometimes, I forget or I end up writing far more than I initially foresaw ... or like those two incidents, I was pretty tired as well. I also had an issue where my Netbook was giving my Mouse lag from time to time, so that when I thought I was only clicking on a Firefox tab, it moved at the last millisecond and I clicked on a button, that took me to another site. Once upon a time, when not tired, and with a big red STOP button in the browser, I could react quick enough not to lose everything ... unfortunately that is no longer the case. Anyway, enough dribble. Here is a little simple basic Text Editor program/window, that has several advantages over Notepad for Forum posting, etc. No doubt it could be improved by clever enterprising minds, but it has enough nifty features to suit me, and possibly be useful to others. Source is included in zip, but be aware, it was crafted with AutoIt v220.127.116.11 so will need updating if you want to modify and not use my exe. Also be aware, that UPX was used to reduce the size of the EXE for here. The program has Autosave and remembers it's size and position, plus a floating button for quick access. Text is exported to clipboard or an active field with a few clicks. See Info menu. WARNING! WebPad uses the clipboard, to achieve elements like Case Change, Quotes, Code, Link & Tab insertion or surround. This is to speed up the process and look less clunky than using SEND. This could potentially interfere with any fancy multi-entry Clipboard program you may actively use. This issue could be coded around. NOTE - v1.3 has two more buttons (TAB and COPY), one each side of the ON TOP one. Floating restore button. Web Pad v1.3.zip (76 downloads previously) NEWER VERSION (v2.5) also available - See below. See Post #14 for update detail. NOTE - If you want to keep things simple, then probably stick to the version of the program above, though there are some important bugfixes. Later versions increase in complexity, and are more targeted to my requirements. WARNING - Created and updated with AutoIt v18.104.22.168, so the script may have issues running or compiling with later versions of AutoIt. Web Pad v2.5 downloads (open the re-direction html page with your browser, don't save) Web Pad v2.5.zip Web Pad.au3 Details here. Later Screenshots (v2.0) (v2.5) Latest
This is a simple Photoshop Autosaver. It's very far from complete autosave solution, but covers the basics. It's made with English version of Photoshop CS5 in mind. And has the followind limitations: Autosaves only when a Photoshop window or Photoshop undocked document is activeAutosaves only the active documentFixed autosave interval (10 minutes)Doesn't keep backupsThe tray tooltip shows the remaining time in secondsHere is the source Opt('TrayMenuMode', 1) Global Const $photoshop = '[CLASS:Photoshop]' Global Const $document = '[CLASS:OWL.DocumentWindow]' Global Const $interval = (1000 * (60 * 10)) Global $Exit = TrayCreateItem('Exit') Global $start = 0 While True Global $Msg = TrayGetMsg() Switch $Msg Case $Exit ExitLoop EndSwitch Global $delta = TimerDiff($start) Global $remaining = Round(($interval - $delta) / 1000) TraySetToolTip('Next autosave in ' & $remaining & ' seconds') If ($delta > $interval) Then Autosave() $start = TimerInit() EndIf WEnd Func Autosave() If WinActive($photoshop) Or WinActive($document) Then Send('^s') EndIf EndFunc
Well, I am pretty sure this is possible. I have seen many solutions for this, but I couldn't understand how to configurate it. I have a Minecraft CraftBukkit server, but I want to automatize it a bit. Something like this: 10:00: Wake up pc from hybernating, and start 2 servers (they have both this CMD "gui"). After starting: Type 'save-all' (without the quotes) in both CMD's every 15 minutes until 13:00 13:00: Type 'broadcast Restarting server!' in both CMD's 13:02: Type 'stop' in both CMD's 13:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: Start both servers. After starting: Type 'save-all' in both CMD's every 15 minutes until 16:00 16:00: Type 'broadcast Restarting server!' in both CMD's 16:02: Type 'stop' in both CMD's 13:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: Start both servers. After starting: Type 'save-all' in both CMD's every 15 minutes until 20:00 20:00 Type 'broadcast Restarting server!' in both CMD's 20:02 Type 'stop' in both CMD's 20:04: Press the ENTER button in both CMD's, wait 5 seconds and restart the pc. After restart: start both servers. After starting: Type 'save-all' every 15 minutes in both CMD's until 01:00 01:00 Type 'broadcast STOPPING SERVER!' in both CMD's 01:02 Type 'stop' in both CMD's 01:04 Press the ENTER button in both CMD's, wait 5 seconds and set the pc to hybernate, and repeat the sequence (the pc wakes up at 10:00 again). What I would like, is a clear optin/config in the beginning of the file or something where I can set when the server should start and stop (e.g $start=10:00; $stop=01:00) and when it should restart (e.g $restart=13:00;16:00;20:00) if that is possible. If anyone can make a script like that for me, then I would be very happy. I have never used AutoIt before, I was just recommended by a friend about it. -CasterAnd