Public Access
Helpers/scripts/_belegversand.applescript aktualisiert
basePath angepasst und runTemplateSelector() entsprechend korrigiert.
This commit is contained in:
@@ -24,7 +24,7 @@ property defaultMailBodyRecordName : "belegversand"
|
|||||||
property defaultDryRunPreviewPath : "/tmp/DT-Belegversand-preview.txt"
|
property defaultDryRunPreviewPath : "/tmp/DT-Belegversand-preview.txt"
|
||||||
|
|
||||||
property appVersion : "1.4"
|
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"
|
||||||
|
|
||||||
property configGroupName : "_config"
|
property configGroupName : "_config"
|
||||||
property configRecordName : "belegversand.conf"
|
property configRecordName : "belegversand.conf"
|
||||||
@@ -511,8 +511,8 @@ on loadConfig()
|
|||||||
end loadConfig
|
end loadConfig
|
||||||
|
|
||||||
on runTemplateSelector()
|
on runTemplateSelector()
|
||||||
set basePath to (do shell script "echo ~") & basePath
|
set expandedPath to (do shell script "echo ~") & "/" & basePath
|
||||||
set scriptPath to basePath & "/Helpers/show_mail_templates.scpt"
|
set scriptPath to expandedPath & "/Helpers/show_mail_templates.scpt"
|
||||||
|
|
||||||
try
|
try
|
||||||
set loadedScript to load script (POSIX file scriptPath as alias)
|
set loadedScript to load script (POSIX file scriptPath as alias)
|
||||||
|
|||||||
Reference in New Issue
Block a user