Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Function Checktext{
  2. $Button = "$"+$Equipment
  3. if ((Get-Content -Path "$($Path)Info\$($Equipment).txt").Length -eq 0) {$Button.text = "$($Equipment)"}
  4. else {$Button.text = "*$($Equipment)"}
  5. }
  6.  
  7. Function AGV101{
  8. $Update = Update
  9. $global:Equipment = "AGV101"
  10. $global:FilePath = $Path + 'Info\' + $Equipment + '.txt'
  11. Comment
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement