Mundee Posted March 12, 2024 Report Share Posted March 12, 2024 Hi, I am fairly new to Ketarin and still trying to figure things out. I would like to run a powershell command after downloading that uses the "global" {appname} and the {version} variable I created for the package. However the content of the variable(s) do not seem to be getting forwarded/piped to powershell. Am I doing something wrong? Thank you Link to comment Share on other sites More sharing options...
shawn Posted March 12, 2024 Report Share Posted March 12, 2024 Welcome aboard @Mundee. This is demonstrated pretty well in this thread. While Ambimind uses variables for the parts of the calling function, if you already know the name, type and form of the variable, then you could use the abbreviated syntax. For Start/End and RegEx you use: $x = $app.variables.MyVersionVariable.CachedContent For Textual Content use: $x = $app.variables.MyVersionVariable.TextualContent In both samples "MyVersionVariable" is the name of the variable you'll be using instead of {MyVersionVariable}. Link to comment Share on other sites More sharing options...
Mundee Posted March 13, 2024 Author Report Share Posted March 13, 2024 Thanks a lot, that should help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now