Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #511488 > unrolled thread

LT Spice thumbnail

Started byJohn Larkin <jjlarkin@highland_snip_technology.com>
First post2018-07-19 17:57 -0700
Last post2018-07-20 07:11 -0700
Articles 10 — 6 participants

Back to article view | Back to sci.electronics.design


Contents

  LT Spice thumbnail John Larkin <jjlarkin@highland_snip_technology.com> - 2018-07-19 17:57 -0700
    Re: LT Spice thumbnail bitrex <user@example.net> - 2018-07-20 01:10 -0400
      Re: LT Spice thumbnail bitrex <user@example.net> - 2018-07-20 01:18 -0400
    Re: LT Spice thumbnail Cursitor Doom <curd@notformail.com> - 2018-07-20 10:10 +0000
      Re: LT Spice thumbnail John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-20 07:08 -0700
        Re: LT Spice thumbnail Cursitor Doom <curd@notformail.com> - 2018-07-20 16:50 +0000
          Re: LT Spice thumbnail bitrex <user@example.net> - 2018-07-21 10:49 -0400
        Re: LT Spice thumbnail Martin Riddle <martin_ridd@verizon.net> - 2018-07-21 10:02 -0400
    Re: LT Spice thumbnail Miguel Giménez <me@privacy.net> - 2018-07-20 14:18 +0200
      Re: LT Spice thumbnail John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-20 07:11 -0700

#511488 — LT Spice thumbnail

FromJohn Larkin <jjlarkin@highland_snip_technology.com>
Date2018-07-19 17:57 -0700
SubjectLT Spice thumbnail
Message-ID<akc2lddhkavmld62aev5737kbvf6kecat3@4ax.com>

If I single-click on an .asc file in Windows Explorer, I see the
schematic thumbnail at the bottom of the window. How does that work?

It works for symbols too, .asy files.

Does Windows invoke LT Spice to make the thumbnail images?


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [next] | [standalone]


#511510

Frombitrex <user@example.net>
Date2018-07-20 01:10 -0400
Message-ID<s9e4D.263767$wG5.147581@fx02.iad>
In reply to#511488
On 07/19/2018 08:57 PM, John Larkin wrote:
> 
> 
> If I single-click on an .asc file in Windows Explorer, I see the
> schematic thumbnail at the bottom of the window. How does that work?
> 
> It works for symbols too, .asy files.
> 
> Does Windows invoke LT Spice to make the thumbnail images?
> 
> 

There's a Windows Thumbnail Cache since way back in the day that stores 
generated file thumbnails for many document types.

<https://en.wikipedia.org/wiki/Windows_thumbnail_cache>

The Microsoft .NET framework which is roughly speaking the API used to 
develop Windows GUI software has lots of features/extensions, one is the 
Shell API which lets the software developer allow their software to do 
many things the shell can do including extend the thumbnail cache to 
store new types of thumbnails generated by the document's associated program

[toc] | [prev] | [next] | [standalone]


#511511

Frombitrex <user@example.net>
Date2018-07-20 01:18 -0400
Message-ID<Bge4D.170945$Kp4.49312@fx43.iad>
In reply to#511510
On 07/20/2018 01:10 AM, bitrex wrote:
> On 07/19/2018 08:57 PM, John Larkin wrote:
>>
>>
>> If I single-click on an .asc file in Windows Explorer, I see the
>> schematic thumbnail at the bottom of the window. How does that work?
>>
>> It works for symbols too, .asy files.
>>
>> Does Windows invoke LT Spice to make the thumbnail images?
>>
>>
> 
> There's a Windows Thumbnail Cache since way back in the day that stores 
> generated file thumbnails for many document types.
> 
> <https://en.wikipedia.org/wiki/Windows_thumbnail_cache>
> 
> The Microsoft .NET framework which is roughly speaking the API used to 
> develop Windows GUI software has lots of features/extensions, one is the 
> Shell API which lets the software developer allow their software to do 
> many things the shell can do including extend the thumbnail cache to 
> store new types of thumbnails generated by the document's associated 
> program

