XPopup problems Thread last updated on 2006-08-22 19:10:44

Posted by member 339972 on 2006-08-20 12:18:08

I\'m kinda new to this board and search engine is down, so don\'t attack me, if a topic like this has been started before (sorry, if my english isn\'t correct;P)

I have a problem with my XPopup module. Everything works fine but there is one thing I\'m having troubles with.
The thing is that I use my PenDrive quite often but not always. When it\'s plugged I want to have it in my popup. When it\'s not, I don\'t want it there.

something like this doesn\'t work:

IF I:
*Popup \"Pendrive\" I:
ENDIF

I hope you can help me.
Thanks in advance.

Sorry for my english once more;)

Posted by member 248213 on 2006-08-20 13:58:15 link

IF I:

heh, really, please.

Where did you read that was valid?

cant you just use !PopupMyComputer, and when you pendrive is plugged in it will show up with its label?


but really there are many things wrong with your "IF I:"
IF's in .rc files are calculated only on load, so it can only change when you !recycle or load up LS, NOT when you insert your pendrive.

P.S. Your topic title should really read: "vsgaarth problems" as xPopup is going fine ;)

P.P.S The search does work for sub forum levels.

P.P.P.S Read the wiki link in my sig. And also read the manual for xPopup.

Posted by member 339972 on 2006-08-21 04:16:26 link

I know that IF I: can't work. I'm not a fool :)

In fact, I've been using LS for hmm, 3-4 days, so I didn't manage to learn how it all works.

Nevermind, thanks for your help:)

Posted by member 248213 on 2006-08-21 06:48:05 link

well, you know, its pretty foolish ;)

Its akin to me going into a Windows forum and going:
"I want to get my machine to wake me up.
something like this doesnt work:

wakeup.exe /now"
:P

Posted by member 339972 on 2006-08-21 08:47:24 link

I wanted it to be like this, just to visualise (is it the right word?) what I wanted to get.

P.S. hey! My wakeup.exe works:P

Posted by member 248213 on 2006-08-21 09:40:01 link

Anyway, did you solve your problem?

Posted by member 339972 on 2006-08-21 12:31:29 link

Unfortunately - no. LS is still a novelty to me. Now I'm trying to make it look perfect. I'll make it more functional later.

Posted by member 248213 on 2006-08-22 04:39:33 link

I think there was some module for drives.
I think it had events like OnInsert or whatever too, but I cant remember the name...

Anyone?


But xPopup should change according to wethere the drive is in or not anyway, so... run !PopupMyComputer

Posted by member 1885 on 2006-08-22 04:45:15 link

I think there was some module for drives.
I think it had events like OnInsert or whatever too, but I cant remember the name...


Um.... uh... yeah... I think I know the one you mean. Dammit, I can't remember the name either. It executes a command when a drive is connected. I'm almost positive there's a module like that.

Posted by member 212670 on 2006-08-22 06:01:10 link

"detect" probably would do the trick, with timer, or literunner, or something...off the top of my head. Tired... must sleep.

Posted by member 339972 on 2006-08-22 06:20:35 link

But xPopup should change according to wethere the drive is in or not anyway, so... run !PopupMyComputer

Yeah, it changes, but after 'recycle' :/

Posted by member 248213 on 2006-08-22 07:29:27 link

West: Yeah annoying eh...

xcal: Yeah I think that was it! Detect!

xsgaarth: detect-1.0-beta_5 is the latest version.

But... xPopup changes when I put a cd in, with these steps:
!PopupMyComputer (the cd drive label just says: "CD drive" as there is no disk in)
Close that popup,
Put in a CD
!PopupMyComputer (the cd drive label now says the cd label, which is "disk" for the CD I put in)

Boom boom, so can you now just close and reopen the popup to show your pendrive?

Posted by member 212670 on 2006-08-22 14:47:22 link

My external usb drive won't show in !PopupMyComputer until it's been recognized in my filemanager (open my computer/refresh folder), AND until after I !recycle. I think putting in a CD is different because it's changing an already connected device.

Posted by member 248213 on 2006-08-22 19:10:44 link

oh bah!

well I dont use USB stuff regularly so your on your own vsgaarth