Talk:Skript, mis teeb sama mis WinToFLash: Difference between revisions
From ICO wiki
Jump to navigationJump to search
No edit summary |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 18: | Line 18: | ||
#5 Show Retry and Cancel buttons. | #5 Show Retry and Cancel buttons. | ||
Vastus: EI | ==Vastus: EI== | ||
PS C:\Windows\system32> $popup = new-object -comobject wscript.shell | PS C:\Windows\system32> $popup = new-object -comobject wscript.shell | ||
$vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4) | $vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4) | ||
$vastus | $vastus | ||
7 | 7 | ||
Vastus: JAH | ==Vastus: JAH== | ||
PS C:\Windows\system32> $popup = new-object -comobject wscript.shell | PS C:\Windows\system32> $popup = new-object -comobject wscript.shell | ||
$vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4) | $vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4) | ||
$vastus | $vastus | ||
6 | 6 | ||
=Heiki= | |||
Minu viga, nõus! |
Latest revision as of 13:24, 22 May 2012
Tere.
Hetkel loogikaviga sees: kasutajalt palutakse sisestada 4 formattimiseks, aga jätkatakse 6-ga :)
Heiki
Tere.
Tegemist on popupi tüübi mitte vastuse väärtusega
- (popup tekst, ajaline limiit, Title, popupi tüüp
#0 Show OK button. #1 Show OK and Cancel buttons. #2 Show Abort, Retry, and Ignore buttons. #3 Show Yes, No, and Cancel buttons. #4 Show Yes and No buttons. #5 Show Retry and Cancel buttons.
Vastus: EI
PS C:\Windows\system32> $popup = new-object -comobject wscript.shell
$vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4)
$vastus
7
Vastus: JAH
PS C:\Windows\system32> $popup = new-object -comobject wscript.shell
$vastus = $popup.popup("Alustame USB pulga $path formateerimist. Kõik andmed kustutatkse! Jätkame?",0,"Format",4)
$vastus
6
Heiki
Minu viga, nõus!