New Message: Can't compile

webmaster at userland.com webmaster at userland.com
Fri Apr 21 08:47:59 CDT 2006


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$1723

By: Eric Kemsley (ekemsley at esu13.org)

I'm trying to run the flaunch script in QuickScripts, but get a CAn't compile this script due to syntax error. Here is the script:

if system.environment.isWindows //make sure the flaunch app is running

 if not sys.appisrunning ("flaunch.exe")

 local (frontierPath = Frontier.getProgramPath ())

 local (frontierFolder = file.folderFromPath (frontierPath))

 local (flaunchPath = frontierFolder + "Extras\\keepFrontierRunning\\win\\flaunch.exe")

 launch.appWithDocument (flaunchPath, frontierPath)

if user.webserver.stats.hits > 3500

 if Frontier.countThreads () == 1

 local (day, month, year, hour, minute, second)

 date.get (clock.now (), @day, @month, @year, @hour, @minute, @second)

 if minute != 0 //don't quit while hourly tasks are running

 filemenu.save ()

 filemenu.quit ()

 filemenu.quit ()

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list