djDecks

It is currently Sat Aug 19, 2017 5:44 pm
View unanswered posts
View active topics

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How does 'setpersistent' work? and a little skin preview ;) PostPosted: Mon Nov 28, 2011 4:15 am 
Elite
User avatar

Joined: Fri Jan 18, 2008 6:22 pm
Posts: 956
Location: Mallorca
I'm working on a 4 deck version of my T5 skin and it's close to being finished. One problem I'm having is that decks 3 and 4 have their own (thin) window and I don't know how to get djD to remember whether this window was showing the last time the program was running. I'm pretty sure I need to do something with 'setpersistent', but I cannot for the life of me fathom it out - note that it's the middle of the night and I'm banging my head against a brick wall!! :lol:

So, can anyone help me please?

Here's a sneaky peek at how the 4 deck version is looking. I've tried to make the third and fourth decks as compact as possible:

Image

_________________
MacBook Pro, Samsung Q530, djDecks + DX, Denon DN-HC4500, NI Audio 4 DJ, Sennheiser HD25 C II


Top
 Profile  
Reply with quote  
 Post subject: Re: How does 'setpersistent' work? and a little skin preview PostPosted: Wed Nov 30, 2011 9:51 pm 
Elite
User avatar

Joined: Fri Jan 18, 2008 6:22 pm
Posts: 956
Location: Mallorca
Bump! :D

_________________
MacBook Pro, Samsung Q530, djDecks + DX, Denon DN-HC4500, NI Audio 4 DJ, Sennheiser HD25 C II


Top
 Profile  
Reply with quote  
 Post subject: Re: How does 'setpersistent' work? and a little skin preview PostPosted: Sat Dec 03, 2011 7:45 pm 
Elite
User avatar

Joined: Sat Apr 22, 2006 11:10 pm
Posts: 635
When you click a button to show the window you need to set a variable at the same time to show that the window is showing (i use a script for this), something like:

setvar window34 1 boolean

then, in the startup script you need to make this variable persistant

setpersistent window34

and in the startup script you will also need

if %window34% click showwindow windowname

1984 onwards use this, so you can check the syntax in those.


Top
 Profile  
Reply with quote  
 Post subject: Re: How does 'setpersistent' work? and a little skin preview PostPosted: Sat Dec 03, 2011 8:41 pm 
Elite
User avatar

Joined: Fri Jan 18, 2008 6:22 pm
Posts: 956
Location: Mallorca
Thanks Dunks! I'll have a look at that after the weekend :D

_________________
MacBook Pro, Samsung Q530, djDecks + DX, Denon DN-HC4500, NI Audio 4 DJ, Sennheiser HD25 C II


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group