Re: Tell application variable for remote service
Re: Tell application variable for remote service
- Subject: Re: Tell application variable for remote service
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 20 May 2010 08:31:09 -0400
Sorry. I know that ' tell application variableName' doesn't work in
general, because the AppleScript compiler needs to know what app's
terminology to use inside the tell block - it can't defer that till
runtime.
I thought it might be able to fall back to the web services case,
but that's silly since it's a syntax error. Bad advice from me.
On Thursday, May 20, 2010, Stéphane VAXELAIRE <email@hidden> wrote:
> Ok, got me.
>
> I forgot to tell I did try and it does not work as simple as it could.
>
> Le 20 mai 2010 à 16:14, Mark J. Reed a écrit :
>
>> So try it and see?
>>
>> On Thursday, May 20, 2010, Stéphane VAXELAIRE <email@hidden> wrote:
>>> Hello everybody,
>>>
>>> I'm new to AppleScript and to this list.
>>>
>>> I searched the lists (and google of course) about being able to use some variable for a :
>>> tell application "remote_service_url"
>>> to make an XML RPC call.
>>> I'd like to be able to write "tell application some_url" in a function where some_url would be a function parameter.
>>> I don't like that URL to be hardcoded in my scripts.
>>>
>>> I can't find anything that would let me know it is possible though...
>>>
>>> Regards _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> AppleScript-Users mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> Archives: http://lists.apple.com/archives/applescript-users
>>>
>>> This email sent to email@hidden
>>>
>>
>> --
>> Mark J. Reed <email@hidden>
>
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden