Application or Icon on desktop which opens a website in default browser (Mac & Windows) - windows

I am looking for a solution that will allow me to create a desktop icon that when clicked will open a url in the user's default browser.
The solution should work for mac & windows (or alternatively will need a separate solution for windows and mac).
For this situation, creating a webpage shortcut from the browser is not enough. It needs to be an .exe or app.
I remember being able to do this with Flash back in the early 2000's.

Related

How do i open a Link in multiple Sandboxed Windows Apps?

My Issue
In Windows, u can open links on ur desktop app like with spotify:track:trackname.
I wanted to use this to opn a track on a sandboxed spotify app, but instead it just opens the normal spotify app
To Reproduce
Have Windows
Download Spotify Open Spotify in a Sandbox Open
spotify:track:trackname in ur desktop
See that it opens the normal Spotify
Expected behavior
It should open the track on all Spotify instances
Note
This can of course be used with all links of this type. The behaviour is not restricted to Spotify

do classic ASP application launch Firefox as default?

I am currently working with a classic ASP web application. What I'm wondering about is how it knows which browser to launch, I've looked over everything and am unable to find anywhere that it says to Launch Firefox in order to open the application. If i have firefox uninstalled, then it launches Chrome, however, when I hvae both Chrome and Firefox, then Firefox launched even if I have Chrome set as my default browser. Anyone have an idea?
your asp code has no connection whatsoever with what browser is used, it's browser independent. in order for you web app to run, you must open a browser FIRST, then go to the url of your web app, which will then fire off the asp code. It would be a huge security issue if i went to a web site, and it decided to open a different browser on my computer!
if you want to set Chrome as your default browser, follow these instructions:
https://support.google.com/chrome/answer/95417?co=GENIE.Platform%3DDesktop&hl=en
for firefox - https://support.mozilla.org/en-US/kb/how-change-your-default-browser-windows-10
for IE - https://support.microsoft.com/en-us/help/17435/windows-internet-explorer-make-default-browser
Your default browser is a different setting than the "open this file type with this program" setting. If double-clicking an .asp file opens in Firefox, then that's the latter type of setting.
To change it, right-click an .asp file, choose the "Open with >" option, then "Choose default program...".
That all said, 99.999% of users will never have occasion to double-click an .asp file, because most of us don't use web servers as our normal everyday computers.

Show Firefox OS devtools on Firefox Developer Edition 'desktop'

I've an iMac with OS X Yosemite v.10.10.3. I use Firefox Developer Edition 40.0a2. I've a ZTE Open C (FR version) with Firefox OS; Boot2Gecko 2.1.0.0-prerelease (B2G OS).
What I'd like to do is the following: I've a basic webpage (mostyl HTML, CSS and JS) opened in my browser on my Firefox OS phone. I'd like to get the devtools (Cmd+Shift+i) and be able to edit that webpage with my Firefox Developer Edition browser on my iMac.
I've already tried these things:
Use webIDE.
Follow this potential solution.
Connecting a Firefox OS device.
WebIDE Troubleshooting.
Comment déboguer facilement du web y compris sur tablettes et téléphones—french article.
With webIDE, I can build a new app for Firefox OS (with or without a base theme) and I can use the devtools to inspect the DOM and stuff like that. I just want to achieve the exact same thing but directly on my desktop computer.
Do you have any clue?
Feel free to ask me if you need more piece of informations. ;)
Current status
When I launch the Firefox OS browser app, I can inspect (via the devtools) the homepage (DOM stuff, etc.). But when I load another webpage (Google for example), I can't inspect the DOM. Any idea about that?
I often get this message: http://puu.sh/ir2Ju/32563e51bc.png when I switch to several apps I want to debug.
If I understand correctly, you're trying to connect the Firefox Developer Edition WebIDE on your desktop to a tab that is open on your Firefox OS phone. Something like this?
If that's right, once you connect to your phone in the WebIDE, you should see a list of open browser tabs at the bottom of the "Open App" menu, which is in the top left of the WebIDE panel.
When you connect your phone, you have to accept remote debugging.
Then on the left of the window, you should see a dropdown menu with the apps that you can debug. By default, you can only debug unprivileged applications.
Click on the app, the you want to debug and in the middle of the screen click on the "wrench". It is the button to activate debugging.
Now the complicated part. In order to debug privileged apps such as the web Browser. You have to root your phone and change some preferences. To check that you have a rooted phone. Click on the runtime menu and then runtime info.
If your adb is in root mode, then you can press the button to request higher privileges. You can also do that by hand.
There for more info:
https://developer.mozilla.org/fr/docs/Tools/WebIDE/Running_and_debugging_apps#Unrestricted_app_debugging_%28including_certified_apps.2C_main_process.2C_etc.%29
https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager#Using_the_B2G_desktop_client
Using a real device
On your computer, enter the following command in Terminal/console to enter your device's filesystem via the shell:
adb shell
Your prompt should change to root#android. Next, stop B2G running using the following command:
stop b2g
Navigate to the following directory:
cd /data/b2g/mozilla/*.default/
Here, update the prefs.js file with the following line:
echo 'user_pref("devtools.debugger.forbid-certified-apps", false);' >> prefs.js
After you've finished editing and saving the file, start B2G again using the following command:
start b2g
Exit the android filesystem using the exit command; this will return you to your normal terminal prompt.
Next, reconnect to the App Manager and you should see certified apps appear for debugging.
When this is done, you should see the application "Browser" in the list of available apps for debugging. At the same time, you should see all other application of your phone available as debugging.

Open Safari on Mac Client from RDP or Citrix

I have a scenario where I have users accessing our company application either via Citrix or RDP.
The app needs to make a call from within the session to the client pc so it can open a browser for credit card entry.
This is all working okay as I'm using COM to make the call on Windows clients, however I'm not exactly sure how to approach this for Mac.
I believe a start might be able to use AppleScript to open the browser, but not sure on the best way to call the AppleScript. Should I create a C++ app written in xCode.
I'm new to any apple development, so any help or direction would be helpful.
If you have access to the shell on the remote Mac all you need to do to open Safari (or other default browser) is to execute open <URL>, for example:
open http://example.com

Applescript to place applications on specific desktops

I've got an applescript, created in Automator, that opens a number of applications and folders that I use as part of a workflow for creating a photo book. The way my flow works is Photoshop Elements in Desktop 1, four Finder windows on Desktop 2, iPhoto on Desktop 3 and Booksmart on Desktop 4.
My applescript opens each of these just as I'd like, the only problem is it opens everything on the desktop that I'm on at the time. I then have to go into mission control and move around my windows putting each application onto the desktop I'd like it to be on. This takes as long as opening the applications one by one on their requisite desktop.
I have tried assigning desktops to the applications, but this doesn't appear to work consistently.
Is there any applescript that I can use that will open an application on a specific desktop?
I'm running OS X 10.8.2.
Many thanks
Did you try assigning the application to a desktop?
This will open the application on the right desktop without the help of a script.

Resources