Applescript Error w Pan 5

revDAVE Cool at hosting4days.com
Sun Mar 9 11:19:30 PDT 2008


On 3/8/2008 7:17 PM, "David Thompson" <dthmpsn1 at uiuc.edu> wrote:

> and the next easiest would be
> 
> ExecuteAppleScript "say "+applescriptstring(ID)

Thanks David,

executeapplescript worked great - I put the whole code in and now it works
again and again ... Must be some bug with paths as James described...


Anyway - there seems to be a sensitivity with quotes/curly quotes - like if
I replace:

³tell ... end tell² with: "tell ... end tell" - (curly to straight quotes) -
the proc will fail - Is there some kind of rule to follow?


>From Pan HB pg 1866
executeapplescript ³tell application "System Preferences"
activate 
set current pane to pane ²+applescriptstring(sysPrefPanel)+³
end tell² 


--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]





More information about the Qna mailing list