Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline AppleScript? #2

Open
realdannys opened this issue Dec 23, 2015 · 3 comments
Open

Multiline AppleScript? #2

realdannys opened this issue Dec 23, 2015 · 3 comments

Comments

@realdannys
Copy link

Hi,

As most AppleScript isn't on single line, how do you go about adding this to JSON? Is it possible?

@rooi
Copy link

rooi commented Dec 29, 2015

Hi,
I ran into the same thing. Any updates?

@Nedervino
Copy link

If you add the newline character \n within the JSON string it accepts this as a valid enter within your applescript code, allowing you to write entire scripts

@bradleyrawleigh
Copy link

Currently I save my scripts as an .app and refer to there location in Json file. Can you eleaborate on the process your suggesting? I can post the scripts I saved as app and my json file if that might help for you to explain. Thank for any advise and help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants