• 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
dealing with tex-edit plus F
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dealing with tex-edit plus F


  • Subject: dealing with tex-edit plus F
  • From: fabrice <email@hidden>
  • Date: Sat, 08 Feb 2003 13:20:55 +0000

hi , could you help me by telling me what's wrong with this script?
It's hard for a frenchman to solve the syntax problems. Thanks.

Fuku ei.

tell application "Tex-Edit Plus F"
tell window 1 of application "Tex-Edit Plus F"
activate
make new window at behind window 1
copy (text returned of (display dialog "Mot recherchi?" default answer

" ")) to motRech
set nombLignes to count of lines
set x to 1
repeat while (x < nombLignes)
set nombMots to count words of line x
set y to 1
repeat while (y < nombMots)
set motControle to word y of line x
if motControle is motRech then
set motSuivant to a reference to word after word y of line x
copy motSuivant to end of window 2
copy return to end of window 2
end if
set y to y + 1
set x to x + 1
end repeat
end repeat
display dialog "Fini"
end tell
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: dealing with tex-edit plus F
      • From: John Delacour <email@hidden>
    • Re: dealing with tex-edit plus F
      • From: Richard Smykla <email@hidden>
  • Prev by Date: Re: Encrypting passwords with AS
  • Next by Date: Re: dealing with tex-edit plus F
  • Previous by thread: Safari and "universal" window switcher
  • Next by thread: Re: dealing with tex-edit plus F
  • Index(es):
    • Date
    • Thread