[Github-comments] [geany/geany] Geany's context again (#1836)

aplsimple notifications at xxxxx
Sun Apr 22 05:27:10 UTC 2018


Well, really setting e.g. in Windows the context action as  %s 
and then calling it on:  cmd /c DEL /Q /S /F c:\valuable\*.*
we would clear the valuable directory off. It would be entirely our mental problem, not Geany's.

Sometimes ago I'd tried the use of GEANY_CURRENT_FILE and other env. variables, without success. Now trying tmp.bat file (as context action tmp.bat %s):
   echo ---------
   echo %PATH%
   echo ---------
    echo %1
   echo ---------
   echo %GEANY_CURRENT_FILE%
    echo ---------
    pause
I get:
  PATH variable - OK
  Geany selection - OK
  GEANY_CURRENT_FILE variable -   NOT OK
i.e. no success again.

Moreover, F5 (Run) gives the same (%s excluding).
Geany v.1.29. Windows. (I would test it on other versions and platforms)

Of course noboby need to read my 'novels'.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1836#issuecomment-383356571
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180422/ad3c1113/attachment.html>


More information about the Github-comments mailing list