Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get filetype / file extension
#2
this is what i use:

(shortcut drop example)
Quick Macros :: View topic - macro shortcut syntax

qm_desktop_icon
Code:
Copy      Help
function $files

str ext.get(_command findcr(_command '.')+1)
str name.getfilename(_command)
str name_ext.getfilename(_command 1)
sel ext
,case "ini"
,,out "make some %s stuff with %s " ext name_ext
,,
,case else end
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)