Post

Replies

Boosts

Views

Activity

Reply to syntax errors when working with folders that have “‘“ in it such as “greg’s folder"
fixed the issue: Problem codes: set firstCommand to "cd " & quoted form of gameFolderPath do shell script "osascript -e " & quoted form of ("tell application \"Terminal\" to do script \"" & firstCommand & "\””) set extractionCommand to "python3 " & scriptPath & " -x " & aFile do shell script "osascript -e " & quoted form of ("tell application \"Terminal\" to do script \"" & extractionCommand & "\" in front window") Fix: tell application "Terminal" activate do script "cd " & quoted form of gameFolderPath end tell tell application "Terminal" do script "python3 " & quoted form of scriptPath & " -x " & quoted form of aFile in front window end tell
Mar ’25