• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

README.txtD25-Apr-20251.8 KiB5339

browse.jsD25-Apr-20252.8 KiB7120

insertfile.jsD25-Apr-20252.9 KiB6919

linewrap.jsD25-Apr-20252.2 KiB525

mail.jsD25-Apr-20252.7 KiB6918

memmonitor.jsD25-Apr-20253 KiB7421

memory.batD25-Apr-20251.8 KiB3632

memory.jsD25-Apr-20252.3 KiB555

memory.shD25-Apr-20251.7 KiB331

textcolor.jsD25-Apr-20252.3 KiB528

README.txt

1Sample scripts:
2
3(1) browse.js
4
5 -- Open and run this script in scriptpad. You will see
6    Tools->Browse menu. Using this you can start your
7    desktop default browser with the given URL.
8
9(2) insertfile.js
10
11 -- Open and run this script in scriptpad. You will see
12    "Tools->Insert File..." menu. Using this you can start
13    insert content of a selected file into currently
14    edited document
15
16(3) linewrap.js
17
18 -- Open and run this script in scriptpad. You will see
19    "Tools->Line Wrap" menu. Using this you can toggle
20    the line wrapping mode of the editor
21
22(4) mail.js
23
24 -- Open and run this script in scriptpad. You will see
25    Tools->Mail menu. Using this you can start your
26    desktop default mail client with the given "To" mail id.
27
28(5) memmonitor.js
29
30 -- This is a simple Monitoring & Management script. To use this,
31    you need an application to monitor. You can use memory.bat
32    or memory.sh in the current directory to start an application
33    that will be monitored. After that please follow these steps:
34
35   1. Start the target application using memory.sh or memory.bat
36   2. Start scriptpad
37   3. Use "Tools->JMX Connect" menu and specify "localhost:1090"
38      to connect
39   4. Open "memmonitor.js" and run it (using "Tools->Run")
40      in scriptpad
41   5. A new "Tools-Memory Monitor" menu appears. Use this menu
42      and specify 4 and 500 as threshold and interval values.
43   6. In the target application shell (where memory.bat/.sh was
44      started), enter an integer value and press "enter".
45   7. You'll see an alert box from scriptpad -- alerting you for
46      memory threshold exceeded!
47
48(6) textcolor.js
49
50 -- Open and run this script in scriptpad. You will see
51    "Tools->Selected Text Color..." menu. Using this you
52    change the color of "selected text" in the editor.
53