hi dear xyplorer family.
How can get selected items first item position number?
example i select 40-50 jpg files selected first item how can learn position?
sorry my bad english dears.
script.
please help me.
How can get selected items first item position number?
How can get selected items first item position number?
newbie or not...........
Re: How can get selected items first item position number?
Code: Select all
echo gettoken("<get SelectedItemsPathNames |>", 1, "|");
One of my scripts helped you out? Please donate via Paypal
Re: How can get selected items first item position number?
Code: Select all
text gettokenindex(<selitem>, listpane(), '|');
edit: saw highend's snippet. His script gives you the first selected item. Mine gives you the ordinal list position of the first selected item. Which one do you want?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: How can get selected items first item position number?
two replies wonderfull.
and very very thanks. and new want?
i want to x-1 select first item before item position number?
ok thanks
example=
$selection_first_item_pos_number = **** ; $before_pos_number=$selection_first_item_pos_number-1;msg $before_pos_number
my target this but i cant dears.
and very very thanks. and new want?
i want to x-1 select first item before item position number?
ok thanks
example=
$selection_first_item_pos_number = **** ; $before_pos_number=$selection_first_item_pos_number-1;msg $before_pos_number
my target this but i cant dears.
newbie or not...........
Re: How can get selected items first item position number?
i can dears ... im happy noww
""
$a = gettokenindex(<selitem>, listpane(), '|');$b =eval($a-1);msg $b;
""
thats greattttt!!!!!!!!!!!!!!!!!!
""
$a = gettokenindex(<selitem>, listpane(), '|');$b =eval($a-1);msg $b;
""
thats greattttt!!!!!!!!!!!!!!!!!!
newbie or not...........
Re: How can get selected items first item position number?
i want to x-1 select first item before item position number?
Code: Select all
sel gettokenindex(<selitem>, listpane(), "|") - 1;
One of my scripts helped you out? Please donate via Paypal