No the file does not have an extention. Now I need to figure out why apple 
script utility suddenly won't let me arrow through my script! Growl! Ok will 
try and give a shout of sucess or more frustration.
On Jan 11, 2011, at 6:34 PM, Greg Williams wrote:

> Hi Sarah,
> You are getting the "end tell" error because you don't need the first end 
> tell.  The tell statement is written like an if statement in a lot of 
> commands.  If you have a one-line if statement, you don't need the "end if", 
> but if it is a multiple line command, then you need the "end if".  Since your 
> tell statement tells skype what to do on the same line, you don't need the 
> "end tell".
> I am not sure about the second part.  Do you normally click on the file and 
> it brings up terminal, or do you bring up terminal and then issue the command 
> to start it from the command line?  If it is the latter, then you would issue 
> thee command like you did in the script to vacuum your mail.  However, if you 
> normally click on the file, then I think the script should look like:
> 
>> try
>> tell application "skype" to activate
>> tell application "finder"
>> open file "clisk_mac" in home
>> end tell
>> end try
> If terminal is the default application to open the file, you don't have to 
> tell it to use terminal.  Also if the file has an extension, you need to 
> include that in the file name.  Hopefully that helps; I'm not very good with 
> applescript either.
> Greg
> 
> On Jan 11, 2011, at 7:45 PM, Sarah Alawami wrote:
> 
>> Ok I'm almost there but right as I complied I got this.
>> 
>> Expected “end” or “on” but found “end tell”.
>> 
>> Here is the script. For some reason these infovox voices won't let me arrow 
>> through the thing so I'm suigm text edit to write the thing instead.
>> 
>> try
>> tell application "skype" to activate
>> end tell
>> tell application "finder"
>> open "~clisk_mac" using terminal.app
>> end tell
>> end try
>> 
>> 
>> I think 'm close but I cannot put my finger on it.
>> 
>> SOn Jan 11, 2011, at 5:10 PM, Yuma Decaux wrote:
>> 
>>> Hi,
>>> 
>>> If its an application which is not in the list accessible by applescript, 
>>> you need to use finder to open it
>>> 
>>> Tell application "skype"activate
>>> Endt tell
>>> Tell application "finder"
>>> Open "application.app" of folder "applications" of startup disk
>>> End tell
>>> 
>>> Just on top of my head, but this is what is done for documents and folders, 
>>> so it also applies to files thus applications and scripts too.
>>> 
>>> Cheers
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> 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.

Reply via email to