· 6 years ago · Jan 05, 2020, 12:26 AM
1
2Home Quick links Forums Members Discord IRC LoginRegister
3Login Register
4
5Search…
6SearchAdvanced search
7Board indexAutoHotkeyScripts and Functions
8Search
9[AHK_V2] Unconventional use of Pastebin.com API. Sync your files!
10Post Reply
11
12Search this topic…
13SearchAdvanced search
141 post • Page 1 of 1
15micasa
16Posts: 24Joined: 29 Dec 2018
17@
1804 Apr 2019, 22:18
19Download the program here:
20https://pastebin.com/t56KZsku
21
22It's over 1,800 lines long, so I don't think I should post it on the forum. Usage instructions are included at the top of the program.
23The program makes use of @jNizM's BcryptMd5 and BcryptMD5_file functions. Thank you @jNizM!
24
25Here are the features and hotkeys:
26
27;FEATURES:
28;
29;0. Correctly handles UTF-8 http request responses from pastebin.com
30;1. Syncs specified files and folder to reflect updated files, deleted files,
31;and changed filenames on pastebin.com (creates timestamped backup copies locally
32;of all changed, deleted, and renamed files)(currenty supports files that match
33;extensions .txt, .md, .ahk, .xml, .py, .pl, .php, .ps1, .js, .csv, and
34;.tsv -- More extensions can be added by simply adjusting the regular expression
35;on lines 597 and 624)
36;2. Backup pastes based on regular expression (creates time_stamped local folder
37;of downloaded pastes)
38;3. Delete pastes based on regular expression (creates timestamped backup copies
39;stored locally)
40;4. List pastes based on regular expression
41;5. Log into Pastebin.com (automates your browser through programmatic key
42;strokes) (currently works when Opera is default browser)
43;6. Add files/folders to your sync path via hotkey (highlight files/folders with
44;mouse and press hotkey)
45;7. Remove files/folders to your sync path via hotkey (highlight files/folders
46;with mouse and press hotkey)
47;8. Display help message
48;
49;HOTKEYS (numbers correspond to the above 1 through 8):
50;
51;1. Create or sync new paste from files/folders = ^!1 (Ctrl+Alt+1)
52;2. Backup pastes = ^!2 (Ctrl+Alt+2)
53;3. Delete pastes = ^!3 (Ctrl+Alt+3)
54;4. List pastes = ^!4 (Ctrl+Alt+4)
55;5. Log into pastebin = ^!5 (Ctrl+Alt+5)
56;6. Add files/folders to sync file = ^!6 (Ctrl+Alt+6)
57;7. Remove files/folders from sync file = ^!7 (Ctrl+Alt+7)
58;8. Help message = ^!h (Ctrl+Alt+h)
59Top
60Post Reply
611 post • Page 1 of 1
62Jump to
63Who is online
64Users browsing this forum: KentC, Stavencross, xoabc and 24 guests
65
66HomeBoard index The teamContact us
67Powered by phpBB® Forum Software © phpBB Limited
68Style by Arty