Jump to content
Ketarin forum

{appname} is unknown by Ketarin upon "Add new application"


TerDale
 Share

Recommended Posts

If one adds a new application, and defines variables based on {appname}, then {appname} is not replaced properly by the just defined name, and variables appear as not working.

OTOH, if the new app is saved, then re-edited, then {appname} is properly replaced.

 

So, it sounds that {appname} is properly replaced only once the app settings have been saved a first time.

 

Tiny issue anyway ;-)

 

TIA

Link to comment
Share on other sites

OK, add a new app:

  1. name it "anApp"
  2. select "Variables"
  3. create a new variable named "version"
  4. choose "Content from URL (regex)"
  5. set the URL of the web page containing the current version
  6. in "Regular Expression" set ".*?{appname}\s+\d+\.\d+"
  7. the regex can't be resolved because {appname} has just been created
  8. now save the app
  9. re-open it
  10. click "Advanced", select "version", the regex is now properly resolved, and the version highlighted

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.