What's the difference between run and openwith?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

What's the difference between run and openwith?

Post by armsys »

What's the difference between run and openwith? :oops:
The difference between the two commands seems foggy. :blackstorm:
Both commands can execute the executables such as WinRAR.exe. :roll:

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

What's different between scripting commands run and openwith

Post by Stefan »

armsys wrote:What's the difference between run and openwith?
You don't design a scripting language and just decide "I need this, and that, and perhaps..."

It' s a improvement over years and driven by new cognitions and user wishes.

So over time we get several commands to chose from.

Like in most other language too. Or are 'begin' and 'start' foggy too? You just choose what fits best for your current task:

run command, [directory], [wait=0], [show=1]

openwith application, [mode (s|m)], [itemlist]


More at XYplorer Help > "Advanced Topics > Scripting Commands Reference"


.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: What's different between scripting commands run and open

Post by armsys »

Stefan wrote:
armsys wrote:What's the difference between run and openwith?
You don't design a scripting language and just decide "I need this, and that, and perhaps..."
It' s a improvement over years and driven by new cognitions and user wishes.
So over time we get several commands to chose from.
Like in most other language too. Or are 'begin' and 'start' foggy too? You just choose what fits best for your current task:
run command, [directory], [wait=0], [show=1]
openwith application, [mode (s|m)], [itemlist].
Very philosophical!
Very historical!
Danke schön! :appl:

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: What's the difference between run and openwith?

Post by Stefan »

I had should add that I am confused often too (more then once) with different languages (coding and human) but it's getting better over time. Trust me.



 

Post Reply