Search found 542 matches
- 06 Jun 2012 09:54
- Forum: Scripts
- Topic: [script] Switch case
- Replies: 0
- Views: 7395
[script] Switch case
I thought about asking for this feature, but then I said to myself: Hey, why not make a script? And so I've done one: /* switches circularly between lower case-UPPER CASE-Name Case (like in MS Word) */ var s = Document.SelText; if (s != "") { var ss = Document.SelStart; var sl = Document.S...
- 31 May 2012 07:31
- Forum: Syntax files
- Topic: The "Add/Remove Comment" command should use indention
- Replies: 3
- Views: 14268
Re: The "Add/Remove Comment" command should use indention
However, If I put Python's comment character (#) with "Add/Remove Comment", the code is def internet_on(x): try: response=urllib.urlopen(x) # response=urllib2.urlopen(x,timeout=y) return True except IOError as err: pass return False def other(x,y): Got it, thank you! So it seems that the ...
- 30 May 2012 08:29
- Forum: Syntax files
- Topic: The "Add/Remove Comment" command should use indention
- Replies: 3
- Views: 14268
Re: The "Add/Remove Comment" command should use indention
I don't quite understand. Say, I have this piece of code: if (isset($osSearchPresets['minlength'])) { // $minlength = $osSearchPresets['minlength']; $minlength = 5; } When I highlight it all and comment out, I get this: // if (isset($osSearchPresets['minlength'])) // { // // $minlength = $osSearchPr...
- 06 May 2012 20:04
- Forum: News
- Topic: Temporary break in development
- Replies: 6
- Views: 22182
Re: Temporary break in development
Howdy! Good to see you back :D
- 01 Apr 2012 12:28
- Forum: News
- Topic: Temporary break in development
- Replies: 6
- Views: 22182
Re: Temporary break in development
The place looks superb! I wish you good luck in your new neighborhood
(And who would think making freeware apps pays off this much? )
(And who would think making freeware apps pays off this much? )
- 28 Mar 2012 13:50
- Forum: Scripts
- Topic: WstringReplaceAll doesn't replace "
- Replies: 0
- Views: 7272
WstringReplaceAll doesn't replace "
This code works fine--unless you use """ (i.e. the entity) as a search term:
Code: Select all
Document.SelectAll;
s = Document.SelText;
s = ScriptUtils.WstringReplaceAll(s, """, "whatever");
Document.SelText = s;
- 27 Mar 2012 20:42
- Forum: Scripts
- Topic: How to terminate a script with a keyboard?
- Replies: 3
- Views: 14175
How to terminate a script with a keyboard?
Is there a way to break a script in the mid-run? I for one haven't run in a situation that would require this but I can easily imagine such a scenario... Then what? Is there any other way than to kill RJ TE? If not, would it be possible to add such a feature?
- 26 Mar 2012 18:04
- Forum: Scripts
- Topic: Very simple session management script
- Replies: 0
- Views: 7438
Very simple session management script
A couple of days ago I felt the need to have session management in RJ TE. I still hope someday Rickard will deliver us something that would be, as usual, very handy and powerful, much more powerful than my little script, but till then you can use my script. Here's some specs: 1) sessions are kept in...
- 26 Mar 2012 17:46
- Forum: Scripts
- Topic: New script engine?
- Replies: 0
- Views: 8461
New script engine?
This is rather food for thought than a feature request; I just want to ask you to ponder it for a while. I've been monkeying with the embedded script engine (FastScript, http://www.fast-report.com/en/products/fast-script.html) for a couple of days. It may be excellent, most probably it is, but the s...
- 26 Mar 2012 17:10
- Forum: Scripts
- Topic: Strangeness with strings
- Replies: 0
- Views: 7269
Strangeness with strings
1) I noticed index in strings starts with 1, and not 0 (as usual). Not sure if this is by design or not, I guess it'd be more convenient to start it from 0, but hey, I can live with that. 2) I used Document.Text to get content of a file, e.g.: if (MainApp.OpenFile("sessions.csv")) { sStr =...
- 11 Jan 2012 11:55
- Forum: Language files
- Topic: German language updates for v7.90
- Replies: 8
- Views: 23837
Re: German language updates for v7.90
Too powerful as for my taste, I'm afraid--too similar to BlitzkriegStefanG wrote:You like powerful, how about Blitzsuche?
- 10 Jan 2012 23:12
- Forum: Language files
- Topic: German language updates for v7.90
- Replies: 8
- Views: 23837
Re: German language updates for v7.90
Hmmm, German Wikipedia begs to differ and suggests Vorschlagssuche -- I don't speak German, but this sounds pretty powerful to me. I could even use it instead of "Donnerwetter!"StefanG wrote:Other German software uses the term "Inkrementelle Suche"
- 10 Dec 2011 12:00
- Forum: External or integrated tools
- Topic: JSON Viewer
- Replies: 1
- Views: 12703
JSON Viewer
I just found a very simple but effective viewer for JSON files: not only it can display their structure, but also reformat it (but then you have to copy+paste result to RJ TE). It's open source and can be freely downloaded from http://jsonviewer.codeplex.com/
- 28 Oct 2011 07:14
- Forum: Syntax files
- Topic: Single-Digit numbers not colored
- Replies: 1
- Views: 9795
Re: Single-Digit numbers not colored
It's been already reported (twice) and fixed in final 7.70: http://www.rjsoftware.se/Forum/viewtopi ... 7166#p7180 and then reported another time: http://www.rjsoftware.se/Forum/viewtopi ... 7194#p7194 You're the fourth, hence no medal
- 06 Oct 2011 11:56
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 20859
Re: Help with/for Scripting
Ralph, I may be wrong on this, but I believe RJ TE uses FastScript as its scripting engine: FASTSCRIPT - multi-language scripting engine FastScript is a cross-platform, multi-language scripting engine. It is useful for programmers who want to add scripting ability to their projects. FastScript can b...