4 ms·
Can you test the following keystrokes manually and let me know the outcome with your browser: 1) Open any page in chrome 2) Press Ctrl+S 3) Press "Right" arr
by anuragbiyani 12y ago
Can you test the following keystrokes manually and let me know the outcome with your browser:
1) Open any page in chrome
2) Press Ctrl+S
3) Press "Right" arrow key exactly once
4) Type some string, say "-suffix"
5) Press "Home" key exactly once
6) Type in some directory name with "/" at the end, say: "/tmp/"
7) Press Enter.
Sorry if this sounds pedantic, but this is the actual sequence of key stroke the script will mimic in this case, so just want to make sure that work in the first place. Alternatively can you try https://github.com/abiyani/automate-save-page-as https://github.com/abiyani/automate-save-page-as script in isolation (with --suffix command line flag).
PS: Under usual circumstances, the name field will should be replaced by something like this by the script (before pressing enter in the "Save as" dialog box): "/fully/expanded/dest/directory/path/<original_page_title>-000X.html"
- fiatjaf 12y agoIt works almost always :P (I mean the sequence of commands. It's kinda nice, now that you explained it. I'll try running your script from another computer.)