QQ自动发送+@好友功能+tencent://功能
2017-06-05 14:43
597 查看
1.取出全部标题
D2007版本
procedure TForm1.Button1Click(Sender: TObject);
var
hCurrentWindow:HWnd;
szText: array[0..254] of char;
szClassName: array[0..254] of char;
begin
ListBox1.Items.Clear;
hCurrentWindow := GetWindow(Handle, GW_HWNDFIRST);
while hCurrentWindow <> 0 do
begin
GetClassName(hCurrentWindow, @szClassName, 255);
if (GetWindowText(hCurrentWindow, @szText, 255)>0) and
(String(szClassName)='TXGuiFoundation') and
(String(szText)<>'TXFloatingWnd') and
(String(szText)<>'TXMenuWindow') then
ListBox1.Items.Add(StrPas(@szText));
hCurrentWindow:=GetWindow(hCurrentWindow, GW_HWNDNEXT);
end;
end;
DXE10.2版本
procedure TForm1.Button1Click(Sender: TObject);
var
hCurrentWindow:HWnd;
szText: array[0..254] of WideChar;
szClassName:array[0..254] of WideChar;
begin
ListBox1.Items.Clear;
hCurrentWindow := GetWindow(Handle, GW_HWNDFIRST);
while hCurrentWindow <> 0 do
begin
GetClassName(hCurrentWindow, @szClassName, SizeOf(szClassName));
if (GetWindowText(hCurrentWindow, @szText, SizeOf(szText))>0)
and (String(szClassName)='TXGuiFoundation')
and (String(szText)<>'TXFloatingWnd') and
(String(szText)<>'TXMenuWindow')
then
ListBox1.Items.Add(StrPas(szText));
hCurrentWindow:=GetWindow(hCurrentWindow, GW_HWNDNEXT);
end;
end;
========================QQ tencent:// 功能=======================================
增加好友
tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=1543636781&website=www.oicqzone.com
打开好友对话窗口
tencent://Message/?Uin=1543636781&websiteName=www.oicqzone.com&Menu=yes
tencent://Message/?Menu=YES&Uin=1543636781&websiteName=im.qq.com
tencent://message/?Menu=yes&uin=1543636781
tencent://message/?&uin=1543636781
tencent://message/?Menu=yes&uin=1543636781&fuin=513187410
临时会话
tencent://Message/?Uin=1543636781&websiteName=qzone.qq.com&Menu=yes
打开群窗口(http://qun.qq.com/join.html生成群打开代码)
http://shang.qq.com/wpa/qunwpa?idkey=c3a6393707f0ef5c2ec729b8100d2d8f927c8938a4423db86f64a3c02a7ab0b3
CMD打开命令
start tencent://Message/?Uin=1543636781
未验证通过的:
tencent://groupwpa/?subcmd=all¶m=3b2024304edeb7e34e9e0774bf7c6ec54bac90336c6f2736f1dad41fd966783b
tencent://groupwpa/?subcmd=all¶m=58592705
D2007版本
procedure TForm1.Button1Click(Sender: TObject);
var
hCurrentWindow:HWnd;
szText: array[0..254] of char;
szClassName: array[0..254] of char;
begin
ListBox1.Items.Clear;
hCurrentWindow := GetWindow(Handle, GW_HWNDFIRST);
while hCurrentWindow <> 0 do
begin
GetClassName(hCurrentWindow, @szClassName, 255);
if (GetWindowText(hCurrentWindow, @szText, 255)>0) and
(String(szClassName)='TXGuiFoundation') and
(String(szText)<>'TXFloatingWnd') and
(String(szText)<>'TXMenuWindow') then
ListBox1.Items.Add(StrPas(@szText));
hCurrentWindow:=GetWindow(hCurrentWindow, GW_HWNDNEXT);
end;
end;
DXE10.2版本
procedure TForm1.Button1Click(Sender: TObject);
var
hCurrentWindow:HWnd;
szText: array[0..254] of WideChar;
szClassName:array[0..254] of WideChar;
begin
ListBox1.Items.Clear;
hCurrentWindow := GetWindow(Handle, GW_HWNDFIRST);
while hCurrentWindow <> 0 do
begin
GetClassName(hCurrentWindow, @szClassName, SizeOf(szClassName));
if (GetWindowText(hCurrentWindow, @szText, SizeOf(szText))>0)
and (String(szClassName)='TXGuiFoundation')
and (String(szText)<>'TXFloatingWnd') and
(String(szText)<>'TXMenuWindow')
then
ListBox1.Items.Add(StrPas(szText));
hCurrentWindow:=GetWindow(hCurrentWindow, GW_HWNDNEXT);
end;
end;
========================QQ tencent:// 功能=======================================
增加好友
tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=1543636781&website=www.oicqzone.com
打开好友对话窗口
tencent://Message/?Uin=1543636781&websiteName=www.oicqzone.com&Menu=yes
tencent://Message/?Menu=YES&Uin=1543636781&websiteName=im.qq.com
tencent://message/?Menu=yes&uin=1543636781
tencent://message/?&uin=1543636781
tencent://message/?Menu=yes&uin=1543636781&fuin=513187410
临时会话
tencent://Message/?Uin=1543636781&websiteName=qzone.qq.com&Menu=yes
打开群窗口(http://qun.qq.com/join.html生成群打开代码)
http://shang.qq.com/wpa/qunwpa?idkey=c3a6393707f0ef5c2ec729b8100d2d8f927c8938a4423db86f64a3c02a7ab0b3
CMD打开命令
start tencent://Message/?Uin=1543636781
未验证通过的:
tencent://groupwpa/?subcmd=all¶m=3b2024304edeb7e34e9e0774bf7c6ec54bac90336c6f2736f1dad41fd966783b
tencent://groupwpa/?subcmd=all¶m=58592705
相关文章推荐
- QQ每次启动后点出的每位好友他都会自动发送信息
- PHP实现自动发送邮件功能代码(qq 邮箱)
- 网页分享功能 支持 微信二维码 qq空间 qq好友 新浪微博 百度贴吧 豆瓣 人人
- 新浪微博自动发送微博 功能已实现(net)
- C#实现自动发送QQ消息
- 如何实现象qq那样保存密码,自动登陆的功能(csdn整理)
- QQ超时不能刷新好友接收发送信息
- 通过.NET实现后台自动发送Email功能的代码示例
- qq 发送链接自动解析描述
- Asp.net中邮件自动发送功能
- QQ点击某个好友,QQ自动关闭
- Python小练习-自动登录人人发送消息并返回好友列表
- winform模拟qq聊天界面的小功能textbox1输入自动跳到textbox2
- 自动发送特定信息到首页公告栏功能的配置
- 通过.NET实现后台自动发送Email功能的代码示例
- SpringBoot中发送QQ邮件功能的实现代码
- SWING实现新浪微博客户端(1)自动登录功能 (2)提取关注好友信息
- JS仿QQ好友列表展开、收缩功能(第二篇)
- 使用selenium自动发送QQ邮件(二)
- java IP地址,端口校验+下拉菜单选框监听事件+模拟QQ发送按钮旁的小箭头功能