dealing with tex-edit plus F
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.