topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 11:28 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wjamoe [ switch to compact view ]

Pages: [1] 2 3 4next
1
Find And Run Robot / Re: Openstreetmap alias(es)?
« on: October 17, 2020, 02:55 AM »
or you can add 'from'  to the alias, then you don't need + signs or quotes in the seach field

regex
dir (.+) from (.+)

in combination with (same as before)
alias result
To: $$1 From: $$2 | https://www.openstre...p.org/directions?to="$$1"&from="$$2"

you can also add ' to'  and ' from' to the alias (please note the use of $$3)

regex
dir (.+) (from|to) (.+)

filter results (to only show the results containing 'to' or 'from'
$$2

directions for $$1 to $$3 | https://www.openstre...p.org/directions?to="$$3"&from="$$1"
directions for $$1 from $$3 | https://www.openstre...p.org/directions?to="$$1"&from="$$3"
directions for $$1 from HOME | https://www.openstre...p.org/directions?to="$$1"&from="HOME ADDRESS"
directions for $$1 from OFFICE | https://www.openstre...p.org/directions?to="$$1"&from="OFFICE ADDRESS"

example

dir segbroeklaan, den haag to schiphol airport
or
dir circuit, zandvoort from home

of course you need to replace HOME ADDRESS with your own home address ;-)

2
very nice, thanks!

3
From the file dialog it is also possible to copy the path and then start farr with that path

To select the path from the top most input field press

6 times [Tab] followed by [Enter]

The path is now selected so you can start FARR with automatic copy and paste of selected text (hot-keys) press

[Ctrl]+[Break]

You can define this in FARR Hot keys:
     Toggle FARR and copy selection Ctrl+Break/Pause

The full path will now be in the search field of FARR

Use my previous post to copy the new path from FARR to the File-dialog  [Ctrl]+c     [Alt]+[Tab]    [Ctrl]+v

4
Download link for this plugin was changed into

https://www.dcmember...om/taichi/downloads/

@mouser there are more links in the farr plugin area that point to the old dcmember folder-structure.

5
Use FARR as replacement for Listary's [ctrl]+g

Start your program and open the file dialog (open/save save as...)

Open FARR
Find the file/path (faster than most other filemanagers  :D  :up:
Go to row containing the path/file you want
Press [Ctrl]+C (this copies the complete filepath into the clipboard)
then press  [Alt]+[Tab] to go back to file dialog
then paste [Ctrl]+v into file dialog
(remove filename if you copied a filename and you only wanted the path),
press [Enter] to update the folder contents

Njoy
Wjamoe (wiem)

6
moved this post to other FARR subject concerning Listery :-[

7
@nod5

thanks for the nice GIF animation to explain the user experience for this alias

https://imgur.com/a/YzJlRhx

8
Find And Run Robot / Re: regex default value if nothing entered
« on: September 25, 2020, 01:25 AM »
or you can make all 4 fields mandatory like:

slicevideo\s+"([^"]+)"\s+([^\s]+)\s+([^\s]+)\s+([^\s]+)
 
\s+      = at least one space or tab (white space)
[^"]+  = at least one character until a quote
[^\s]+ = at least one character not being a white space
()        = remember contents for use in $$1 $$2 $$3 $$4

Maybe you want  to limit the characters for $$2 $$3 $$4 to make sure valid time format and filename

slicevideo\s+"([^"]+)"\s+([\d:]+)\s+([\d:]\w+)\s+(\w+)$
 
\w+     = at lease one word character 0-9 a-z A-Z and the underscore (word characters)
[\d:]+  =0-9 and ':' (in random order!)
[0-9:]  =0-9 and ':' (in random order)

if you want to extend the word characterset with '+' and '-'
replace
   \w+
by
   [\w+\-]+
please note you need a backslash just before the minus sign

-----
or a simple alternative
add a prefix (e.g. vid_) to each $$4 in the alias this will keep working when $$4 is empty like so:

shellexec /k "source file"=$$1 - cut time=$$2 - duration=$$3 - output name=vid_$$4 |
   ffmpeg.exe -i "$$1" -ss $$2 -c copy -t $$3 -vf "\ffmpeg output\vid_$$4.mp4"

9
Post New Requests Here / Re: Folder Organizer/Sorter
« on: March 31, 2019, 01:27 PM »
You could try totalcommander (www.ghisler.com)

First change to the folder with the files, compressed folders and compressed files, then to open the search dialog press:
  [Alt-F7]
Specify wildcard for the files you want to copy e.g.
  *.stl
(Optionally Enter a string you are looking for in those files, to limit the result)
Check the box before
  [v] Search archives (except for UC2)
Press button
  [Start search]
..wait.. then when the list of files is shown press
 [Feed to listbox]
All filenames are now shown in the normal tc window.
Select the destination folder in the other window
  ..
To copy the files to the destionation folder. Go back to the window with the search results, and select some or all of the files, press
 [F5]

ready  :)


10
General Software Discussion / Re: Edit this Autoexec.bat?
« on: September 03, 2017, 12:13 PM »
Just to be complete, creating the autoexec.bat file was and is also possible from the DOS commandline (cmd.exe in windows), I do not know if this is true for freedos, though.

COPY CON FILENAME copies keyboard input to filename.

use [Ctrl-Z] after your last character, do not forget an [Enter] before [Ctrl-Z]. 8)

for example

Code: Text [Select]
  1. copy con autoexec.bat[Enter]
  2. <type here your first line>[Enter]
  3. <type here your second line which is verry very very .....................................................................................long I think max 255 chars>[Enter]
  4. [ctrl-Z]

In case the destination file already exists, DOS asks permission to overwrite the existing file.

