When you regularly open the same invisible folder, typing its path every time gets tedious.
Here’s a little script that will open the folder for you.
set myFolder to "/path/to/folder/"
-- localise these two
set myGoButton to "Ga"-- button on sheet/window where path is entered
set myWindow to "Naar map gaan"-- title of window where path is entered
-- get frontmost app
tell application "System Events"
set frontappName to name of first process whose frontmost is true
end tell
tell application "Finder"
activate
set the clipboard to myFolder
end tell
tell application "System Events" to tell process "Finder"
set boolOpenSheet to (windows is not {})
-- true: a window is already open, command opens a sheet on that window
-- false: no open window, command opens one
keystroke "g" using {command down, shift down} -- "go to folder"
keystroke "v" using command down -- paste path
if boolOpenSheet then -- close the sheet
click button myGoButton of sheet 1 of front window
else -- close the window
click button myGoButton of window myWindow
end if
end tell
-- return to frontmost app
tell application frontappName to activate