Jump to content

Pass in folder location that has two words in the name


Recommended Posts

Hi,

 

I'm currently using a workflow that does not work at desired. I try to open a specific location in iterm using the specific applescript 

 

tell the last session
            write text "cd " & q & "; clear; pwd"
        end tell

Going to regular destinations like:

/Users/MyName/Downloads

works fine, but going to locations with two words or more like: 

/Users/MyName/Git Projects/Project1

doesn't work.

 

Does anybody with applescript and iterm knowledge know the fix? 

 

Thanks,

Nolan

Edited by forgetfulfellow
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...