From: Richard Date: 2007-01-26T02:55:06+09:00 Subject: Re: Accessing ARGV[n] under SciTE fails; no problem under Command Window Hi Mitchell, For the benefit of other users who may view this thread, here's what I came up to customize SciTE for my purposes: if PLAT_WIN command.go.*.rb=ruby $(FileNameExt) $(1) $(2) $(3) $(4) command.go.subsystem.*.rb=1 command.go.*.rbw=rubyw $(FileNameExt) $(1) $(2) $(3) $(4) clear.before.execute line.margin.visible line.margin.width=3+ Again, thanks for getting me restarted. Regards, Richard On Jan 24, 8:05 am, mitchell wrote: > Hi, > > > > > > > Under SciTE with parameters 1/2 set to xxx/yyy respectively, execution > > yields: > > > Application Directory = '' > > YAML filename = '' > > > Under Command window, I get: > > > K:\>GenDB_CreationSQL_FromYML.rb XXX YYY > > Application Directory = 'XXX' > > YAML filename = 'YYY' > > > I'm running under WinXP/SP2 with SciTE ver. 1.72 (which I just upgraded > > from ver. 1.59, hoping to solve this problem) > > > Any ideas?In your ruby.properties, make sure you have something like: > command.go.$(file.patterns.rb)=ruby $(FileNameExt) $(1) $(2) $(3) $(4) > > The $(1), $(2), etc. is the parameters you input into the params dialog. > > -Mitchell; > > > > > Thanks in Advance, > > Richard > > > P.S. I didn't post on the Scintilla-interest list. I was getting > > killed with Spam when I was subscribed to that list, which ended when I > > unsubscribed.