Hi, Patrik. Short answer: Yes.
You can use the Get(ApplicationVersion) functioin to determine if the script is being run by Server, Pro, Go, etc. -- Check the documentation for the exact results you need to work with.
Thanks a lot!
Note also that the user name for a scheduled script is the name of the schedule.
(user name - not account name)
So if you have auto-enter values or you wish to log the action of a scheduled script, you can capture get( userName)
Get( Username) is often used in auto-enter CreatedBy and ModifiedBy fields.
Another option, though the Get ( AppVersion) is probably your best bet is that you can pass a script parameter on a scheduled script.
Thanks a lot guys this really helped!
One last option is: when running the script as part of a scheduled process from the server you could specify a script parameter telling the script that it is being ran from the server.
FileMaker gives you so many options :-)