Applescript can do it, but you can also use a plugin called oAzium Events. You can set the date, time, database, and scripts. There documentation has many examples to follow.
We seem to run into a bit of problems with Date and Times. We use calculations to determine the time a job has spent in our plants. It is a simple calculation. Plant Out Date - Plant In Date. This also affects our SQL upload because the records are found by the last time uploading was ran and the record modification date/time.
However when power goes out at a plant the clocks for the computer get set to the Mac 1/1/1907 time. We thought we could correct the issue by setting all the Clocks to Set Automatically in System Prefences.
It does great so far. However it seems that it takes a while for the clock to realize the date is wrong and then correct itself. A few records are created with the wrong date.
Using Apple Script I was able to write.
set t to (do shell script "curl http://www.timeanddate.com/worldclock/city.html?n=137")
set tid to text item delimiters
set text item delimiters to "Current time"
set ht to text item 2 of t
set text item delimiters to tid
tell ht to set tm to word 11
tell ht to set td to word 12
tell ht to set ty to word 13
if tm = "April" then
set tn to "4" & "/" & td & "/" & ty
else if tm = "January" then
set tn to "1" & "/" & td & "/" & ty
else if tm = "February" then
set tn to "2" & "/" & td & "/" & ty
else if tm = "March" then
set tn to "3" & "/" & td & "/" & ty
else if tm = "May" then
set tn to "5" & "/" & td & "/" & ty
else if tm = "June" then
set tn to "6" & "/" & td & "/" & ty
else if tm = "July" then
set tn to "7" & "/" & td & "/" & ty
else if tm = "August" then
set tn to "8" & "/" & td & "/" & ty
else if tm = "September" then
set tn to "9" & "/" & td & "/" & ty
else if tm = "October" then
set tn to "10" & "/" & td & "/" & ty
else if tm = "November" then
set tn to "11" & "/" & td & "/" & ty
else if tm = "December" then
set tn to "12" & "/" & td & "/" & ty
end if
tell application "FileMaker Pro"
tell database "Login"
set cell "Global Text 1" to tn
end tell
end tell
Filemaker then compares the Status Current Time to Global Text 1 time. If it is off it shows a message about time problems. Does anybody have any other ideas and how do you deal with any Windows computers?
I have used the same driver, printer, and labelmaker. It all worked fine with no problems. Changing from a 400Mhz to a 1.9Ghz caused this problem. Yes it is processor speed.
I thought I would never have this problem with FMP 5.5.
We were recently running FMP 5.5 on a Mac OS Tiger eMac with 400 Mhz processor. The printing was real slow, to a HP Direct Jet then a thermal label maker. 10 Labels took minutes.
We upgraded the computer to an 1.9Ghz and 512MB Ram iMac. The printing speed has been cut in half. However the printing seems to be too fast. About 1 in 10 lables has garabge (blank or ?>>>>?>> on it). I have added 2 to 3 second pauses between labels in order to stop this.
This seems to slow down the printing enough to print correctly but slows the printing down. In addition it brings up screens that they should not see during the pause. I am not the best with freeze windows or tricks to lock the windows in place.
Is there something else I can do besides pauses to elminate the garabge and keep the speed. Does FMP 6 have this problem as well?
Thank you for your insight. Entourage was in the list. The problem was Entourage, as far as I could find, does not have preference to make a default. When first installing Entourage it will ask if you want to make it the default. After the reinstall it did not ask me that.
Using your help I went into the Mac OSX Mail and was able to set the default to Entourage. It was defaulted to use the Outlook Express under the Classic Startup. Thanks again. Works great now.
Running FMP 5.5 Server on mainly Mac platform.
One client(Mac OS 10.3) can not use the send mail feature.
Nothing happens when they click on a button used for sending an email. It creates an email with a few fields added into the message. It works on any other client. I have noticed this before and was only able to fix by updating to FMP 6. I no longer have that option.
I have reinstalled Filemaker 5.5 and the v2 updater. I reinstalled Entourage Office X. Nothing.
You need to set up the root account through NetInfo and login as root to install the 5.5v2 update.
I have 10.3 that does not need it done as root and there are some that do. I am unable to find a way around it, but logging as the root works.