• 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
Re: sdef with images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sdef with images


  • Subject: Re: sdef with images
  • From: Takaaki Naganoya via AppleScript-Users <email@hidden>
  • Date: Sat, 26 Oct 2019 07:20:40 +0900

2019/10/25 22:08、Steve Mills via AppleScript-Users
<email@hidden>のメール:
>
> On Oct 25, 2019, at 01:20:57, Takaaki Naganoya via AppleScript-Users
> <email@hidden> wrote:
>>
>> Hey guys!
>>
>> I found the way to include images in the sdef file locally (internet
>> connection not required).
>>
>> <BA4EC130-7273-4327-BA35-EF96601C8019_0.3.jpg>
>>
>> To include image in a sdef, encode image by base64 encoding then write it…
>
> That's pretty cool. Do you think including a lot of images will affect
> dictionary load and parse time? I'd hate to see first-time compile times
> suffer because of that.

Yes. It is just a first test. Majoring performance is second stage.

Now, my library includes sample script document inside the sdef with
"applescript://" scheme url link.
The amount of sdef size is already a little big (47KB).

http://piyocast.com/as/wp-content/uploads/2019/10/pickup-color.scptd_.zip

So, I'll use one or a few images in my sdef.  And separate each libraries alone.
And...to reduce the sdef size, we can locate image file on the web like this.

<documentation>
<html>
<![CDATA[
<img src ="http://piyocast.com/as/wp-content/uploads/2019/10/colrep2.png"/>
]]>
</html>
</documentation>

http link works in sdef. We can display images in this method.

> --
> Steve Mills
> Drummer, Mac geek
>
> _______________________________________________
> 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

--
Takaaki Naganoya
email@hidden
http://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

References: 
 >sdef with images (From: Takaaki Naganoya via AppleScript-Users <email@hidden>)
 >Re: sdef with images (From: Steve Mills via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: sdef with images
  • Next by Date: [ANN] Library updates
  • Previous by thread: Re: sdef with images
  • Next by thread: Re: List in AppleScript passed to FMPro
  • Index(es):
    • Date
    • Thread