1

(3 replies, posted in Script)

Hello,

It works. Thank you.
But another question. I need a Sleep command for 1 second after the taskkill, but 'Sleep(1000);' doesn't work and I can't find a solution.
How can i realize that?

2

(3 replies, posted in Script)

Hi,

is it possible to kill a task with script? Could you give me an example with notepad.exe, please?

3

(3 replies, posted in Script)

It works. Thanks a lot.

Another question. I want to show a certain value from the database entry in a messagebox.
For example: Database Table 'Teileverwaltung', Field name 'revision'

Could you give me an example please?

4

(3 replies, posted in Script)

Hello,

is it possible to copy and paste selected raw in a table grid with one button?

5

(12 replies, posted in Script)

It looks good now. Thanks for your great help.

Edit: Last question: How can i clear the Records in the combobox?

6

(12 replies, posted in Script)

procedure Form1_OnShow (Sender: string; Action: string);
var
   i, c: integer;
   sl: TStringList;
begin
     sl := TStringList.Create;
     sl.Text := GetFilesList('c:\Films');

     c := sl.Count - 1;
     for i := 0 to c do Form1.ComboBox1.dbAddRecord(-1, sl[i]);

     sl.Free;
end;

I only need the name of the files, not the full filepath.
For example "Test.avi" instead of "c:\Films\Test.avi"

7

(12 replies, posted in Script)

I Need a part of a string... strreplace doesnt work in my enviroment... what ways are there to get subsstrings or removing parts of a string?

8

(12 replies, posted in Script)

It works. Thank you.

9

(12 replies, posted in Script)

Hello,

i export some files in a certain folder. Now, i want to show the filenames in this folder in a combobox. How can i do that?

regards

10

(2 replies, posted in General)

Yes. It works now. Thanks a lot.

11

(2 replies, posted in General)

Hello,

i need to get the full file path of a selected File.
At the moment i only get the name of the file or the folder path.

How can i get this?