Image won't display from Text Expander

Discussion, questions and support.
Post Reply
jrwf555
Posts: 50
Joined: Nov 6th, ’17, 04:29

Post by jrwf555 » Jan 21st, ’25, 21:53

A script I created a long time ago which inserts an image has stopped mysteriously stopped working. I have adjusted its file location, size, but I just get a blank where the rest of the script inserts as normal. The image is a simple logo that I use daily. Can you help? I'm baffled.

Here's a simplified test version which still produces the same results:

-----------------
John Farnsworth
Dunedin
TEST IMAGE 6kb
Image file %FILE_ChinesetherapistZoom_jpg%

The output is this:
-----------------
John Farnsworth
Dunedin
TEST IMAGE 6kb
Image file

John (Dunedin, NZ, as you'll have worked out!)
User avatar
Tom
Posts: 865
Joined: Nov 24th, ’15, 23:39

Post by Tom » Jan 25th, ’25, 01:44

It seems that the file cannot be found. Try entering the macro and selecting the file again.
jrwf555
Posts: 50
Joined: Nov 6th, ’17, 04:29

Post by jrwf555 » Jan 26th, ’25, 08:04

Tom, thanks for your reply. I did what you suggested, but no joy. I changed the folder (which was originally in pCloud - used to work fine) to local drive, but still no joy. Here's another example, if you're able to help:
I use SEND then the following short script after using INSERT IMAGE from the INSERT DATA dropdown:

Test file with image
on the line following this
----------
%FILE_FastKeyImages_%

It returns this:

Test file with image
on the line following this
----------

Can you help? The image, incidentally, is a tiny png file (less than 2kb)

John
User avatar
Tom
Posts: 865
Joined: Nov 24th, ’15, 23:39

Post by Tom » Jan 26th, ’25, 09:59

In which editor do you experience this? Can you try in WordPad?
Also, check the Paste Delay in Preferences/Text Expander/Advanced - try setting it to 500ms or more.
jrwf555
Posts: 50
Joined: Nov 6th, ’17, 04:29

Post by jrwf555 » Feb 4th, ’25, 21:47

Thanks for your reply, Tom. I had to experiment quite a bit before replying but your question about Paste Delay provided the solution - although in reverse to what you suggested. I use FastKeys on two laptops. The second, I discovered, could insert the image without trouble - but the paste delay was set to 40ms not 400ms on the other laptop, or 500ms as you'd suggested.

As soon as I reduced the delay time, the insertion was immediate and repeatable. With luck, this is the solution.

I will only add (since other members may have the same quandary), I'm really not clear about how Paste Delay works - so what, typically, is a good delay number or what happens when you vary it. Since I like the FK videos, it could be a useful subject for there.

Thanks again,
John
Post Reply