Have LC Call another program to run at specific time intervals

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Have LC Call another program to run at specific time intervals

Post by trags3 » Mon Aug 28, 2023 1:05 am

Hi Is it possible to have LC run another .exe file at specific time intervals?
Tom

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9850
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Have LC Call another program to run at specific time intervals

Post by FourthWorld » Mon Aug 28, 2023 4:44 am

Yes. The shell function can run command line apps, the launch command can launch GUI apps. LC has extensive features for time.

One of the simplest ways to have something happen at a specified interval is to use the "send <command name> in <interval> seconds". See the Dictionary entry for the send command for details.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”