Search found 24 matches

by winsoft
Tue May 21, 2019 6:01 pm
Forum: PowerShell GUIs
Topic: SAPIEN github repository
Replies: 10
Views: 733

SAPIEN github repository

I saw the following description in the following article. Can someone tell me the link address? thank you very much https://info.sapien.com/index.php/guis/gui-scripting/powershellget-gui "The application creates an interface that displays gallery module information and allows the user to easily add ...
by winsoft
Sun May 19, 2019 7:17 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

Modify the code of the following post, the first question has been solved, thank you for your help

viewtopic.php?f=21&t=12043
by winsoft
Sun May 19, 2019 7:13 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

Thank you for your help, the second question, the third question, has been resolved

Code: Select all

$timer1_Tick = {
	$label10.Text = $label10.Text - 1
	if ($label10.Text -eq -1)
	{
		$buttonOK.PerformClick()
	}
}

$form1_MouseEnter={
	$timer1.Stop()
}
by winsoft
Sun May 19, 2019 6:12 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

I don't understand why the same code (OK button), the result is different, maybe I am stupid, but I really checked many times
by winsoft
Sun May 19, 2019 5:27 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

My English is not very good, I don't know how to describe the problem. Look at the picture may be more clear I am learning other scripting languages, but I can't communicate its code here because it's not friendly. I just got in touch with powershell gui programming, I found a software (powershell s...
by winsoft
Sun May 19, 2019 4:40 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

I don't understand why the following code has no output :?:

Code: Select all

$buttonOK_Click = {
	#TODO: Place custom script here
	$checkedlistbox1.CheckedItems | Write-Host
	$checkedlistbox2.CheckedItems | Write-Host
	$checkedlistbox3.CheckedItems | Write-Host
}
by winsoft
Sun May 19, 2019 4:29 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

Thank you for your help Maybe I didn’t express it clearly, 1. When the countdown is over, perform the function of pressing the ok button, the selected items Output in the console 2. During the countdown process, if I perform other operations, such as clicking a form or selecting an item, the countdo...
by winsoft
Sun May 19, 2019 4:11 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

Anyway, thank you very much for your help. Powershell studio is a very good GUI tool My problem above, already has a complete solution in other languages, but I am very interested, to know how to implement it in powershell studio I will learn about powershell when there is enough time in the future....
by winsoft
Sun May 19, 2019 3:48 pm
Forum: PowerShell GUIs
Topic: Select item in the list box, countdown will automatically press button
Replies: 21
Views: 843

Re: Select item in the list box, countdown will automatically press button

Oh, sorry, thank you for your reminder, how to delete the above posted