Search found 2 matches

by midiway
Fri Jul 28, 2017 9:35 pm
Forum: Photoshop Scripting - General Discussion
Topic: FontDrop - create text layers from on-line fonts
Replies: 0
Views: 4454

FontDrop - create text layers from on-line fonts

Hi

I created an app that basically has a JSX script that creates a text layer in Photoshop, Illustrator or InDesign by drag'n'dropping the desired font.
Check it at: http://fontdrop.me/

Hope it inspiring for PS-Scripts developers
by midiway
Wed Oct 26, 2016 10:30 pm
Forum: Help Me
Topic: setInterval
Replies: 1
Views: 2990

setInterval

I need to do a task every N seconds, so I need something like setInterval as we do have in standard browsers.
Tried the following:

Code: Select all

$.setTimeout = function(func, time) {
while(true)
{
$.sleep(time);
func();
}
};
but

Code: Select all

$.sleep(time);
block the UI, as it is synchronous..

any alternative?