Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function Checktext{
- $Button = "$"+$Equipment
- if ((Get-Content -Path "$($Path)Info\$($Equipment).txt").Length -eq 0) {$Button.text = "$($Equipment)"}
- else {$Button.text = "*$($Equipment)"}
- }
- Function AGV101{
- $Update = Update
- $global:Equipment = "AGV101"
- $global:FilePath = $Path + 'Info\' + $Equipment + '.txt'
- Comment
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement