BenjaminO Posted December 13, 2022 Share Posted December 13, 2022 Hello folks 👋, I am trying to transform a path into POSIX into a workflow using using variables and AppleScript. Unfortunately it seems that some characters are transformed in the process making the path name false sometimes. Here's an example : My workflow The variable The script (AppleScript) : set sourceFolder to POSIX file (system attribute "_sourceFolder") set theDialogText to "Original folder path" & return & (system attribute "_sourceFolder") & return & return & "POSIX folder path" & return & sourceFolder display dialog theDialogText The output The Large Text output (working = expectation !!) Large text code = {var:_sourceFolder} I'd would expect that {var:_sourceFolder} and (system attribute "_sourceFolder") returns the same result in this situation. Any help would be super appreciated ! Many thanks in advance 🙏 Link to comment
BenjaminO Posted December 13, 2022 Author Share Posted December 13, 2022 after some time searching, I found the answer here 🙂 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