Author Topic: Profile change actions  (Read 2835 times)

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Profile change actions
« on: January 15, 2018, 12:43:57 PM »
I noticed that if a loop is running in profile A and the profile is then changed to profile B the loop from Profile A is terminated immediately.

Would Gary (or anyone else) please comment about other actions that happen when a profile switch from A to B happens?

Thanks!

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Profile change actions
« Reply #1 on: January 15, 2018, 02:39:53 PM »
When a profile changes, all commands in that profile are unloaded.  Since all of the commands (and potentially all subcommands) are going away, the commands are stopped.

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: Profile change actions
« Reply #2 on: January 15, 2018, 04:19:29 PM »
Yeah, the loop stops, but you can auto restart the loop when you load profile b. I use to use a loop to switch profiles when a certain windows title was Active, and just auto start the loop again when the new profile loaded. Worked really well, but found a easier way to do the job for my use, so I don't use it anymore.

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Profile change actions
« Reply #3 on: January 15, 2018, 11:17:50 PM »
Thanks for the feedback guys!