pycharm.go 311 B

12345678910111213141516
  1. package services
  2. //import (
  3. // "fmt"
  4. // "github.com/go-vgo/robotgo"
  5. // "strings"
  6. //)
  7. //func RunPycharm() {
  8. // names,err:=robotgo.FindNames()
  9. // namesStr:=strings.Join(names,",")
  10. // if !strings.Contains(namesStr,"pycharm64.exe") {
  11. // robotgo.ActiveName("pycharm64.exe")
  12. // }
  13. //
  14. // fmt.Println("Err:",err)
  15. //}