6c0db041e3
AppleScript is apparently such a legacy system, that when it sends URLs to your app to open, they're in the old Carbon format. So we need to translate these to proper URL strings for the rest of the app to deal with them at all. The format of these URLs is as follows: /method/:: Followed optionally by: username/password@ Where the slash and password are optional. Followed by: hostname Followed optionally by: /portnumber And finally, followed by: :path:on:server:filename.ext So, in hostname field, we must swap slashes to colons. And in the path field, swap colons to slashes. What a bizarre world. Signed-off-by: Christopher Snowhill <kode54@gmail.com> |
||
---|---|---|
.. | ||
AppController.h | ||
AppController.m | ||
DockIconController.h | ||
DockIconController.m | ||
MediaKeysApplication.h | ||
MediaKeysApplication.m | ||
PlaybackController.h | ||
PlaybackController.m | ||
PlaybackEventController.h | ||
PlaybackEventController.m | ||
ScriptAdditions.h | ||
ScriptAdditions.m |