11
Find And Run Robot / Re: Possibility to chain searches?
« on: August 12, 2017, 02:10 AM »
maybe some alternatives

You could drag the executable to the toolbar, which adds an icon, then search for the file, drag drop the file onto the added icon. The icons can be reused ;-)

If you do it the other way around, so first find the file, then select a program to open it, there are several alternatives on this forum.

Open with is also available via right click on the file, select the first option: shell context menu.., then select open with.

wjamoe


12
Find And Run Robot / Re: Assign hotkeys to user-toolbar items
« on: July 25, 2017, 12:47 AM »
Instead of linking to a single .exe,
you can put the aliasses as suggested by skajfes in the menu.

e.g.
title: an&ything
program: path to your version of farr.exe
parameter: -search alias or +alias

You can then use alt-y to execute the aliass, use the cursor+enter or alt+digit (also suggested by skajfes) to choose your option.

13
Find And Run Robot / Re: Assign hotkeys to user-toolbar items
« on: July 22, 2017, 03:00 AM »
there is a prehistoric way of doing this ;-)
use '&' just before a character in the title of the item

e.g. &mail as title for the item
it will appeas as mail
2017-07-22 , 10_00_51 - Find and Run Robot 2 _ 2017 (week 29) 22 July,  Saturday, 09_57 (day 203_365).png
Then you can use Alt-m to open the mail item

or m&ail if you want Alt-a to open the item

this does not work for menu items with an icon

KR
Wjamoe

14
It is a pity that the auto screencap article refers to sourceforge instead of donationcoder.com :-(

It was not possible for me to add a comment to correct this.

15
Living Room / Re: Where was DC mentioned today?
« on: July 17, 2017, 11:43 PM »
I think it is the RSS feed from your own blog ;-)

Google search returned this for 'donationcoder 2017' as the third result

regular forum - DonationCoder.com Forum - Index
https://www.donationcoder.com/forum/
July 16, 2017, 01:24:39 PM; Proudly celebrating 10 years online. Donate now to become a lifetime supporting member of the site and get a non-expiring license ...

It looks like it predates the recent donations.

10 years, wow, let's celebrate, keep the good work going !

KR wjamoe

16
Or you can try this without an external file

Watch the space after nn (this will increase the speed, farr will recognize you alias early

As soon as you type nn[space] it will display the complete list of entries from the Result(s)

Typing nn em will get your emacs result

2017-07-12 , 21_55_45 - Edit Group Alias.png

KR wjamoe

17
@slc7 if you mean folders accessed outside farr using windows file save dialog you can add "the folder"

%SPECIALSYS_DOCS%

to your the search folders in farr options.

if you want to see your previous commands in the search field in Farr, use Ctrl-up.

K.R. wjamoe

19
Mouser, that would be great! :up:

By all results do you mean all shown results, or really all results (multipage)   ;)

20
you can use snagit in txt mode to export results

see this post https://www.donation....msg338397#msg338397


21
Mouser,
Some folders are not found/matched by FARR when I type the name in the searchfield e.g.

c:\bin\dkdkd.bat

this file exists, but there are no results in the result window. FARR is busy searching other folders, the \bin folder is not even shown in the status line at the bottom of the farr window.

But when typing without the lowercase b, the folder and file is found e.g.

c:\in\dkdkd.bat

or using an upper case B

c:\Bin\dkdkd.bat

both immediately result in

c:\bin\dkdkd.bat

I don't have to type the full path, it also works when I type only the beginning of the path in the searchfield.

Has this to do with '\b'=Backspace ?

Please help! Thanks in advance :)

Best Regards
wjamoe (NL)   

22
Living Room / Re: What books are you reading?
« on: February 14, 2017, 10:54 PM »
The Simpsons and their mathematical secrets is also one of the books I am reading.

23
Please enable modifier keyword for heuristic scoring rules. 
The modifier keyword field is present but you cannot edit it.

(This was copied from a PM to mouser dd 5-1-2016)





24
I think I finally found the cause
why some aliases containing '$$1' to the left or the right of the '|'  in the results window
not always work as expected.

Apparently \t and similar characters combinations like \n are expanded to tab and newline respectively.

However these character combinations can be part of a path like c:\tiddlywiki\newversion\last

test case using the paste command (inserts text in last active window) this is the only command that shows the strange effect all other commands do not give any output.

Create an alias with the following result

demo  | paste "$$1"

and the regular expression

^==(.+)

Save the alias.

Now open a new notepad (needed for the paste command to work)

THEN reopen(!) FARR and type

==c:\tiddlywiki\newversion\last

Which matches the regular expression ^==(.+)

Go to the demo alias in the results window using your mouse or cursorkeys.
In the information bar it shows

paste "c:\tiddlywiki\newversion\last"

expected result in Notepad window

"c:\tiddlywiki\newversion\last"

However result in Notepad looks like

"c:   iddlywiki
ewversion\last"


Feature request: Can you please disable expansion of the character combinations when they are part of $$1, $$c .
#filecontents has the same problem, I assume this uses the same programcode.

BTW $$u# work as expected, so no change there ;-)

25
Mouser,

Happy NEW YEAR!

Knowing that you are working on updates for your wonderfull :Thmbsup: tools, I have one request for FARR.

Sometimes an alias does not match the way you intended (or understood) especially with regular expressions this can happen.

Would it be possible to add a button to the edit group alias to copy the current FARR searchfield contents to the edit box with the label

    Test Regular Expression Here   no match.    or       Test Regular Expression Here   match

Alternatively you could fill the edit box with the current search field contents by default, then no button is needed 
Clearing the field by hand is easier than filling the editbox :D


Pages: [1] 2 3 4next