AnsweredAssumed Answered

Calculated AppleScript

Question asked by JFWX5 on Jan 24, 2018
Latest reply on Jan 24, 2018 by fmp



I have the following Case statement which determines which Mac OS is running on the client in order to select the proper location of fScanX application.


SystemVersion = Case ( Get(SystemVersion) ≤ "10.12" ; "/usr/bin/fscanx" ;   "/usr/local/bin/fscanx"; 0)


How do I add "SystemVersion" to this calculated AppleScript


"do shell script"   "SystemVersion " & " --pdf --auto-length  /scandata/untitled"



in order for it to work properly?



Thank you