Helpers/scripts/_belegversand_setup.applescript aktualisiert

basePath und runsibling auf Path angepasst.
This commit is contained in:
2026-08-17 13:19:00 +00:00
parent 57e9aea9ce
commit 21873cbfb3
@@ -53,7 +53,7 @@ property requiredConfigKey : "BELEGE_ROOT_UUID="
property mainScriptName : "_belegversand.scpt"
-- Versionsinformation für README und Hinweise.
property appVersion : "1.4"
property basePath : "/Library/Application Scripts/com.devon-technologies.think/Menu/Belegversand"
property basePath : "Library/Application Scripts/com.devon-technologies.think/Menu/Belegversand"
-- Default-Werte für die Erstkonfiguration.
property defaultMailTo : "steuer@name.de"
property defaultSubjectPrefix : "Unterlagen"
@@ -74,7 +74,8 @@ Verwendung:
- bei vorhandener Konfiguration wird das Hauptscript _belegversand.scpt gestartet
*)
on runSiblingScript(scriptFileName)
set targetPath to basePath & "/Helpers/scripts/" & scriptFileName
set expandedPath to (do shell script "echo ~") & "/" & basePath
set targetPath to expandedPath & "/Helpers/scripts/" & scriptFileName
try
set targetAlias to POSIX file targetPath as alias