Open up a Finder/Explorer window
Open up a Finder/Explorer window
Hi!
Does anyone have any idea on how I would go about opening a Finder/Explorer window at a specific path from within Hollywood?
I can't seem to find the correct function for this.
Thanks!
Does anyone have any idea on how I would go about opening a Finder/Explorer window at a specific path from within Hollywood?
I can't seem to find the correct function for this.
Thanks!
Re: Open up a Finder/Explorer window
I think he is referring to a command to open a system explorer/finder window...
@Figgy78
You should try OpenURL() command with the path that you want to explore
For example on Windows:
@Figgy78
You should try OpenURL() command with the path that you want to explore
For example on Windows:
Code: Select all
OpenURL("C:\")
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
Re: Open up a Finder/Explorer window
Exactly what I was looking for. Works like a dream.You should try OpenURL() command with the path that you want to explore
I actually found this command but didn't bother to test it as I assosiate URL's with the Internet. I was schooled.
Re: Open up a Finder/Explorer window
Follow up question:
This works fine in Windows, but I compiled it for MacOS and tried it, and it doesn't seem to work with Finder?
This works fine in Windows, but I compiled it for MacOS and tried it, and it doesn't seem to work with Finder?
Re: Open up a Finder/Explorer window
Hi,
On Mac you have to add file:// prefix, following works for me:
Is there a way to get the path to $HOME in Hollywood?
On Mac you have to add file:// prefix, following works for me:
Code: Select all
OpenURL("file:///Users/")
Re: Open up a Finder/Explorer window
Ah.. That's right! Thanks!Krzysztof wrote:...On Mac you have to add file:// prefix...
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Open up a Finder/Explorer window
Check out GetSystemInfo().Krzysztof wrote:Is there a way to get the path to $HOME in Hollywood?
Re: Open up a Finder/Explorer window
Combined with GetVersion() this is a rocking combinationairsoftsoftwair wrote:Check out GetSystemInfo().Krzysztof wrote:Is there a way to get the path to $HOME in Hollywood?
Cheers!