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 ;-)



Share this post

Link to post
Share on other sites

Can you provide an example/demo of how this is an issue? I can't think of how it could be a problem since you can't parse/process it unless it's saved.

Share this post

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

Share this post

Link to post
Share on other sites

Join the conversation

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

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.


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