Thanks! I was confusing variables with macro parameters. I ended up going with this:
Macro def: \define AudioPost(file) <audio controls src="$file$"/> \end Macro call: <<AudioPost file: "Audio/Evans/Evans%2C%20Tony%20-%20Revive%20Us%20Again%20-%2006%20-%20The%20Great%20God%20of%20Revival%20%281Ki%2018_20-36%29.mp3" >> Much cleaner for my purposes than defining a variable. On Monday, March 16, 2020 at 3:22:02 PM UTC-4, Mat wrote: > > Yeah, you've designed the macro to expect a "file" argument but you're not > providing one in the macro call. If you want it to use the "file" variable > without having to include it in the call, it should say: > > \define AudioPost() > <audio controls src="$(file)$"/> > \end > > or simply > > \define AudioPost() <audio controls src="$(file)$"/> > > That was at least one major problem. I didn't test the code so there may > be others but do test this and come back if problems. > > <:-) > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c89a4c69-c60d-4855-9598-7a04a095cb3f%40googlegroups.com.

