.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Applescript PBEM support (http://forum.shrapnelgames.com/showthread.php?t=32709)

Gandalf Parker January 16th, 2007 04:43 PM

Re: Mac OSX Automator Workflow for PBEM
 
PashaDawg:
Is that a mac need? linux? windows?

PashaDawg January 16th, 2007 07:29 PM

Re: Mac OSX Automator Workflow for PBEM
 
Hi Gandalf:

I have a Mac. I have an automator "workflow" that I posted earlier. It makes hosting PBEM a lot faster. It now takes less than 5 minutes to host the turn and get all the emails out. But it could be quicker if I did not need to manually add the turn number to each email subject line. I am not cranky, but why not do even better! http://forum.shrapnelgames.com/images/smilies/happy.gif

Maybe I will take a look at some of the websites about using Automator.

Pasha

Gandalf Parker January 16th, 2007 08:43 PM

Re: Mac OSX Automator Workflow for PBEM
 
If the game switch tells it to output a scoreboard file then you can get the turn from that.

Or you can do a check of the .2h files with
dom3 --verify gamename
and the turn number will be in the tiny .chk file

PashaDawg January 16th, 2007 10:38 PM

Re: Mac OSX Automator Workflow for PBEM
 
Hmm. A little too advanced for my lawyer brain. http://forum.shrapnelgames.com/images/smilies/happy.gif

Psientist January 17th, 2007 07:35 PM

Re: Mac OSX Automator Workflow for PBEM
 
PashaDawg, check my code - I've implemented the Turn Number option already.

It's the incoming mail-sorter and web-based status page that I'll be working on.

Gandalf, i've used the *nix mail sorters. I don't think it will work on the OSX, since the Mail.app program establishes a direct pop3 connection to the mail server, bypassing any *nix mail processing (e.g., the mac is not being used as a mail server). I'm sure there's a way to do it in applescript with mail rules, I just haven't had time to play with it.


All times are GMT -4. The time now is 08:33 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.