If you’d like to play with the snippets in this post, you can check out our sample bash scripts Public Group. Using Gmail and TextExpander, never run into the email problem again when testing the signup flow of your system. GenerateRandomEmail() // Call the function and output the result Var email = "pixel+" + randomNum + // Concatenate to create email Var randomNum = Math.floor(Math.random() * 10000) // Generate a random number Paste the following as the body of your Snippet.Open the TextExpander app and create a new Snippet.Here’s how to create the random email generator Snippet with JavaScript: While Bash scripting only works on macOS, JavaScript automations work on every platform TextExpander supports. TextExpander Snippets support JavaScript for Automation (JXA). pixel+(Year: 2001)(Month: 01)(Day: 01)(Hour: 01 (00-23))(Minute: 01)(Second: will generate: JavaScript Random Email Generator You can also use date based emails, this will be unique and also let you see at a glance when you created it. Below we’ll share a way to do this with JavaScript that works on Android, Chrome, iOS, and Windows. Note: Bash command Snippets only work on macOS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |