brown2005 Posted October 4, 2006 Share Posted October 4, 2006 I dont know if this has been asked before or not but when someone makes a post and it shows up in the liitle box thing with the scrolling bars... is there not a way you can make a button to select all the text in that button to copy and paste into our php programs..maybe you can all ready but i cant see it.. look forward to response.. thanks... Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/ Share on other sites More sharing options...
ober Posted October 4, 2006 Share Posted October 4, 2006 Sorry, but if you're too lazy to click in a box and hit Ctrl-A, I have no sympathy for you. We will not be adding that modification. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103765 Share on other sites More sharing options...
brown2005 Posted October 4, 2006 Author Share Posted October 4, 2006 well if it let me do that then I wouldnt ask the question.... it selects everything on the whole page.. not just wats in the box.. well it does for me...Anyway, things like that make it a better place for the people who use the site.. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103772 Share on other sites More sharing options...
neylitalo Posted October 4, 2006 Share Posted October 4, 2006 unfortunately, it's not such an easy task, even if we were to try and implement it. It would require javascript, and I'm not even sure that Javascript supports such an action.However, there is something you can do - if you click the "Quote" button next to somebody's post, it'll copy their post content down to the Quick Reply box, and you can Ctrl + A from within the Quick Reply. Of course, you'll get the BBCode as well, but you can always clean that up. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103775 Share on other sites More sharing options...
brown2005 Posted October 4, 2006 Author Share Posted October 4, 2006 thanks, nice to see someone that wants to help and explains.... Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103777 Share on other sites More sharing options...
.josh Posted October 4, 2006 Share Posted October 4, 2006 or you could like, use your mouse to highlight what you want, then right click and click on copy. or after highlighting, press Ctrl+C[quote author=brown2005 link=topic=110489.msg446722#msg446722 date=1159980338]thanks, nice to see someone that wants to help and explains....[/quote]well we aren't really here to explain how to use your OS and/or browser shortcuts either...do you really think we should go out of our way to make a new mod/hack for everybody's personal shortcut preference? Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103782 Share on other sites More sharing options...
ober Posted October 4, 2006 Share Posted October 4, 2006 I love how people take it straight to the dumper when they don't get the exact answer they were looking for. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103798 Share on other sites More sharing options...
wildteen88 Posted October 4, 2006 Share Posted October 4, 2006 Ctrl+A will only work on textareas/textfields. When someone posts a code into a post it is not a textarea the submited code is in. Instead it is a div with an overflow, thus making the elusion of it being a textearea when scrollbars are there. Thats why Ctrl+A selects everything on the page.You can do it with javascript. There is a method/function you can use. Seen it been done somewhere before. However I do agree that there is no point in having such a feature. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103804 Share on other sites More sharing options...
.josh Posted October 4, 2006 Share Posted October 4, 2006 lolp.s.- brown2005, if you really wanted to see your thing implemented, perhaps you should go to SMF's forum and make a suggestion there. Maybe they will implement it in future versions or maybe someone will make a mod. In other words, the best place to ask for a change/addon for a script is to go the people who made it in the first place. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103806 Share on other sites More sharing options...
ober Posted October 4, 2006 Share Posted October 4, 2006 And I apologize for skipping the fact that you can't do a Ctrl-A within a code block... but I like neylitalo's suggestion for getting around that. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103813 Share on other sites More sharing options...
fenway Posted October 4, 2006 Share Posted October 4, 2006 There's no reason that you can't do this with JS and dump the contents into the clipboard... at least for IE. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103913 Share on other sites More sharing options...
ober Posted October 4, 2006 Share Posted October 4, 2006 Actually... there is. Everytime we made a mod like this it has to be meticulously cared for everytime we apply another mod or patch or upgrade. It's not as if it's a technical issue. It's a maintenance issue. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103925 Share on other sites More sharing options...
neylitalo Posted October 4, 2006 Share Posted October 4, 2006 [quote author=fenway link=topic=110489.msg446860#msg446860 date=1159991688]There's no reason that you can't do this with JS and dump the contents into the clipboard... at least for IE.[/quote] I know that Firefox doesn't allow JS to cut/copy/paste anything. I'm not sure if it's a setting that you can disable, or if it's built in, but the fact that most PHP Freaks users do not use IE is reason enough to not bother with it. Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103936 Share on other sites More sharing options...
fenway Posted October 4, 2006 Share Posted October 4, 2006 [quote author=ober link=topic=110489.msg446872#msg446872 date=1159993574]Actually... there is. Everytime we made a mod like this it has to be meticulously cared for everytime we apply another mod or patch or upgrade. It's not as if it's a technical issue. It's a maintenance issue.[/quote]I should have said no "theoretical reason" ;-) Quote Link to comment https://forums.phpfreaks.com/topic/22985-select-all-button/#findComment-103985 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.