Hook Integration scripts for german language Support in Forklift

And two more integration scripts for German-language software.
This time for Forklift.

And thank you for the welcome @LucB.

Get Name

tell application "System Events"
	tell process "ForkLift"
		set the clipboard to ""
		delay 0.3
		click menu item "Pfad in Zwischenablage kopieren" of menu 1 of menu bar item "Ablage" of menu bar 1
		delay 0.3
		set fileName to name of (info for (the clipboard))
		
		
	end tell
    end tell

Get Address

tell application "System Events"
	tell process "ForkLift"
		set the clipboard to ""
		delay 0.3
		click menu item "Pfad in Zwischenablage kopieren" of menu 1 of menu bar item "Ablage" of menu bar 1
		delay 0.3
		set theURL to "file://" & (the clipboard)
	end tell
    end tell