Re: Passing String Variables to Visual Basic within Applescript???
Re: Passing String Variables to Visual Basic within Applescript???
- Subject: Re: Passing String Variables to Visual Basic within Applescript???
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 26 Jun 2001 00:30:52 -0700
On 6/25/01 9:56 PM, "Ian MacLachlan" <email@hidden> wrote:
>
Well the trick seems to have been in the handling of the strings within VB
as
>
Paul
>
said like so:
>
>
.Text = " & old_string & "
>
.Replacement.Text = " & new_string & "
>
>
Don't forget the trick of removing those Str functions which were erroring
the code, and the other trick which selected something so 'Selection' could
work!
>
The final script works fine and is enclosed
It looks very good and quite elaborate for someone who's scripted neither
applescript nor VB before. Well done!
>
Thanks again Paul.
My pleasure (literally - it was quite fun). I'm glad you got it going.
--
Paul Berkowitz