Run an applescript command that prompts for a URL.
It writes the URL (or nothing if cancelled) to its stdout stream.
AppleScript has many more graphical user interaction mechanisms, and all are easily invoked by the 'osascript' command. Use AppleScript Editor to open the scripting dictionary of "Standard Additions" and look under the User Interaction section.
Code:
osascript -e 'tell app "System Events" to choose URL'
AppleScript has many more graphical user interaction mechanisms, and all are easily invoked by the 'osascript' command. Use AppleScript Editor to open the scripting dictionary of "Standard Additions" and look under the User Interaction section.