V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qian
V2EX  ›  分享发现

[Keyboard Maestro] Auto Create a New Password and Auto Fill or Send to iOS

  •  
  •   qian · 2014-05-04 13:00:40 +08:00 · 2792 次点击
    这是一个创建于 3861 天前的主题,其中的信息可能已经有所发展或是发生改变。
    To Auto Fill


    Send to iOS


    To use the first macro, you need to open two tabs in Chrome, the first tab would be registration page and another be login page. Place cursor at the input area for username or Email, and then select text in the login page. The macro copies the selected text and pastes into 1Password as the title of the new login password. Then username will be filled in with predefined USERNAME. You may have multiple usernames for different purposes; for me, I have one for paid account, another for testing purposes. I can set ⌃0 for another identity. Then, the macro will perform mouse clicking to create a new password. 1Password can be slow, so here I tested many times, the minimum pause for me is one second. (Normally 0.3 second for menu action; for some mouse action, 0.5 is required; one second is needed for webpage loading; anyway, it depends on the network speed and your Mac's speed.) So here the macro fills in the login page's URL. On the next step, the macro ⌘S the new password, ⌘W the login page, ⌘V USERNAME (you can append, for example, @gmail.com for another macro with an additional modifier key; otherwise, using TextExpander, in my case, to expand @g to @gmail.com is also handy), and then ⇥, ⌘V the newly created password.

    The second macro only requires a selected text for input, I prefer 'iOS-' prefix for app password's name, and will not save URL (well, if you like, it will be quite easy: paste the app name, and use shortcut to launch PopClip service and choose Lucky Link will replace the app name as its official website's URL; sometimes it might not work). The last step of the macro will press ⇧⌘X to activate Command-C and use it to send to the first device. You can tweak it to send to the second device or the third device.

    For individual cases, you can reduce the time period if your Mac is fast, or increase in the other case.

    Download link: https://github.com/lsfalimis/Qian-KM-Macros

    Enjoy!
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3343 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:30 · PVG 19:30 · LAX 03:30 · JFK 06:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.