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