Re: GIF to PDF with Applescript ONLY - Smile
Re: GIF to PDF with Applescript ONLY - Smile
- Subject: Re: GIF to PDF with Applescript ONLY - Smile
- From: Alex Zavatone <email@hidden>
- Date: Thu, 11 Apr 2013 11:19:25 -0400
OK. As one of those guys who keeps hearing about Smile and probably has downloaded it multiple times in the last decade, whenever I try to search for it ala Google, it's really hard to find info for it, find the installer for it and find a tutorial for it that is understandable by those of us native English speakers.
I've looked multiple times, found a starting point occasionally then given up multiple times.
This bugs me, because Emmanuel has obviously put a lot of work in to it, is offering this functionality to us and it certainly seems like a great tool for AppleScript.
Is it possible to get some community involvement to get Smile to actually show up in Google searches, a write up on "why you should care about Smile", some examples of basic use cases and a short set of tutorials?
On Apr 11, 2013, at 10:42 AM, Emmanuel LEVY wrote:
> Thanks for asking.
>
> As usual with Smile, it comes hard core but compact.
>
> -- first get the sizes of the original picture
> set f to "/Users/emmanuel/Desktop/Screen Shot 2013-04-11 at 12.48.25 PM.png"
> set {x, y} to (image info for f)'s {pixel width, pixel height}
> set w to make new graphic window with properties {pagewidth:x, pageheight:y}
>
> -- draw it into a graphic window with the right size
> BeginFigure(w)
> DrawImage(f, {0, 0, x, y}, "")
> EndFigure()
>
> -- now save it. Providing the extension is enough to specify the file type.
> save w in "/Users/emmanuel/Desktop/Screen Shot 2013-01-30 at 3.53.20 PM.pdf"
> delete w
>
> Best,
> Emmanuel
>
>
>
> On Apr 11, 2013, at 4:31 PM, Alex Zavatone wrote:
>
>>
>> On Apr 11, 2013, at 10:23 AM, Emmanuel LEVY wrote:
>>
>>> Let alone Smile.
>>
>> How would one go about this, Emmanuel?
>>
>>> Emmanuel
>>>
>>> On Apr 11, 2013, at 2:12 PM, Chris Paveglio wrote:
>>>
>>>> Here's what the original poster said:
>>>>> I looked everywhere on the internet for a solution.
>>>> All I could find were
>>>>> 101 ways to do it with Automator,
>>>> or with paying Utitities, but nothing with
>>>>> Applescript.
>>>>
>>>> Anybody got any ideas for a dead simple AppleScript ?
>>>>
>>>> So, my *interpretation* of his request was that he wanted something using
>>>> Applescript AND/OR something FREE. It did not have to be actually limited to
>>>> Applescript because he was already using Revolution and looking at other
>>>> avenues.
>>>> I could be wrong, but the OP hasn't replied recently.
>>>> IMO, shell scripts, terminal commands, GUI scripting, and ASOC would all be
>>>> valid tools to get to his goal. They are all available to him free.
>>>>
>>>> Chris
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>
>
> _______________________________________________
> 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