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;)
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.
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:)
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
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
Anyway, did you solve your problem?
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.
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
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.
"detect" probably would do the trick, with timer, or literunner, or something...off the top of my head. Tired... must sleep.
But xPopup should change according to wethere the drive is in or not anyway, so... run !PopupMyComputer
Yeah, it changes, but after 'recycle' :/
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?
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.
oh bah!
well I dont use USB stuff regularly so your on your own vsgaarth