Skip to main content
Question

Javascript to open a folder on local computer

  • Aug 10, 2017 10:59 PM UTC
  • 2 replies
  • 335 views

I currently use formula-text buttons with Javascript to open remote URLs. This works great. But I also want to use the same technique to open a folder my local Mac (so I can save files).  In Mac, you can use a link from the finder (file:///Users/drivename/folder/folder...) format to get to files NP. But unfortunately dropping this link into the formula text field or a URL doesn't work I'd think some javascript might be needed to advance this functionality?  
If the link above is listed and you right-click on it then choose "services" and the choose "Open URL" it does work..but that's too many keystrokes...can anybody help?
This topic has been closed for replies.

2 replies

what is your javascript? have you tried window.open() ?

  • Author
  • Qrew Corporal
  • Aug 12, 2017 2:55 AM UTC
"<a class='Vibrant Success' onclick=\"var a=window.open('"&ToText([Link])&"', 'newwindow','width=1200,height=900');\" >Open</a>"