I don't believe the actual LTSpice binary is ever invoked to do it the 
API just offloads a set of instructions on how to generate thumbnails to 
the Windows thumbnail cache manager during program installation. Windows 
GUI stuff is not my software-jam so that's my best guess

[toc] | [prev] | [next] | [standalone]


#511538

FromCursitor Doom <curd@notformail.com>
Date2018-07-20 10:10 +0000
Message-ID<piscet$lh2$1@dont-email.me>
In reply to#511488
On Thu, 19 Jul 2018 17:57:53 -0700, John Larkin wrote:

> If I single-click on an .asc file in Windows Explorer, I see the
> schematic thumbnail at the bottom of the window. How does that work?
> 
> It works for symbols too, .asy files.
> 
> Does Windows invoke LT Spice to make the thumbnail images?

Sounds like you've created an association between .asy and .asc files and 
LTSpice. Not a problem, is it? After all, .asc files are  pretty much 
obsolete from the WP POV anyway. I'd guess LTS is the only app on your 
system that still uses them.




-- 
This message may be freely reproduced without limit or charge only via 
the Usenet protocol. Reproduction in whole or part through other 
protocols, whether for profit or not, is conditional upon a charge of 
GBP10.00 per reproduction. Publication in this manner via non-Usenet 
protocols constitutes acceptance of this condition.

[toc] | [prev] | [next] | [standalone]


#511565

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-07-20 07:08 -0700
Message-ID<6nq3ld9cisaf7358tp2qh10edvtccie42a@4ax.com>
In reply to#511538
On Fri, 20 Jul 2018 10:10:37 -0000 (UTC), Cursitor Doom
<curd@notformail.com> wrote:

>On Thu, 19 Jul 2018 17:57:53 -0700, John Larkin wrote:
>
>> If I single-click on an .asc file in Windows Explorer, I see the
>> schematic thumbnail at the bottom of the window. How does that work?
>> 
>> It works for symbols too, .asy files.
>> 
>> Does Windows invoke LT Spice to make the thumbnail images?
>
>Sounds like you've created an association between .asy and .asc files and 
>LTSpice. 

.asc yes, but I've never deliberately associated .asy files.


Not a problem, is it? After all, .asc files are  pretty much 
>obsolete from the WP POV anyway. I'd guess LTS is the only app on your 
>system that still uses them.

Yes, and I can always drag any file onto the Crimson Editor icon if I
want to see it. I was just impressed that Windows makes little
schematic icons (and accurate, up-to-date ones, not static pics) from
my various .asc files, even ones with included libraries and special
symbols. 

Maybe Spice leaves an icon behind, for every circuit, when it's run.
It can't be created in real time as I prowl around in an Explorer
window.

Anyway, it's cool.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#511595

FromCursitor Doom <curd@notformail.com>
Date2018-07-20 16:50 +0000
Message-ID<pit3se$b1v$1@dont-email.me>
In reply to#511565
On Fri, 20 Jul 2018 07:08:21 -0700, John Larkin wrote:


> Anyway, it's cool.

Sounds it! As a Linux user I'm denied such delights, though.




-- 
This message may be freely reproduced without limit or charge only via 
the Usenet protocol. Reproduction in whole or part through other 
protocols, whether for profit or not, is conditional upon a charge of 
GBP10.00 per reproduction. Publication in this manner via non-Usenet 
protocols constitutes acceptance of this condition.

[toc] | [prev] | [next] | [standalone]


#511681

Frombitrex <user@example.net>
Date2018-07-21 10:49 -0400
Message-ID<fKH4D.534107$nq5.491974@fx36.iad>
In reply to#511595
On 07/20/2018 12:50 PM, Cursitor Doom wrote:
> On Fri, 20 Jul 2018 07:08:21 -0700, John Larkin wrote:
> 
> 
>> Anyway, it's cool.
> 
> Sounds it! As a Linux user I'm denied such delights, though.
> 
> 
> 
> 

