Update Subscribe.ps1
This commit is contained in:
parent
f6c8939e95
commit
1bfa71889e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
Add-Type -AssemblyName System.Windows.Forms
|
Add-Type -AssemblyName System.Windows.Forms
|
||||||
$o=New-Object -ComObject WScript.Shell
|
$o=New-Object -ComObject WScript.Shell
|
||||||
$url = -join($channel,"?sub_confirmation=1")
|
$url = -join($channel,"?sub_confirmation=1")
|
||||||
Start-Process $url
|
Start-Process "$url"
|
||||||
Start-Sleep -Seconds 3
|
Start-Sleep -Seconds 3
|
||||||
[System.Windows.Forms.SendKeys]::SendWait('{TAB}'*2)
|
[System.Windows.Forms.SendKeys]::SendWait('{TAB}'*2)
|
||||||
[System.Windows.Forms.SendKeys]::SendWait('{ENTER}')
|
[System.Windows.Forms.SendKeys]::SendWait('{ENTER}')
|
||||||
|
|
Loading…
Reference in a new issue