Skip to content

Instantly share code, notes, and snippets.

@Slowhand0309
Last active September 28, 2020 04:26
Show Gist options
  • Save Slowhand0309/11ccbe764dc10a8c00f02d511d41305f to your computer and use it in GitHub Desktop.
Save Slowhand0309/11ccbe764dc10a8c00f02d511d41305f to your computer and use it in GitHub Desktop.
[Alfred workflow - numbering test account] show numbering test account via input number #Alfred

Alfred

  1. Create new「Script Filter」
  2. Edit Script Filter
  3. Connect 「Copy to Clipboard」

image

numbering = ARGV[0]
puts <<EOS
<items>
<item uid='1' arg="user+#{numbering}@gmail.com">
<title>"user+#{numbering}@gmail.com"</title> # custom mail address
</item>
<item uid='2' arg="password#{numbering}">
<title>"password#{numbering}"</title> # custom password
</item>
<item uid='3' arg="user+test#{numbering}@gmail.com">
<title>"user+test#{numbering}@gmail.com"</title> # custom mail address
</item>
</items>
EOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment