• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing String Variables to Visual Basic within Applescript???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Passing String Variables to Visual Basic within Applescript??? (From: Ian MacLachlan <email@hidden>)

  • Prev by Date: Re: Re : Finder: Delete files
  • Next by Date: Help using dialog.
  • Previous by thread: Re: Passing String Variables to Visual Basic within Applescript???
  • Next by thread: How do I change my default editor?
  • Index(es):
    • Date
    • Thread