-
February 6th, 2021, 22:54 #1
- Join Date
- Jun 2020
- Posts
- 5
FantasyGroundsUpdater Command Line Arguments?
I would like to periodically launch and update FGU without having to click the UI. Are there any hidden command line switches I can use to run the executable that would force an update (say, if I launched it as a scheduled task)?
If not, is there any change there *will* be?
Thanks,
BA
-
February 6th, 2021, 23:10 #2
Welcome.
Not that I know of. Sounds like a nice idea though. If someone doesn't chime in and give a solution, you can add it to the wish list, I would vote on it; https://fgapp.idea.informer.com/
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 6th, 2021, 23:31 #3
- Join Date
- Jun 2020
- Posts
- 5
-
February 7th, 2021, 00:58 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
We use the "-c" command line to tell the updater to automatically update and launch FG when done, when launching from the main client application. You could try that for now. It's not a supported feature.
Regards,
JPG
-
February 7th, 2021, 13:49 #5
- Join Date
- Jun 2020
- Posts
- 5
FantasyGroundsUpdater Command Line Arguments?
That worked very great - thanks!!!
So let me take it one step farther now... after the updater runs and launches FGU, add a command line switch in FGU to bypass the confirmation GUI and load a "created campaign" ?
lol here's what we're running into (the group I play with): We all work and have oddball schedules. We'd *like* to be able to connect to our active campaign periodically and our DM is not always awake/available/kids borked the computer, etc... I volunteered to host the campaign on a dedicated PC - and put one up (Win10). I can script periodic startups and shutdowns with PowerShell and Task Scheduler (and now with the -c command line, keep the content constantly updated). However, when the main program loads, there's a click-through GUI and it doesn't load the campaign without people interaction.
This may not be ideal for *everyone*, but it sure would be a useful option. Just putting it out there.
I appreciate the feedback.
-
February 9th, 2021, 21:16 #6
- Join Date
- May 2019
- Posts
- 339
You can close FG using Taskkill. This will gracefully shutdown it, like right clicking it in the taskbar and choosing 'close'. No warnings about db.xml backups. Restarting it at a campaign would be awesome.
Code:taskkill /im FantasyGrounds.exe
-
February 12th, 2021, 23:10 #7
- Join Date
- Jun 2020
- Posts
- 5
FG / Taskkill
Oh yeah - I have a whole powershell script/windows task planned. Without the ability to launch the application and load a specific campaign immediately, though, makes that require human interaction. Trying to avoid that so we can have better uptime and accessibility. Thanks though!
-
March 6th, 2021, 07:20 #8
- Join Date
- May 2019
- Posts
- 339
A warning, if you externally force a close, chances are it won't save the campaign first. At least it doesn't if you use the X in the top right corner.
-
March 6th, 2021, 07:50 #9Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 6th, 2021, 20:50 #10
- Join Date
- May 2019
- Posts
- 339
Will try to reproduce, because I definitely had data loss the other day while testing a new extension. Will create new post in the appropriate forum when I do so.
Edit: happy to report that I can't reproduce.Last edited by Milmoor; March 7th, 2021 at 19:04.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks