|Jan 30, 2013, 08:27 PM||#1|
Simple Input Output Script
I'm just looking for a way to be able to enter 3 different variables a URL, a Number and a Platform.
I would then like the output to be URL&arcNumber%aPlatform
I tried making a few automator scripts and looking for a program or two but haven't been able to get it done right.
I would appreciate this being exported to the clipboard or a simple text edit window. I am using this to upload tracked URL's to my sites and it would be a lot easier with a script then copying and pasting on my own everytime.
If you feel like donating here's the link:
Donations accepted here
|Jan 30, 2013, 10:32 PM||#3|
If you want that to go to the clipboard:
#!/bin/bash echo "enter a URL" read URL echo "ener a Number" read Number echo "enter a Platform" read Platform echo -n "$URL&arc$Number%a$Platform" | pbcopy
|Jan 31, 2013, 10:01 AM||#4|
Or in AppleScript
Since you didn't specify a language, here's a way of doing it in AppleScript:
set theURL to text returned of (display dialog "Enter a URL" default answer "") set theNumber to text returned of (display dialog "Enter a number" default answer "") set thePlatform to text returned of (display dialog "Enter a platform" default answer "") set the clipboard to theURL & "&arc" & theNumber & "%a" & thePlatform
|applescript, input, output, text|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|[Please Help!] Could not restore - input/output error||alittlebit||Mac OS X 10.7 Lion||0||Dec 30, 2013 04:22 AM|
|Audio input to output app?||Mubanga||Mac Applications and Mac App Store||1||Mar 4, 2013 06:07 PM|
|Input/Output with files in XCode||crisro996||Mac Programming||2||Jul 21, 2012 01:20 PM|
|My solution for "No Sound Output to MacBook Speakers" - Re-route Sound Input / Output||grantdoug||MacBook Pro||1||Jun 27, 2012 11:44 AM|
All times are GMT -5. The time now is 03:48 PM.