Well that sort of worked except the do shell script didn't work. the reason I know that is because terminal is suposed to open and so is python window as well so looks like I"ll have to use the open command. Hopefully I can remember how that works! lol! On Jan 12, 2011, at 3:34 PM, Jon Cohn wrote:
> OK. I was looking at a different copy of your script. > > You can either use > Tell Application "Foo" > something to work on > end tell > > OR you can > Tell application "Foo" to something to work on > > Note in the second version everything is on one line, and there is the word > to between the tell section and the command that the foo bapplication is > going to process. > > So dropping that end tel, or changing the to to a new line will correct this > error. > > Jonathan > > On Jan 12, 2011, at 6:26 PM, Sarah Alawami wrote: > >> Nope. I still got this. >> >> Expected end of line, etc. but found “end tell”. >> >> Here is the revised one with the quotes. it seems to barf after the activate >> thing. >> >> tell application "skype" to activate >> end tell >> do shell script "./clisk" >> >> >> On Jan 12, 2011, at 3:14 PM, Jon Cohn wrote: >> >>> You are missing quotes around the shell command that you are attempting to >>> run. >>> >>> Also this might be a case where you need to use the terminal I am not sure. >>> >>> But it will compile if you use a double quote that is the next char " >>> >>> The quotes need to surround the words after script. >>> >>> I often put all punctuation on while working with AppleScript. >>> >>> Jonathan >>> >>> On Jan 12, 2011, at 4:08 PM, Sarah Alawami wrote: >>> >>>> No I looked. Here is the script. I'm confused as to why the error accured. >>>> >>>> try >>>> tell application "skype" to activate >>>> do shell script ./clisk >>>> end try >>>> >>>> On Jan 12, 2011, at 7:36 AM, Jon Cohn wrote: >>>> >>>>> You probably have an extra character in the Try. I generally interact >>>>> with the error message and find the quoted text of what it found and >>>>> then single character through that. >>>>> >>>>> Jon >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "MacVisionaries" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/macvisionaries?hl=en. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "MacVisionaries" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/macvisionaries?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "MacVisionaries" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/macvisionaries?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/macvisionaries?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en.
