Re: Show differences in two apple scripts.
Re: Show differences in two apple scripts.
- Subject: Re: Show differences in two apple scripts.
- From: Tommy Bollman <email@hidden>
- Date: Sat, 7 Aug 2010 13:37:49 +0200
Hello Takaaki!
Here is a search pattern you can use from within TextWrangler to jump to the next handler If you run my script.
If the window of one of the files to compare are active, then I think the window at its side should be updated.
^[ ]*(on|to)[ ].*\(
On 7 Aug 2010, at 13:25, Tommy Bollman wrote:
> Whew Emmanuel!
> I'm so glad it didn't work with scripts :-) but that you need .applescript files to make it work properly (at least look good).
>
>
> On 7 Aug 2010, at 12:49, Emmanuel LEVY wrote:
>
>> For those who don't know, there is an app in the developer stuff whose name is I think filemerge, and it does that all right.
>>
>> Emmanuel
>>
>>
>>> Hello Takaaki
>>>
>>> Its a simple and useful task. When I watch the the output in TextWrangler, I can very easily see the difference in two handlers.
>>> I sense that you want a report or something. Well, that could be useful at a later stage for me, but I really doesn't have such problems at the moment, and far to much to do. :-)
>>>
>>>
>>> Then you are welcome to implement it.
>>> On 7 Aug 2010, at 02:37, Takaaki Naganoya wrote:
>>>
>>>> Hi Tommy,
>>>>
>>>> Getting the difference between two Script is very easy task. I think it is not enough.
>>>>
>>>> Getting the difference between handlers considering script object is needed.
>>>>
>>>>
>>>> <script A>
>>>> startJob() of me
>>>>
>>>> on startJob()
>>>> --something
>>>> end startJob
>>>> </script A>
>>>>
>>>>
>>>> <script B>
>>>> startJob() of me
>>>>
>>>> on startJob()
>>>> --something 1
>>>> --something 2
>>>> end startJob
>>>>
>>>> script sc1Lib
>>>> on startJob()
>>>> --something 3
>>>> end startJob
>>>> end script
>>>> </script B>
>>>>
>>>> On 2010/08/03, at 22:03, Tommy Bollman wrote:
>>>>
>>>>> I have created a script that displays the differences in two apple script files, for those that doesn't have Smile. You'll need TextWrangler for the script to work. The script can be found here < http://macscripter.net/viewtopic.php?id=33758 >
>>>>> Best regards
>>>>>
>>>>>
>>>>>
>>>>> Tommy Bollman
>>>>>
>>>>
>>>> Takaaki Naganoya
>>>> Piyomaru Software
>>>> http://piyo.piyocast.com
>>>> email@hidden
>>>> twitter:piyomaru
>>>>
>>>> PiyoCast Web (Podcasting with Music!)
>>>> http://www.piyocast.com
>>>> Free AppleScript Library "AS Hole"
>>>> http://www.piyocast.com/as/
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> Best regards
>>>
>>>
>>>
>>> Tommy Bollman
>>> --------------------------------------------------------------------------------------------------
>>> Mollison's Bureaucracy Hypothesis:
>>> If an idea can survive a bureaucratic review
>>> and be implemented it wasn't worth doing.
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>>
>
> Best regards
>
>
>
> Tommy Bollman
> --------------------------------------------------------------------------------------------------
> Mollison's Bureaucracy Hypothesis:
> If an idea can survive a bureaucratic review
> and be implemented it wasn't worth doing.
>
> _______________________________________________
> 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
>
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
If an idea can survive a bureaucratic review
and be implemented it wasn't worth doing.
_______________________________________________
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