Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
![]() |
World Community Grid Forums
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 116
|
![]() |
Author |
|
enels
Senior Cruncher Joined: Apr 25, 2008 Post Count: 286 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Heh. Sending keys is fraught with danger. The with statements are contextual and shouldn't slow down the compiler/interpreter. For readability it looks better though without the withs.
----------------------------------------[Edit 1 times, last edit by enels at Sep 18, 2016 8:35:59 PM] |
||
|
widdershins
Veteran Cruncher Scotland Joined: Apr 30, 2007 Post Count: 674 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
[O/T]
----------------------------------------Lol, it's like that 18 year minimum lawyer nonsense and subsequently they post an article/video with the standard Colgate smiley faced youngsters in them about the WCG program and "... is for everyone". I wrote the code, and just turned a piece into Open Source Yea there's a pile of stuff in that nonsense that would get most of the regulars on the forums booted out if anyone bothered to fully read it. I stopped wasting my time reading it when I reached the this line: "Do not include images in your content unless you own the exclusive rights to display the images." Anyone who has a SNURK sig, BoincStats sig, etc is automatically in violation of forum rules, pretty sure the creators of those have not given "exclusive rights" to anyone. And how about people who just post text only and have no sigs? Well they have "badges" displayed with their names as part of each post. I have no "exclusive rights" granted to me personally in a letter signed by WCG directors, who are presumably the only people in WCG empowered to sign away their rights to those badge images to me. [/O/T] Back on topic I'm impressed with the work you've put into this Sek, I'm coming to suspect that your crunching activities are only an excuse to enable your Excel data manipulation hobby to thrive. Hopefully it won't be long until the first production version is released. I'd be interested in downloading a copy when it's ready. [Edit 1 times, last edit by widdershins at Sep 19, 2016 12:21:57 AM] |
||
|
Sgt.Joe
Ace Cruncher USA Joined: Jul 4, 2006 Post Count: 7697 Status: Offline Project Badges: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
...your crunching activities are only an excuse to enable your Excel data manipulation hobby to thrive. Hopefully it won't be long until the first production version is released. I'd be interested in downloading a copy when it's ready. Same here. Cheers
Sgt. Joe
*Minnesota Crunchers* |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
Heh. Sending keys is fraught with danger. The with statements are contextual and shouldn't slow down the compiler/interpreter. For readability it looks better though without the withs. Am aware it could do harm, to with, so used to work in an English language interface, one can forget that %F and x (Now combined into %Fx), does not execute, or might do the wrong thing if done on a OS that's set up to for instance my own or say German (something on the ToDo list to solve).The tool, v2.0w, has been in 'private' publication 'on request' since long (read up in this thread how to get it). One member offered access to the member's (large) contribution account for testing... which helped infinitely to scale it well in working up to 17.5K active results and 15K in progress... Archived history build now exceeding 900K results to analyze every which way wanted to (Export to MySql or Access e.g.). Live archive up to 200K, depending on performance of the computer it is run on. As for the software code, MS publishes https://msdn.microsoft.com/en-us/library/d5fk...amp;MSPPError=-2147217396 which gave me the lead on how to keep the shell app on top during testing until all steps were finished (IOW, could hide this too and you'd never know/see whether the export happened or not. Did add a code line to put the timestamp of execution below the respective button as positive feedback ![]() Public Const BaseP As String = "WbkLoc" 'Dir where file is stored, in BaseP constant12 Programmers always will come up with 13 solutions, there's so many ways to get to Roma. And to put on the cracked record, if knreed could/would implement xml/verification/authorization code access ** to the info on 3 more pages on MC, the whole thing could be set to truly run autonomously, instead of the previous century scraping method. ** Works brilliantly on the main MC page and Result Status querying. Oh Lol, while researching WshShell capabilities, stumble on it being able to pass Jscript, PerlScript and whatnot, for input/commands to Internet Explorer (which is the webbrowser engine that Office exclusively uses to interface with the intertubes). Might be an avenue to send member name/password i.e. sign-in to MC (who has set her/his browser to remember ID/PW for WCG ![]() ![]() |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
More on JScript: https://helloacm.com/send-keystrokes-to-the-active-window-using-sendkeys-wsh/ which showcases how Application.Wait Now + TimeValue("00:00:02") can be replaced with WScript.Sleep 2 to do commands directly in the shell instead of alternating and sending them from Office to the shelled app.
----------------------------------------Oh dear, more learning to do. ![]() [Edit 1 times, last edit by SekeRob* at Sep 19, 2016 10:20:51 AM] |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
Sadly, MS removed functionality from Jscript, so anyone having to consider forward or backward compatibility is up the famous creek. I'll be darned if starting to make calls to kernel32.dll to get the wait states in (and then having to code for that in case someone runs 64 bit OS... who doesn't?).
And in the department of Show-Off, here's the tools button bar, free floating, resizable, anywhere you want to put it, with a grip, right bottom, and a little red note that you can hit Ctrl+b, to return the bar to it's standard parking lot, resizing to normal. ![]() The timestamps indicate when last hit, the blue highlight to help quick focus as to which button was hammered last. ![]() Started to develop a custom ribbon which will only be loaded when the workbook is active, but it's cumbersome 3 step coding. It's not editable via VBE, not through the Excel interface, sort of piggybacks in xml onto the workbook. For now, the quick-access bar gets extra icons, they work, when the workbook is loaded, but unfortunately, no custom icons can be used. Objective is to have the Ribbon and remove/shrink the pictured button bar and free up screen area and reduce the clutter. |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
Just added an "In Progress" column to the Summary (pic below), which makes it 'at a glance' to see how much work there's buffered [excluding those tasks that have already had trickle-ups], and for which projects you've got few or none... time to visit the forums for the "wazzup?", or MM your device profiles again.
|
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
Ripped out all the scraping code and rebuild, half the size it could be done.
----------------------------------------![]() [Edit 1 times, last edit by SekeRob* at Sep 29, 2016 7:57:29 AM] |
||
|
SekeRob
Master Cruncher Joined: Jan 7, 2013 Post Count: 2741 Status: Offline |
No one is going to be able to mess up the tool easily, so instead of inputting the key data into the spreadsheet, the user is presented with...
![]() Form with a capital F naturelmente, and maybe a fancy project pic as background for overboard gloss :D))) Not that I'm expecting anyone to be looked over the shoulder for the password, but it's set up as masked anyhow... just thinking of double entry, but it would be overkill, the more, when running the priming routine, injecting these codes into the queries, the user is presented with a verification screen, to check the double checked one more time. Want to help test (only one taker so far), PM me at the Berkeley forums... and you need Office 2013 at minimum, 2016 preferred... 2010 and prior wont even install on W10. |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
2010 and prior wont even install on W10. I have Office Home & Student 2010 32-bit installed and in regular use on W10 64-bit. Maybe it's some extra component that won't install? |
||
|
|
![]() |