Not really, depending on your distribution.

<https://developer.gnome.org/integration-guide/stable/thumbnailer.html.en>

[toc] | [prev] | [next] | [standalone]


#511680

FromMartin Riddle <martin_ridd@verizon.net>
Date2018-07-21 10:02 -0400
Message-ID<c6f6ldtk1k3dfi0n4n1t13or3tffkrcmt6@4ax.com>
In reply to#511565
On Fri, 20 Jul 2018 07:08:21 -0700, John Larkin
<jjlarkin@highlandtechnology.com> wrote:

>On Fri, 20 Jul 2018 10:10:37 -0000 (UTC), Cursitor Doom
><curd@notformail.com> wrote:
>
>>On Thu, 19 Jul 2018 17:57:53 -0700, John Larkin wrote:
>>
>>> If I single-click on an .asc file in Windows Explorer, I see the
>>> schematic thumbnail at the bottom of the window. How does that work?
>>> 
>>> It works for symbols too, .asy files.
>>> 
>>> Does Windows invoke LT Spice to make the thumbnail images?
>>
>>Sounds like you've created an association between .asy and .asc files and 
>>LTSpice. 
>
>.asc yes, but I've never deliberately associated .asy files.
>
>
>Not a problem, is it? After all, .asc files are  pretty much 
>>obsolete from the WP POV anyway. I'd guess LTS is the only app on your 
>>system that still uses them.
>
>Yes, and I can always drag any file onto the Crimson Editor icon if I
>want to see it. I was just impressed that Windows makes little
>schematic icons (and accurate, up-to-date ones, not static pics) from
>my various .asc files, even ones with included libraries and special
>symbols. 
>
>Maybe Spice leaves an icon behind, for every circuit, when it's run.
>It can't be created in real time as I prowl around in an Explorer
>window.
>
>Anyway, it's cool.

Even cooler is if you turn on the preview pane, it shows the
schematic.

Cheers

[toc] | [prev] | [next] | [standalone]


#511550

FromMiguel Giménez <me@privacy.net>
Date2018-07-20 14:18 +0200
Message-ID<pisk04$snc$1@gioia.aioe.org>
In reply to#511488
El 20/07/2018 a las 2:57, John Larkin escribió:
> 
> 
> If I single-click on an .asc file in Windows Explorer, I see the
> schematic thumbnail at the bottom of the window. How does that work?
> 
> It works for symbols too, .asy files.
> 
> Does Windows invoke LT Spice to make the thumbnail images?
> 
> 

In Windows an application can register as a previewer for recognized 
types, see:

https://docs.microsoft.com/en-us/windows/desktop/shell/how-to-register-a-preview-handler

In my system Windows calls C:\Program Files\LTC\LTspiceXVII\ASCx64.dll 
to get the thumbnail of ASC files.

-- 
Saludos
Miguel Giménez

[toc] | [prev] | [next] | [standalone]


#511567

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-07-20 07:11 -0700
Message-ID<37r3ld9ok5ue4d87raccs68vhr3thhkecd@4ax.com>
In reply to#511550
On Fri, 20 Jul 2018 14:18:50 +0200, Miguel Giménez <me@privacy.net>
wrote:

>El 20/07/2018 a las 2:57, John Larkin escribió:
>> 
>> 
>> If I single-click on an .asc file in Windows Explorer, I see the
>> schematic thumbnail at the bottom of the window. How does that work?
>> 
>> It works for symbols too, .asy files.
>> 
>> Does Windows invoke LT Spice to make the thumbnail images?
>> 
>> 
>
>In Windows an application can register as a previewer for recognized 
>types, see:
>
>https://docs.microsoft.com/en-us/windows/desktop/shell/how-to-register-a-preview-handler
>
>In my system Windows calls C:\Program Files\LTC\LTspiceXVII\ASCx64.dll 
>to get the thumbnail of ASC files.

Oh, then it does create the icons in real time, as I prowl around in
the Explorer window. It's sure fast, much faster than starting up
Spice.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web