• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NSWorkspace openURL:] - any way to avoid a new tab?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >[NSWorkspace openURL:] - any way to avoid a new tab? (From: Graham Cox <email@hidden>)
 >Re: [NSWorkspace openURL:] - any way to avoid a new tab? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Proper target for table cell view buttons
  • Next by Date: Re: Window updates stall on headless Mac mini
  • Previous by thread: Re: [NSWorkspace openURL:] - any way to avoid a new tab?
  • Next by thread: Codesign broken in 10.11.4
  • Index(es):
    • Date
    • Thread