I like to open custom URLs, such as "myscheme://a/b/c" from my AppleScript code.
This is not about opening http URLs in a web browser. This is about getting the same result as when you create an .inetloc file in the Finder and then open that file in the Finder, or invoking this code in a macOS app written in ObjC:
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString: @"myscheme://a/b/c"]];
open location"Opens a URL with the appropriate program.", other then that, maybe you'll have yo use Cocoa-AppleScript. – user3439894 Aug 01 '17 at 20:38open locationseems to do the trick. I had searched quite a bit but could not find out about it. Care to turn that into an answer so that I can accept it? And perhaps explain where that's documented? – Thomas Tempelmann Aug 02 '17 at 21:57