konsole window in a specific folder.
Posted
#1
(In Topic #1338)
Regular

What I want to do is click on a button and have it open a konsole window within a predefined folder:
So when i click open it'll open a konsole window in the /home/USERNAME/Desktop or somewhere.
any suggestions?
Posted
Regular

Dim folderPath As String
folderPath = "/home/yikes/Desktop"
Exec ["konsole", "–workdir", folderPath] Wait
thanks guys!
Posted
Regular

Dim folderPath As String
folderPath = DirChooser1.SelectedPath
Exec ["konsole", "–workdir", folderPath] Wait
Posted
Guru

Ps.
If you use Wait then the program cannot do anything until you close the console
PPS. you can use gb in square brackets to post gambas code (or hit the gb button above the text input)
Posted
Regular

Again it's basic but I can't seem to do it!
Posted
Regular

in case anyone needs a tip this worked for me
FileChooser1.Filter = ["*.png;*.jpg;*.jpeg;*.bmp", "Picture files", "*.svg;*.wmf", "Drawing files"]
Posted
Guru

theyikes said
Hey BruceSteers!!! Thanks for getting back to me. I have another Gambas related question, Should i post it here or should i open a new topic?
Again it's basic but I can't seem to do it!
It's probably nicer for the forum if you stay on topic and start a new thread for non related questions.
But I would say you may wanna wait just a bit before asking, have a go at figuring out the problem before you post because you seem to ask questions that you soon answer yourself afterwards.
in fact the last answer you gave you didn't even post the question first, you just gave your own answer to an unasked query of yours
But it's all good fella, we're all friends here
Posted
Regular

Maybe this, by activating gb.desktop Component:theyikes said
So when i click open it'll open a konsole window in the /home/USERNAME/Desktop or somewhere.
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

1 guest and 0 members have just viewed this.


