Replies: 2 comments 1 reply
-
You're running into a case sensitivity bug, I think. I'll have to take
another look at the code, but if you lowercase all references to the
variable, I think just about everything you're trying here should work
as documented.
Let me know if that helps, I'll track down the bug and get an update out
soon.
…-Brett
On 25 Nov 2021, at 7:35, Marco wrote:
Hi, I have problems trying to pass a variable via URL-Handler. Can
someone give me a hint what I am doing wrong?
To narrow my issue down, I've come up with this example.
I open this URL via Safari:
`x-bunch://open?bunch=timeryTest&startTimery=false`
I have a timeryTest.bunch and thought I could receive the variable
"startTimery". So, is this supposed to work?:
```
---
title: Timery Test
toggles: false
ignore: false
---
(notify Variable is ${startTimery})
```
It just displays "Variable is", so startTimery is empty. Trying this
```
---
title: Timery Test
toggles: false
ignore: false
startTimery: true
---
(notify Variable is ${startTimery})
```
always displays "Variable is true" regardless of what I put into the
URL. Orginally I was trying to pass the startTimery to a snippet and
use conditional logic as in the Bunch help but that did not work, so
I've tried this and wondering it this is a bug or not supposed to work
like this ...
Thanks!
Marco
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#171
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
esamecar
-
I've release version 1.4.7 with a fix for this issue. Thanks for reporting.
…On 26 Nov 2021, at 1:45, Marco wrote:
that did the trick! thanks!
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#171 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have problems trying to pass a variable via URL-Handler. Can someone give me a hint what I am doing wrong?
To narrow my issue down, I've come up with this example.
I open this URL via Safari:
x-bunch://open?bunch=timeryTest&startTimery=false
I have a timeryTest.bunch and thought I could receive the variable "startTimery". So, is this supposed to work?:
It just displays "Variable is", so startTimery is empty. Trying this
always displays "Variable is true" regardless of what I put into the URL. Orginally I was trying to pass the startTimery to a snippet and use conditional logic as in the Bunch help but that did not work, so I've tried this and wondering it this is a bug or not supposed to work like this ...
Thanks!
Marco
Beta Was this translation helpful? Give feedback.
All reactions