Running applescript in new terminal tab and do file logging -


i need following thing i'm unable find in forum. if link exists kindly redirect me it.

i need invoke applescript running terminal window . how make sure applescript running in new tab , not in new window. also, i'm supposed watch exceptions in new tab possible simultaneously view in terminal , log exception details in separate file time stamp?

thanks in advance !

you cannot run applescript in terminal, can run applescript from terminal. using osascript command, can run applescript file or run statement using applescript.

osascript "file path here" [arguments] # runs applescript file optional arguments  osascript -e 'applescript statement' # runs 1 line of applescript code terminal 

note: -e flag can used many times make functional applescript (line line) terminal. add flag after line of code , continue coding.

if want log or print applescript in terminal window, can use log "hello world" in applescript code.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -