Script Question - Saving Status of SelectHideMarquee

Moderator: Kathy_9

Post Reply
csh2000
Posts: 59
Joined: Mon Mar 31, 2014 3:54 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7-6500U CPU 2.50GHz
ram: 12GB
Hard_Drive_Capacity: 1TB
Corel programs: PSP X9, Aftershot Pro 3, VideoStudio X9

Script Question - Saving Status of SelectHideMarquee

Post by csh2000 »

I have several scripts that I would like to shut off the marquee while they are running and return the marquee to it's original state (off or on) when finished. Have any other scripters performed such action? I've tried to save the state from 'SelectHideMarquee' , but the state never changes.

* I apologize - after I saved this , I realized it got posted to the wrong community. :oops:

Thanks,
Chip
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Script Question - Saving Status of SelectHideMarquee

Post by Ken Berry »

I've moved you to the scripting sub-forum...
Ken Berry
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Script Question - Saving Status of SelectHideMarquee

Post by LeviFiction »

I know of no way to get the current state of the Selection Marquee. GetCommandInfo can return the last used parameters, but since they include a "toggle" option it will most likely return "Toggle" as the last used parameter which doesn't help.

Only way I can see anything remotely similar working is to pop up a dialog asking if they would like to leave marquees hidden at the beginning or end of the script and act accordingly. Though, obviously that can get annoying.
https://levifiction.wordpress.com/
csh2000
Posts: 59
Joined: Mon Mar 31, 2014 3:54 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7-6500U CPU 2.50GHz
ram: 12GB
Hard_Drive_Capacity: 1TB
Corel programs: PSP X9, Aftershot Pro 3, VideoStudio X9

Re: Script Question - Saving Status of SelectHideMarquee

Post by csh2000 »

LeviFiction wrote:I know of no way to get the current state of the Selection Marquee. GetCommandInfo can return the last used parameters, but since they include a "toggle" option it will most likely return "Toggle" as the last used parameter which doesn't help.

Only way I can see anything remotely similar working is to pop up a dialog asking if they would like to leave marquees hidden at the beginning or end of the script and act accordingly. Though, obviously that can get annoying.
Thanks for the feedback, my findings are the same as yours.. GetCommandInfo only returns '2' (Toggle), unless I change via script to show or hide but know way to figure out what the settings were previously set at before the change.
Post Reply