Re: [NSWorkspace openURL:] - any way to avoid a new tab?
Re: [NSWorkspace openURL:] - any way to avoid a new tab?
- Subject: Re: [NSWorkspace openURL:] - any way to avoid a new tab?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 09 Apr 2016 06:35:48 -0700
> On 2016 Apr 07, at 08:14, Jens Alfke <email@hidden> wrote:
>
> If you send an AppleEvent directly to Safari, there might be a param to control tab behavior.
Oh, you could probably do that with AppleScript. Something like
set myTab to make new tab
set URL of myTab to http://whatever
—- later
set URL of myTab to http://something-else
And it might work pretty good until the next major Safari update :)) As Jens recommended, do not ship any such thing.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden