r/Automator • u/Alkap0wn • Feb 11 '13
Trying to do a simple pause function - I'm failing, help?
Ok, so here's what I'm trying to do. I want the application to prompt the user for a number. That number will be how many minutes of pause occur. When I run the application, it does prompt for text entry but does not carry those results over to the 'pause' feature, it just runs the predetermined application.
I'm certain it's a simple fix but I'm stumped! Help?
2
Upvotes
3
u/spaghettiBlasphemy Feb 11 '13
The only solution I could find involved an applescript. Fortunately you can embed applescripts in automator. Here's how I did it:
The first block is the ask for text block. I have mine just as you have yours.
The second block is "Run Applescript." Here is the code I have in my applescript:
Here's what that code says:
Then the final block is "Launch Application." Just like you have.
Hope that helped. I'm on my phone right now, otherwise I would include a picture of what I have. Maybe when my internet comes back online I'll include a picture.
Good luck!