GSAK (Geocaching Swiss Army Knife)
Contents - Index

IsOwner (function)

IsOwner() : Boolean

This function has no parameters. Depending on the active table this function will indicate ownership of the current cache or log. It should be used in macros where you need to know if the current user is the owner of the cache or log. It uses the same logic applied in your "Tools=>Options=>General" for matching so it will always be in sync with the users current settings. For example, to display the log text of all logs that you made on the current cache:

Table Active=Logs Scope=parent
While not($_EOL)
  If IsOwner()
    MsgOK Msg=$d_lText
GoTo Position=Next

Alpha List         Category List
Copyright 2004-2016 CWE Computer Services  
Privacy Policy Contact