Launch path/url with "Choose Application" dialog - objective-c

If you right click on an item, then hover over "Open With", then you see "Other". Clicking that shows a dialog, which lists the "recommended applications" (which were seen in the first "open with" context menu) and now it shows some others too. Image is below.
Is there a way i can launch a path/url into this dialog? If url then it offers firefox, and safari, etc.
I saw this was possible on iOS but I can't find the desktop equivalent: How do I create an Open With Dialog in iOS?
Image of choose app dialog:

Related

Why does Command-N not open a new window in Safari? It opens a new Tab instead

I want to open a new window in Safari. The stated File menu shortcut for this in the Safari app is Command-N. When I type Command-N "New Window" in Safari on Big Sur, I get a new tab. There is no key combination that results in a new window except command-shift-N, which I don't want to use as it makes a private browser window.
Safari settings has "Open pages in tabs instead of new windows" set to "Never." So that's not the problem... any ideas? Does this work for anyone besides me?
Thanks
I found the solution!
Go into System Preferences, General (settings).
Toward the bottom there is a setting for "Prefer Tabs" with a dropdown menu. Change it to "in full screen".
Fixed it for me.

How to Inspect Element using Safari Browser

I am developing websites and creating applications. I want to know how to inspect an element through web browsers like safari.
In normal Chrome, Firefox, Explorer or any other browsers, we will right click the mouse button or press Function Key F12 to view the Inspect Element. But it is not happening in the case of safari browser.
Share your thoughts!
In your Safari menu bar click Safari > Preferences & then select the Advanced tab.
Select: "Show Develop menu in menu bar"
Now you can click Develop in your menu bar and choose Show Web Inspector
See the detailed guide here for more info:
LINK
You can also right-click and press "Inspect element".
EDIT
As suggested by #dennis in the comments: If you dont see "Show Develop menu in menu bar" you may need to run DevToolsSecurity -enable in the console before the option is visible
Press CMD + , than click in show develop menu in menu bar. After that click Option + CMD + i to open and close the inspector
in menu bar click on Edit->preference->advance at bottom click the check box true that is for Show develop menu in menu bar now a develop menu is display at menu bar where you can see all develop option and inspect.

iOS - Add menu item to Safari "Open with"

I'm new to iOS development - How do I create a Safari extension that adds a new item to the "Open with" menu (the same menu where I can bookmark the page)? I'd like to share the page URL that the user is currently viewing with a third-party app.
Thanks
Assuming you are using Xcode, go to your project settings, then choose your target. In the Info tab, you would add a Document Type which will associate it (doc, xls, txt, etc) with your application. If you open the item in safari, you will be presented with an option to open it in your app. In recent versions of mobile safari, I believe a bar appears at the top of the document presenting you with this option as opposed to appearing in the 'Add Bookmark' popover.
Here is some detailed information.

How to create popup dialog page in eclipse plugin development

I am creating an eclipse plugin for my project. I want to have a popup dialog page when the user clicks a customized icon on the toolbar, kind of like Google App Engine popup dialog, any ideas how to do it?
You need
a command
a handler for the command
a menu contribution for your toolbar
a dialog
I have constructed a (very) small example that illustrates this...

Link Button in PDF Doesn't Work

I have a FileMaker Pro 11 layout containing a button with an action of "open URL." When the layout is saved as a PDF, the button appears but no longer works (clicking on it doesn't do anything). Is there a way to save as PDF with the PDF containing a working "open URL" button?
Thank you,
Ben
You have to be in browse mode for your button to work. You are probably in preview mode. Buttons don't work in preview mode (which makes sense as it is just a preview of what will be printed).