Jump to content
Ketarin forum

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


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 post
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 post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • 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.