ACADtweet - Twitter (.Net) in AutoCAD
-------------------------------------
(C)2011 CAD Studio, www.cadstudio.cz


ACADtweet is a .NET utility allowing to send and read Twitter messages (statuses)
directly from your AutoCAD command line. It is a replacement for our old Lisp
utility "Twitter" which does not work with the new Twitter OAuth/xAuth API.

Setup:
Copy the ACADtweet.dll and TwitterVB.dll to your AutoCAD support folder.
Load the ACADtweet.dll in your AutoCAD session (with the _NETLOAD command).
You can also load the ACADtweet.cuix menu (_CUIXLOAD) to display the app ribbon.

For AutoCAD 2012: copy the whole "ACADtweet.bundle" folder as
a subfolder to:
C:\Program Files\Autodesk\ApplicationPlugins
or (XP):
C:\Documents and Settings\<usrname>\Application Data\Autodesk\ApplicationPlugins
or (Win7/Vista):
C:\Users\<usrname>\AppData\Roaming\Autodesk\ApplicationPlugins
-- ACADtweet will be loaded automatically (see _APPAUTOLOADER)

Usage:
Run the TWITTLOGIN command and enter your Twitter username and password for this
session, and optionally save the resulting authorization token also for the future
sessions - in the Registry (your password is never stored). You can also use the
LISP function (twittlogin) - returns T if successful, nil if not:
(twittlogin "myname" "mypassword" saveToken)

Then use the TWITTER command to send an update (tweet, status, message) to your
Twitter page (timeline). You can also use the LISP function (twitter) to automate
postings (again, returns T or nil):
(twitter "mymessage")

Run the TWITTLAST command to read the last tweet (post) in the timeline of your
channel ("") or the specified Twitter channel (@User). You can also use the LISP
function (twittlast) to automate access to the timeline (returns the tweet as a
string):
(twittlast "channelname")

The name and password are not stored anywhere. The next TWITTER/TWITTLAST commands
do not ask for the name+password next time in the same AutoCAD session. You can
also store the oAuth token for all subsequent sessions.

NB:
You can set the proxy name+password in the Registry if you need them for your
internet connection:
HKCU\Software\VB and VBA Program Settings\ACADTwitter\Settings
ProxyUsername
ProxyPassword

NB:
The source app of your tweet will be displayed as "ACADtweet" in the Twitter timeline

NB:
Both 32-bit and 64-bit OSs were tested. .NET Framework 3.5 may be required.

Version history
1.2: ribbon added; escapes in command prompts fixed
1.1: new format of LISP parameters, updated login mechanism


See ACADtweet updates on:
http://www.cadstudio.cz/en/apps/acadtweet/

------------------------------------------
CAD Studio a.s.
www.cadstudio.cz   www.cadforum.cz
info@cadstudio.cz
Czech Rep.
