Sicorace Posted July 19, 2022 Posted July 19, 2022 Good morning! I have a list of coupon codes. I'd like a workflow that pops the first one and outputs it (of course deleting it from the list) something like: I'm writing an email and I type ".coupon" and I have in my email the actual coupon pasted, and that one is no longer in my list of available coupon which is the shortest way to accomplish this? thanks!
giovanni Posted July 20, 2022 Posted July 20, 2022 how is your list stored? a text file with one coupon code per line?
Sicorace Posted July 20, 2022 Author Posted July 20, 2022 yes, exactly! in a file stored on a dropbox folder
giovanni Posted July 20, 2022 Posted July 20, 2022 here you go @Sicorace put the complete path to your coupon file in the myCouponFile Environment Variable, then use either by entering the .coupon keyword in Alfred, or automatically by typing .coupon in your document. I hope this helps! vitor 1
vitor Posted July 23, 2022 Posted July 23, 2022 On 7/20/2022 at 11:25 AM, giovanni said: put the complete path to your coupon file in the myCouponFile Environment Variable That’s the perfect use case for a File Picker User Configuration. Without changing anything in the Workflow itself, you can delete the Workflow Environment Variable and make this config: Which yields: Allowing to pick the coupon file though a macOS file dialog. Sicorace and giovanni 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now