groups

name language licence
Cleanup @ Entries - Address Book AppleScript Other
Detect Name Switch - Address Book AppleScript Other
ShellCommand AppleScript Other
theme_open AppleScript Other
Google_Search AppleScript Other
RapidWeaver_Addons_version AppleScript Other
check_safari_page_loaded_handler AppleScript Other
On-Off_AppToggle AppleScript Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 >



language: AppleScript
licence: Other

ShellCommand

options: view full snippetsend to code collector
-- Run shell commands and get the results returned

-- by Adam Merrifield <http://www.seydoggy.com>
-- r1 10-27-09 18:55

set userQuery to text returned of (display dialog "Shell command:" default answer "" buttons {"Cancel", "OK"} default button 2)
do shell script userQuery
display dialog "Here are your results:" default answer result with title "Result" buttons {"OK"} default button 1
	
(Continues...)