Re: Compare two AppleScripts
Re: Compare two AppleScripts
- Subject: Re: Compare two AppleScripts
- From: Stan Cleveland <email@hidden>
- Date: Fri, 27 Apr 2018 17:34:16 -0700
On Apr 27, 2018, at 03:09 PM, Gil Dawson <email@hidden> wrote:
Has anyone worked out (or even on) a script to compare the source text for two AppleScripts?
Hi Gil,
I've used Xcode's "FileMerge" app for years and love it. Here's a sample comparison of two simple scripts.

The visual display of differences is quite useful and very thorough. You'll note that the right script is missing a line and that its last line has a changed variable name, from x to y, as compared to the left script.
Note that this comparison only works if both scripts are saved as text files (with the .applescript extension). It also helps if they use the same line ending character, otherwise that will get flagged as a difference in every line. Regards, Stan C.
|
_______________________________________________
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