Skip to content

Missing parameter name: PLACEHOLDER in Ask for Input. #25

@chrysaora-achlyos

Description

@chrysaora-achlyos

Describe the bug

the working Appstore Jellycuts code from routinehub.co blog https://blog.routinehub.co/creating-a-qr-code-generator-shortcut-with-jellycuts/ does not compile with Open-Jellycore jelly

To Reproduce

Steps to reproduce the behavior:

  1. insert the code below into a file oj_jun.jelly
import Shortcuts askForInput(prompt: "Enter the URL to generate QR code", type: URL, default:, allowDecimal: false, allowNegative: false) >> url createQR(text: url, correction: Medium) >> qrCode quicklook(input: qrCode) 2. attempt to compile with the command jelly oj_jun27.jelly --export --out u_oj_jun27.shortcut 3. See error Missing parameter name: PLACEHOLDER in Ask for Input. Jelly no longer supports unnamed parameters. You need to include the parameter name - (PLACEHOLDER:) in the function: (Ask for Input) Missing parameter default in askForInput. Make sure that you have included all of the parameters you wish in the function askForInput

Expected behavior

compile without error

Information

  • Device: [macBook Pro, 14-inch, 2021]
  • OS: [Sonoma 14.5]
  • Jellycuts Version [??? no means to get version (/opt/homebrew/bin/jelly)]
  • Jailbroken? [No]

Additional context

the cleaned up code, without "default:, allowDecimal: false, allowNegative: false" compiles and executes fine when signed and loaded in Shortuts

import Shortcuts askForInput(prompt: "Enter the URL to generate QR code", type: URL) >> url createQR(text: url, correction: Medium) >> qrCode quicklook(input: qrCode) $CMD jelly oj_jun27_2.jelly --export --out u_oj_jun27_2.shortcut $CMD shortcuts sign --mode anyone --input u_oj_jun27_2.shortcut --output oj_jun27_2.shortcut $CMD open -a Shortcuts oj_jun27_2.shortcut

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions