AppleScript成功实现FaceTime语音,FaceTime视频,FaceTime数据筛选,检测手机号是否开通FaceTime
FaceTime是苹果公司iOS和macOS(以前称Mac OS X或OS X)内置的一款视频通话软件,通过Wi-Fi或者蜂窝数据接入互联网,在两个装有FaceTime的设备之间实现视频通话。其要求通话双方均具有装有FaceTime的苹果设备,苹果ID以及可接入互联网的3G/4G/5G或者Wi-Fi网络。
一、Windows电脑上部署苹果系统(Mac OS)来实现FaceTime的正常使用:
/*
注意:苹果的生态是一套完整的闭环,每一个苹果硬件产品都有独一无二的序列号、主板序列号和
UUID,它们都有和机型ID对应的编码规则,这点是非常确定的,所以三码不能胡乱套用,换句话说,不论你是本地电脑U盘安装苹果系统、镜像恢复安装苹果系统、Vmware安装苹果系统,你所安装的苹果系统都必须和你当前电脑的机型、CPU架构、主板、显卡等等硬件配套,并且与机型
ID 匹配。否则你将无法使用App id激活FaceTime应用 或 App id登录FaceTime应用后提示鉴定错误、无法登陆、无法拨打语音或视频等一系列的问题。*/
1.U盘安装苹果系统,刻录U盘进行安装是主流选择,这样安装调试好的黑苹果Mac
os问题最少,也较为稳定: 下载黑苹果安装镜像 → 刻录到U盘 → 调整配置文件 → 格式化准备好的硬盘 → 重启修改BIOS设置 →
使用U盘引导 → 安装黑苹果到目标硬盘 → 进入系统后调试
2.镜像恢复安装苹果系统,在Windows下使用镜像恢复软件安装:下载恢复版镜像 → 重启修改BIOS设置 → 安装镜像恢复软件 → 格式化准备好的硬盘 → 拷贝EFI文件 → 执行镜像恢复 → 添加UEFI启动项 → 进入系统后调试。
3.Windows下通过安装Vmware虚拟机,在Vmware虚拟机下安装Mac OS苹果系统,通过特定工具以及技术洗白苹果(安装的苹果系统都必须和你当前电脑的机型、CPU架构、主板、显卡等硬件配套,并且与机型 ID 匹配。否则你将无法使用App id激活FaceTime应用或App id登录FaceTime应用后提示鉴定错误、无法登陆、无法拨打等等问题。)
二、FaceTime激活、检测指定的数据是否开通了Facetime
1.使用app id激活FaceTime应用、语音拨打、视频通话的使用(新老app id皆可登录FaceTime;FaceTime数据检测,拨打语音,拨打视频,全套部署100%不封ID,有偿提供全套部署+检测程序可联系企鹅Q:2632313923 )
(1)使用app id登录FaceTime应用后,确认下App id是否成功的激活了Mac OS苹果系统上的 FaceTime应用
(2)输入开通了FaceTime应用的手机号或邮箱号app id进行语音或者视频通话.
(3)确定你的苹果系统能正确的加载并识别音响、耳机、摄像头等硬件设备。
(4)检测程序已升级优化,检测 99%精准,0.3秒一封(1分钟大约检测150-180封)导入需要检测数据后,程序自动记录保存开启ft的和未开启ft的数据
2.实现全自动检测手机号或邮箱号App ID是否启用或开通FaceTime
/* 注意:如果是手机号是不是FaceTime数据,那么需要在手机号的前缀 +国家代码即可,如果是检测邮箱号是否imessage则不需要加任何前缀. */
检测手机数据是否开启facetime代码示例:
1 --get_ui()
2 facetime()
3
4
5 --获取facetime应用所有ui
6 on get_ui()
7 tell application "FaceTime" to activate
8 tell application "System Events"
9 tell process "FaceTime"
10 tell window 1
11 entire contents
12 end tell
13 end tell
14 end tell
15 end get_ui
16
17
18
19 on facetime()
20 tell application "Finder" to activate
21
22 tell application "Finder"
23 set chosenfile to (choose file)
24 end tell
25
26
27 tell application "FaceTime"
28 tell application "FaceTime" to activate
29
30 set phoneData to read chosenfile
31 set cards to paragraphs of phoneData
32 repeat with phone in cards
33
34 set num to the length of phone
35 if (num > 0) then
36 my check_data(phone)
37 delay 1
38 end if
39 end repeat
40
41 end tell
42 end facetime
43
44
45 # 检测数据是否开通或启用facetime
46 on check_data(phone)
47 tell application "System Events"
48 tell process "FaceTime"
49 --核心代码...
50 end tell
51 end tell
52 end check_data
53
54
55
56 -- 记录有效数据
57 on WritePhone(the_phone)
58 set num to the length of the_phone
59 if (num > 0) then
60 set fileName to date string of (current date)
61 set logFilePath to my current_folder_path() & "success/检测成功的FaceTime数据.txt"
62 set this_file to (POSIX file logFilePath as string)
63 set this_story to the_phone & "
64 "
65 try
66 set fp to open for access this_file
67 set myText to read fp
68
69 if (myText does not contain the_phone) then
70 my write_to_file(this_story, this_file, true, true)
71 end if
72 on error
73 my write_to_file(this_story, this_file, true, true)
74 end try
75 end if
76 end WritePhone
77
78
79
80 -- 写入文件
81 on write_to_file(this_data, target_file, append_data, append_end)
82 try
83 set the target_file to the target_file as text
84 set the open_target_file to ¬
85 open for access file target_file with write permission
86
87 if append_data is false then
88 set eof of the open_target_file to 0
89 write this_data to the open_target_file starting at eof
90 else if append_end is false then
91 try
92 set fp to open for access target_file
93 set myText to read fp
94 set eof of the open_target_file to 0
95 write this_data to the open_target_file starting at eof
96 write myText to the open_target_file starting at eof
97 on error
98 write this_data to the open_target_file starting at eof
99 end try
100 else
101