jaladuvar Posted October 20, 2018 Share Posted October 20, 2018 (edited) I'm having workflows that include running applescripts using satimage libraries. These used to be "enbedded" in the scripting additions that no longer work as such with Mojave. The solution is to load a SatimageOSAX application and to call "use application 'SatimageOSAX' "in the script. This works fine outside of Alfred workflows but adding the line "use application 'SatimageOSAX' " in the script in the workflow does'nt seem to work. Why is that ? See screen capture attached Thanks for any solution... Edited October 20, 2018 by jaladuvar Link to comment
CJK Posted October 20, 2018 Share Posted October 20, 2018 3 hours ago, jaladuvar said: does'nt seem to work Can you be more specific ? In what way doesn't it work ? Or, put another way, what precise result should you be getting, and what precise result are you getting now ? "Doesn't work" can range from the script failing to execute at all because of an error during compile time; or the script running but returning no result; or the script not recognising the command names; or a host of other possibilities. Perhaps you could upload one of your workflows where this problem can be seen first hand, and someone could help diagnose the cause for you ? Link to comment
jaladuvar Posted October 20, 2018 Author Share Posted October 20, 2018 (edited) Doesn't wok means that the script, which uses instructions that are specific to the Satimage libraries, fails. It's a script that splits, into fields of a csv files, lines copied from an Amex account statement. Simplifies version below that works in High Sierra (but one has to load the Satimage Smile libraries because the regex instructions use this) links: Satimage Smile Smile Osax workflow and the expected output in dropbox zip: Just found out that it woeks if I add the two lines at the beginning of the script use scripting additions use application "SatimageOSAX" These were not needed in High Sierra Edited October 20, 2018 by jaladuvar Link to comment
dfay Posted October 20, 2018 Share Posted October 20, 2018 (edited) You do realize amex lets you download a csv right? see https://www.americanexpress.com/us/customer-service/faq.download-export-transactions-software.html (not that it’s not worth solving the underlying problem, just saying....) Edited October 20, 2018 by dfay Link to comment
jaladuvar Posted October 20, 2018 Author Share Posted October 20, 2018 never seen this on the french site... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now