-
May 3rd, 2022, 19:50 #1
openURL second parameter optional?
In the new openURL function, the documentation indicates that the second parameter for the callback function is optional. But if I try it without a callback function defined, I get an error of invalid parameter 2.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/FVgtecr
DMsGuild Conversions https://www.dmsguild.com/browse.php?...iate_id=712946
DMsGuild Extensions Support Threads: Syrinscape Sounds, 5e Coin Converter,Shops, ID All, Player NPC End Turn, CT Open on Turn, Unshare Image, 5e Modifier Buttons
Other Helpful Links: Custom Calendar Tutorial, Custom Calendar Creator, Linker, CSV Importer, Font Extensions, 5e Class, Background, Race, Feat interpreted strings, Extended Language Fonts
FG DM Video Series: https://www.youtube.com/playlist?lis...Y5zjaBmVgwR2cc
-
May 3rd, 2022, 20:01 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 19,618
Can you try "nil" instead?
JPGFG Wish List - https://fgapp.idea.informer.com/
-
May 3rd, 2022, 20:03 #3For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/FVgtecr
DMsGuild Conversions https://www.dmsguild.com/browse.php?...iate_id=712946
DMsGuild Extensions Support Threads: Syrinscape Sounds, 5e Coin Converter,Shops, ID All, Player NPC End Turn, CT Open on Turn, Unshare Image, 5e Modifier Buttons
Other Helpful Links: Custom Calendar Tutorial, Custom Calendar Creator, Linker, CSV Importer, Font Extensions, 5e Class, Background, Race, Feat interpreted strings, Extended Language Fonts
FG DM Video Series: https://www.youtube.com/playlist?lis...Y5zjaBmVgwR2cc
-
May 3rd, 2022, 20:06 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 19,618
I'll look at updating the code to check for the parameter existence first, but you can use nil for now.
Regards,
JPGFG Wish List - https://fgapp.idea.informer.com/
-
May 6th, 2022, 19:09 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 19,618
Fixed in beta release today.
Cheers,
JPGFG Wish List - https://fgapp.idea.informer.com/
-
March 26th, 2023, 19:10 #6
- Join Date
- Dec 2017
- Posts
- 5
Sorry to necro this thread, but when processing the callback, all I get is the URL and not the generated response. Did I miss something or is the generated response stored somewhere else?
-
March 26th, 2023, 23:42 #7
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 19,618
The callback will receive two parameters (sURL, sResponse).
Regards,
JPGFG Wish List - https://fgapp.idea.informer.com/
-
March 27th, 2023, 00:34 #8
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks