Jump to content


Photo

Keep a frame only in one workspace


  • Please log in to reply
1 reply to this topic

#1 whatever

whatever

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 06 July 2018 - 11:19 AM

I know the option exists but when i check it the frame will unhide anytime i click or right click

Do you know how I can fix it ? thank you



#2 crowmag

crowmag

    bbDinosaur

  • VIP Member
  • 85 posts

Posted 26 July 2018 - 10:58 PM

Sorry, I did not catch tis when I was here last. It is best to do this by editing the configuration file (bbInterface.rc) by hand (at least I think so). The first thing that you want to do is to open the configuration file in a text editor and find the element (frame, button, whatever) and find the line in the element that reads: "IsOnAllWorkspaces " and set that to "false". Save the file and either do a Blackbox -> Reconfigure or in the bbInterface menu go to Configuration -> Reload Configuration. After that, reopen bbInterface.rc and you will see a newly created line with the words "WorkspaceNumber 0". Change the "0" to the desired workspace number, save the file and do a Reconfigure or Reload Configuration and Bob's your uncle.

Here is an example using a button:

!---- Time ----
@BBInterface Control Create Button Time
@BBInterface Control SetWindowProperty Time X 1802
@BBInterface Control SetWindowProperty Time Y 0
@BBInterface Control SetWindowProperty Time Width 118
@BBInterface Control SetWindowProperty Time Height 28
@BBInterface Control SetWindowProperty Time Border true
@BBInterface Control SetWindowProperty Time IsVisible true
@BBInterface Control SetWindowProperty Time Style "Toolbar"
@BBInterface Control SetWindowProperty Time FontName "Trebuchet MS"
@BBInterface Control SetWindowProperty Time FontSize 19
@BBInterface Control SetWindowProperty Time FontBold true
@BBInterface Control SetWindowProperty Time IsToggledWithPlugins true
@BBInterface Control SetWindowProperty Time IsOnAllWorkspaces false
@BBInterface Control SetWindowProperty Time WorkspaceNumber 0
@BBInterface Control SetWindowProperty Time DetectFullScreen false
@BBInterface Control SetWindowProperty Time IsOnTop true
@BBInterface Control SetWindowProperty Time AutoHide false
@BBInterface Control SetWindowProperty Time IsSlitted false
@BBInterface Control SetWindowProperty Time IsTransparent false
@BBInterface Control SetWindowProperty Time Transparency 100
@BBInterface Control SetWindowProperty Time MakeInvisible "Never"
@BBInterface Control SetControlProperty Time HAlign "Center"
@BBInterface Control SetControlProperty Time VAlign "Center"
@BBInterface Control SetAgent Time Caption Clock "Clock"
@BBInterface Control SetAgentProperty Time Caption ClockFormat "%I:%M:%S  %p"
@BBInterface Control SetAgent Time MouseUp Run "C:\Blackbox\lnk\Date and Time.lnk"

  • meanmechanics likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users