This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Attributes : System Attribute List : AutoFetchCommand||aTbRef Site Map|
|Attribute Data Type:||string|
|Attribute Default Value:||(not set - empty string)|
|Attribute Inherited from Preferences?||No|
The attribute AutoFetchCommand extends AutoFetch with new capabilities.
If AutoFetchCommand is empty (the default), AutoFetch behaves as previously; the contents of the specified URL are stored in the note's text.
AutoFetchCommand is an action, and thus uses the same syntax as agent actions and rules. It runs when the file is loaded, exported, and possibly during idle period. Typically, AutoFetchCommand will invoke an outside program, perhaps fetching some information from the user's hard disk or network. For example:
will replace the text of the note with a list of all the files currently in the user's Documents folder.
will run the shell script myDatabaseQuery, passing it the value of the note's TrackingID attribute as an argument.
|Up: System Attribute List|
|Previous: AutoFetch||Next: Badge|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]