Interaction Values

Learn how to create Add-Ins of all types for V3-R and share your own tutorials with others.
1 post Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Interaction Values
CodenStuff
Add-in Interaction Values

This topic contains a list of currently available commands which you can use to interact with V3-R in different ways.

At the moment only one is available which allows you to get the HTMLDocument of the currently focused tabs webpage.
Code: Select all
SlotAddIn.Interaction.GetDoc
You can use that to get the page source, url, elements, history etc and use that information within your add-in. The "V3WebImageViewer" and "WebHistoryRecorder" demo add-ins bundled with the test release use this command and demonstrate a couple of ways how that information can be used.

You can get the users V3R profile information for use in your add-ins with the following values:
Code: Select all
SlotAddIn.Interaction.Avatar
SlotAddIn.Interaction.CnsID
SlotAddIn.Interaction.Email
SlotAddIn.Interaction.Facebook
SlotAddIn.Interaction.Google
SlotAddIn.Interaction.Msn
SlotAddIn.Interaction.Name
SlotAddIn.Interaction.Twitter
SlotAddIn.Interaction.Yahoo
SlotAddIn.Interaction.YouTube
For example if I wanted to display the users email address in a textbox I would use:
Code: Select all
Textbox1.Text = SlotAddIn.Interaction.Email
More interactive features will be available in the next day or two and posted here.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
1 post Page 1 of 1
Return to “Tutorials”