I'm trying to do something like this:
NSAppleScript *sendCharlieImput = [[NSAppleScript alloc] initWithSource:@"tell application \"terminal\" to do script " charlieImputSelf " in front window"];
[sendCharlieImput executeAndReturnError:nil];
The variable charlieImputSelf is going to be put into the terminal window as a command. BUT I need to put charlieImputSelf in between 2 qoutes (like above). This is obviously not the correct way. Can someone help?
Thanks! Elijah