×

Universal Variables

iOS 14 +

Notes

Manipulate universal variables. An internet connection is required. Public values are readable and writable by everyone. Protected values are readable by everyone and writable by the creator. Private values are readable and writable by only the creator. Set overwrites a value. Get retrieves a value. Add adds an item to a value. Delete deletes a value. Remove deletes an item from a value. Get all retrieves the name of all the values you have set.

Syntax

universalVariables(operation: <#Enumeration (UniversalVariableOperation)#>, setValue: <#Variable#>, setName: <#String (Allows Variables)#>, setReturnPrevious: <#Boolean#>, getName: <#String (Allows Variables)#>, addValue: <#Variable#>, addName: <#String (Allows Variables)#>, addPosition: <#Enumeration (UniversalVariablesListPosition)#>, deleteName: <#String (Allows Variables)#>, addIndex: <#Integer#>, removePosition: <#Enumeration (UniversalVariablesListPosition)#>, removeIndex: <#Integer#>, removeName: <#String (Allows Variables)#>, database: <#Enumeration (UniversalVariablesDatabase)#>)

Example

universalVariables(operation: set, setValue: Clipboard, setName: "Clipboard Value", setReturnPrevious: true, getName: """", addValue: "", addName: """", addPosition: "", deleteName: """", addIndex: "", removePosition: "", removeIndex: "", removeName: """", database: public)