Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors #6

Open
MikeShepard opened this issue Mar 31, 2016 · 3 comments
Open

Colors #6

MikeShepard opened this issue Mar 31, 2016 · 3 comments

Comments

@MikeShepard
Copy link
Owner

Would be nice to not use a formula for colors...shouldn't they be constants?

@MikeShepard
Copy link
Owner Author

RGB(0,128,0) seems to be 52....yuck. Backlog for this item.

@1Dimitri
Copy link

1Dimitri commented Oct 17, 2019

Visio 2016 use send back exception:
An exception occurred.
At C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioConnector.ps1:83 char:17

  •             $connector.CellsU('LineColor').Formula=$ColorFormula
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], COMException
    • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException

When running https://github.com/MikeShepard/VisioBot3000/blob/master/Examples/VisioPrimitives.ps1

@MikeShepard
Copy link
Owner Author

I don't get the same error when I run it. If you add "Write-Verbose $colorFormula -Verbose" after line 52 of VisioConnector.ps1 does it show a "valid-looking" formula for color?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants