CKVWM Help scripting Thread last updated on 2004-05-09 00:20:11

Posted by member 142248 on 2004-05-07 21:15:31

I just got into the whole litestep and scripting thing but I have search all over the place and I cant seem to get this idea to work even though I have found people who have talked about doing it before. What I am trying to do is start certain applications on different desktops. I want to start say my internet in desktop 1 and my email in desktop 2 , MIRC in desktop 3 and so on at start up. Can someone please help?

Brian

Posted by member 7223 on 2004-05-07 23:14:34 link

have you read the docs ?

Posted by member 142248 on 2004-05-08 00:03:12 link

No docs came with this. It was installed by g-series skin.

Posted by member 142248 on 2004-05-08 00:36:43 link

Ok I have found the docs on litestep.net and read them. I have tried to use the commands to do so and it doesnt work for me. Am I suppose to be editing the ckvwm under the theme's config directory? What commands exactly do I use? !vwmdesk, !vwmopen? Thanks

Posted by member 7 on 2004-05-08 01:59:31 link

Check C:\Litestep\modules\docs for the documentation of all installed modules. Look up *VWMStartWindowsOnDesktop in ckvwm-1.xx.txt

Posted by member 142248 on 2004-05-08 03:51:50 link

ok so I ran that command and still nothing happened. I used qutations for my paths. The command goes *VWMStartWindowsOnDesktop "c:\path\to\program\program.exe" 1
So start program on windows start on desktop 1. Nothing happens. I tried it a bunch of different ways on the ckvwm config file. I saw somewhere else that you might have to set a label.

Posted by member 99 on 2004-05-08 14:04:19 link

*VWMStartWindowsOnDesktop says "when I start this program, put it on this desktop." It doesn't actually start the program for you.

And you don't use the file name. "You can specify what windows, by specifying its window name or class name, will start on the specified desktop number."

Posted by member 142248 on 2004-05-08 14:13:51 link

So you would use exec $Browser$ and moveapp to execute and move them to the specified desktop. I am still really new to the whole programing thing. Maybe I will give up. What language do I need to start learning for scripting and coding? Thanks for your help.

Brian

Posted by member 99 on 2004-05-08 23:24:00 link

No scripting required.

Start the programs and get their window class with winspy or something. Add *VWMStartWindowsOnDesktop lines for each using the appropriate class names. Create shortcuts to each program in your startup folder. (Assuming I've understood your intentions.)

No guarantees though, I haven't actually tried that...

Posted by member 142248 on 2004-05-09 00:20:11 link

Yea I got that off mirc. Thats how its done. According to the people I have talked to many people have had problems trying to do this. Thanks for your help. Later