Got it. Thank you.highend wrote:Em...
That is part of the AHK CODE, not of XY's (which begins with "::" and ends before the last closing ")")^^
Search found 557 matches
- 05 Dec 2015 22:52
- Forum: Script Exchange
- Topic: [AHK] Get paths of selected fileS or a file in XYplorer ?
- Replies: 11
- Views: 8975
Re: [AHK] Get paths of selected fileS or a file in XYplorer
- 05 Dec 2015 21:33
- Forum: Script Exchange
- Topic: [AHK] Get paths of selected fileS or a file in XYplorer ?
- Replies: 11
- Views: 8975
Re: [AHK] Get paths of selected fileS or a file in XYplorer
I google the "Ltrim Join" and find that Highend is the sole inventor of the command.
In the manual I couldn't find it.
In the manual I couldn't find it.
- 05 Dec 2015 21:30
- Forum: Script Exchange
- Topic: [AHK] Get paths of selected fileS or a file in XYplorer ?
- Replies: 11
- Views: 8975
Re: [AHK] Get paths of selected fileS or a file in XYplorer
Thanks for your fast help.highend wrote:It removes all trailing spaces / tabs and joins the lines into one afterwards.
But when experimenting in the address bar (Alt+F8), the following command won't work:
Code: Select all
:: echo (ltrim join :: "abc " . "def ");
- 05 Dec 2015 20:56
- Forum: Script Exchange
- Topic: [AHK] Get paths of selected fileS or a file in XYplorer ?
- Replies: 11
- Views: 8975
Re: [AHK] Get paths of selected fileS or a file in XYplorer
Dear Highend, Thank you for some XYS coding techniques. Howeve, I have trouble to under the syntax of (LTrim Join...): Hacked together... xyQueryScript = ( LTrim Join :: if (!%bAll% && !%bSelection%) { $return = "<curpath>"; } elseif (%bAll%) { $return = listpane(, , , "<crlf>...
- 01 Dec 2015 09:03
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
Pass the number, not the string: ::text readurl("http://hk.on.cc/hk/bkn/cnt/news/20151129/bkn-20151129150616930-1129_00822_001.html",,,,65001); Yeah, your plain number 65001 works like a charm! Thanks a lot. :appl: 100 MB limit because readurl() blocks the app until it's done. Let me know...
- 01 Dec 2015 00:06
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
How come Don impose a restriction of 100MB to readurl()?
(Actually I don't mind so far! )
(Actually I don't mind so far! )
- 01 Dec 2015 00:04
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
Hi Don,
How come readurl() and readurlutf8() for supposedly the same codepage 65001 perform differently, one good and one bad ?
How come readurl() and readurlutf8() for supposedly the same codepage 65001 perform differently, one good and one bad ?
- 30 Nov 2015 23:55
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
Hi Don, Thank you for your instant implementation of the Asian languages support for readurl() in v16.00.0203 - 2015-11-26 18:49. Repeated tests show readurlutf8() performs better than the enhanced readurl(). The text produced by readurlutf8() is legible. XY35.jpg ::text readurlutf8("http://hk....
- 30 Nov 2015 12:11
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
The site is "charset=utf-8". XYplorer cannot know this (unless I teach it how to interpret HTML -- not my plan). So you have to tell readurl() how to interpret the data. I will add a CodePage parameter that allows you to do so. Hi Don, You never cease to amaze us. Wow, what a perfect enha...
- 30 Nov 2015 11:05
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
the builtin textbox isn't very good at displaying exotic content. Thank you for trying to help. Nope, the screen shot produced by your ::writefile('readurl.txt', readurl("http://hk.on.cc/hk/bkn/cnt/news/20151129/bkn-20151129150616930-1129_00822_001.html")); shows the Chinese characters ar...
- 29 Nov 2015 11:56
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Re: Asian Language Support of readurl()
The result produced by readurl() is illegible!admin wrote:For example?
Code: Select all
::text readurl("http://hk.on.cc/hk/bkn/cnt/news/20151129/bkn-20151129150616930-1129_00822_001.html");
- 29 Nov 2015 10:08
- Forum: Wishes
- Topic: Asian Language Support of readurl()
- Replies: 11
- Views: 1812
Asian Language Support of readurl()
It would be nice if readurl() can display Asian languages properly.
- 25 Nov 2015 00:34
- Forum: Script Exchange
- Topic: Foreach selected folder, copy, rename and move contents
- Replies: 17
- Views: 4435
Re: Foreach selected folder, copy, rename and move contents
I mean: setting "BackgroundFileOps", 0; foreach($folder, "<get SelectedItemsPathNames |>") { if (exists($folder) != 2) { continue; } $files = folderreport("files:{modified yyyymmddhhmmss}|{fullname}", "r", $folder); $sorted = formatlist($files, "r", ...
- 25 Nov 2015 00:27
- Forum: Script Exchange
- Topic: Foreach selected folder, copy, rename and move contents
- Replies: 17
- Views: 4435
Re: Foreach selected folder, copy, rename and move contents
Hi Highend,highend wrote:Regarding the new file name...
Examples (original -> modified)?
folderreport is without the recursive flag...
Thank you for taking time to show us the XYS scripting tricks.
- 23 Nov 2015 10:28
- Forum: Tips & Tricks, Questions & Answers
- Topic: How to Format foldersize()?
- Replies: 7
- Views: 1200
Re: How to Format foldersize()?
Hi Highend, Thanks to your tip, I modify the script for my learning exercise. Thank for your help. $properties = foldersize(,"<d>, <f>, <b>"); $text = "Folder Count: " . format(gettoken($properties, 1, ", "),"000") . <crlf>."File Count: " . format(ge...