Skip to main content
Question

Script for application - a simple folder structure of files that will open in a web browser


Forum|alt.badge.img+3
  • New Contributor
  • 9 replies

I would need a script where is in fact a simple folder structure of files that will open in a web browser. This should be configured as a desktop icon to explicitly open in Chrome browser

Note: Files are hosted locally .

2 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1901 replies
  • August 15, 2019

First something like this command may be what you're needing:

/usr/bin/open -a '/Applications/Google Chrome.app' file:///Users/talkingmoose/

The problem with this is browsers may behave differently when opening the same URL. For example, Safari will open a dialog window displaying the folders and Google Chrome and Microsoft Edge will actually list the folder's enclosed directories and files in the browser itself.

What are you trying to accomplish?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 9 replies
  • August 15, 2019

@talkingmoose I would need to package an application which should be made available as icon on the desktop, once when we click on, it should open the list of files (simple folder structure of files ) on the chrome browser


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings