Home Notices Documents Classes Download Others Rice
Documents  >  usage  >  keyboardshortcuts
Keyboard shortcuts

Ctrl + R

The file selection dialog opens with Ctrl + R.

You can select a script file you want to run using the dialog.

File selection dialog

Ctrl + B

If you press Ctrl + B, the currently displayed URL will display in the default browser.

Programmable keyboard shortcuts

Ctrl + function key (F1 to F12) is programmable keyboard shortcuts.

If you press Ctrl + function key, an appropriate method in the 'system.cgx' will be invoked.


The default 'system.cgx' is shown below.

1:

class main

2:

window _w;

3:

browser _br;

4:

message _m;

5:

open method void start()

6:

_br.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0";

7:

endmethod

8:
9:

open method void end()

10:

endmethod

11:
12:

open method void F1()

13:

_br.Navigate("https://www.google.co.jp/");

14:

endmethod

15:
16:

open method void F2()

17:

_br.Navigate("about:config");

18:

endmethod

19:
20:

open method void F3()

21:

endmethod

22:
23:

open method void F4()

24:

endmethod

25:
26:

open method void F5()

27:

endmethod

28:
29:

open method void F6()

30:

endmethod

31:
32:

open method void F7()

33:

endmethod

34:
35:

open method void F8()

36:

endmethod

37:
38:

open method void F9()

39:

endmethod

40:
41:

open method void F10()

42:

endmethod

43:
44:

open method void F11()

45:

endmethod

46:
47:

open method void F12()

48:

endmethod

49:
50:

endclass

If you press Ctrl + F1, the F1() method will be invoked. The corresponding method is also called for other function keys.


For details of system.cgx, please see the section of system.cgx.

Next
Previous
Copyright © CookerGX All rights reserved.