[power-pro] Re: getopt anyone?

2004-05-14 Thread entropyreduction
--- In [EMAIL PROTECTED], sgp [EMAIL PROTECTED] wrote: entropyreduction wrote: I prefer to conduct this thread by e-mail. Me too, but I can't figure out your email address from the yahoo group. How can I do? Its: [EMAIL PROTECTED] Meanwhile: Hi, File format. Keytrap style or ini

[power-pro] Re: Test if exe is on path?

2004-04-28 Thread entropyreduction
Hi Alex, Very nice. Made it into a callable function returning a boolean. I could also easily add a service to prog plugin that does same thing. Would be a call to just one win32 api function: DWORD SearchPath( LPCTSTR lpPath, // address of search path LPCTSTR lpFileName, // address of

[power-pro] Re: Test if exe is on path?

2004-04-29 Thread entropyreduction
Ok, just added search_path service to prog plugin ver 0.4. searches the path. Ignores HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths In any case doesn't appear that do(an exe name,...) pays any attention to entries in App Paths anyway... Yahoo! Groups

[power-pro] registry plugin: anyone still using x variables?

2004-05-05 Thread entropyreduction
Alan Martin has suggested creating two new plugins from the current registry plugin. ini.dll will handle ini access (with additional services to copy and delete sections, delete keys, etc). reg.dll will handle registry access. I'll continue to support registry.dll (combined in and registry

[power-pro] users of registry, reg, ini plugins: forward/back slash

2004-05-25 Thread entropyreduction
Shouldn't be a problem using forward slashes in file paths sent to ini plugin. Let me know if there is. reg/registry: problem: registry paths also delimited with backslashes. So I _could_ parse any reg path that comes in and translate forward slashes to backslashes. Bad news: Key names

[power-pro] Re: users of registry, reg, ini plugins: forward/back slash

2004-05-26 Thread entropyreduction
--- In [EMAIL PROTECTED], Alex Peters [EMAIL PROTECTED] wrote: --- swzoh wrote: Since my previous post seems rather ambiguous, I wrote an example that I'm actually using now: reg.set_string(?HKCR\...\...\...,...) Notice that I've chosen itself as the delimiter character since I've

[power-pro] Re: iniPlugin - Blank Where Are You?

2004-06-01 Thread entropyreduction
--- In [EMAIL PROTECTED], stindlpeter [EMAIL PROTECTED] wrote: Hi Peter, But anyway - the iniPlugin simply skips the information despite of a clear statement with ++. So the iniPlugin thinks and does what IT wants and not what is coded by the user. I use the standard win32 api to

[power-pro] configuring plugins with ini files

2004-06-07 Thread entropyreduction
Hi, I'm about to add the possibility of setting configuration details for all my plugins using an ini file. The idea will be that the plugin checks for an ini file in a given place (pprofolder) with a given name, and if it finds it, uses it. (In the case of my plugins you'll also be able

[power-pro] Bruce: GetVar vs ppsv-EvalExpr?

2004-06-07 Thread entropyreduction
Hi Bruce, To get a powerpro keword value e.g. pprofolder from a plugin, would GetVar be any less or more efficient than ppsv-EvalExpr? Yahoo! Groups Sponsor ~-- Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker.

[power-pro] Re: %(env var% fails in

2004-06-20 Thread entropyreduction
I use %% very extensively: practically all exes invokes via %ProgramFiles%, %windir% or %systemdrive% It works fine for me too. Can you give a specific example that fails? Ok now, followed suggestions from David and swzoh, forced config to reset the %% option, all okay now.

[power-pro] Re: mixed \ and / in file.open fails when it shouldn't

2004-06-25 Thread entropyreduction
--- In [EMAIL PROTECTED], swzoh [EMAIL PROTECTED] wrote: file.open(d:\apath\morePath\PEGASUS/3828BC19.PMW) returns -2 even though file exists. Works fine here. Are you sure you specified the 2nd parameter, r/a/w? Yes. BTW, is the file a text file or a binary file?

[power-pro] Escaping Standard Config (was: Re: Escape Characters \ vs' and Browser focus)

2004-06-28 Thread entropyreduction
--- In [EMAIL PROTECTED], Ted Wall [EMAIL PROTECTED] wrote: I just spent a day looking at changing my configuration from ' as an escape char to the standard configuration \. Conclusion: • Too much work, more \ escapes than ' ...snip... • Benefits, nil to none. After several more days

[power-pro] (unknown)

2004-06-28 Thread entropyreduction
I might have missed this this stuff already being discussed, wasn't really paying attention during the standard config discussion Given SC, what's to become of all the existing scripts in the file section of the forum that almost by defintion can't be in SC (because they were created in an

[power-pro] Bruce: configuring a plugin in winMain

2004-07-01 Thread entropyreduction
Hi Bruce, I've got a bit of configuration that logically should be done when the plugin dll loads. But I need access to GetVar and maybe PPROSERVICES*. Those only come available when a service is called, so instead of doing my startup business in winMain, I have to test a flag at the start

[power-pro] Re: Bruce: configuring a plugin in winMain

2004-07-06 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: --- In [EMAIL PROTECTED], Russel [EMAIL PROTECTED] wrote: I added ppsv=SendMessage(g_handPowerPro, WM_USER+501, 0,0) to get the ppsv pointer. I forgot to test this so let me know if you try it. Seems to work fine. Thanks.

[power-pro] keywords return path with backslashs

2004-07-10 Thread entropyreduction
Hi Bruce, Here's a little thing: pprofolder, scriptfolder, exefullpath, lastclippath and probably other keywords that return a path return it with backslashes. That shot me in the foot: I passed a string constructed from pprofolder out to a vbs script, which then called back with a

[power-pro] plugin to parse options, like getopt

2004-07-18 Thread entropyreduction
SGP asked for an options plugin, providing functionality something like the getopt package used in Perl, Python, TCL and other scripting languages. Here it is. You supply a syntax defining legal options, and a string of options to parse, looking maybe like this: -p 1 -d --puddlefeature

[power-pro] Re: plugin to parse options, like getopt

2004-07-18 Thread entropyreduction
Hi David, Would this give access to: (from help file Plug-ins item) Use (ppsv-IgnoreNextClip) in plugins setting the clipboard where No, not at all. How about lobbying to get it added to MiscPlugin? Doesn't fit any of mine. Yahoo! Groups Sponsor

[power-pro] autoIt 3 interface plugin

2004-07-21 Thread entropyreduction
Hi, Used a perl script to generate code to wrap the header for autoIt3X beta. There are 80+ functions and I've exercised only a few. Given that the autoIt dll is in beta, expect the unexpected (of the 10 or so functions I tried, one failed to link (so their lib file didn't match their

[power-pro] Re: autoIt 3 interface plugin

2004-07-22 Thread entropyreduction
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I'll hold off for now including it in the PProPlugins.zip file until it's been tested a bit more then =) That's entirely up to plugin users. I'm not intending to do any more testimg myself. Perhaps those who need/use the autoit3 interface

[power-pro] database plugin?

2004-07-22 Thread entropyreduction
Anyone want a plugin to get at databases? ODBC access be the thing? Or? Yahoo! Groups Sponsor ~-- Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM

[power-pro] Re: scripts.ini and some tools

2004-08-10 Thread entropyreduction
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: In my working on tweaking the wget.powerpro that Luciano posted, I started having an idea on a couple things: ; Save all current local variables into the scripts.ini file ; under the section name given plugin.SaveVars(Script) There's no

[power-pro] Re: scripts.ini and some tools

2004-08-10 Thread entropyreduction
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: local and static variable with same name). So does ini.setvars distinguish statics from locals? It could be done this way: [ScriptName-Statics] var1=xxx var2=yyy [ScriptName-Locals] var3=rrr plugin.SaveVars(IniSectionName) The

[power-pro] Re: scripts.ini and some tools

2004-08-11 Thread entropyreduction
--- In [EMAIL PROTECTED], Alex Peters [EMAIL PROTECTED] wrote: --- Alan wrote: So does ini.setvars distinguish statics from locals? I don't believe that it should be up to the plugin to decide which variables are static and which are local. I would believe it fair for the script writer

[power-pro] Re: scripts.ini and some tools

2004-08-11 Thread entropyreduction
--- In [EMAIL PROTECTED], Cüneyt [EMAIL PROTECTED] wrote: Hi there, [on Scripts.ini, vectors maps, making PP crash-proof, useful tricks, workarounds] [Pass, for now, on your proposals about serialising complex variables. Doable, but will take a while to work out all possible

[power-pro] review of powerpro on Lockergnome

2004-09-03 Thread entropyreduction
Here... http://channels.lockergnome.com/windows/archives/20040830_powerpro_fre e.phtml Yahoo! Groups Sponsor ~-- $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM

[power-pro] encryption/decryption services

2004-09-04 Thread entropyreduction
I have both scripts and ini pp-related files lying around with passwords in them. I suppose it would be sensible if they were obscured. So I've been wondering about adding services to e.g. ini, are creating a crypto plugin. But maybe that's over the top. How about ROT13? Anyone have any

[power-pro] Re: encryption/decryption services

2004-09-07 Thread entropyreduction
Consensus seems to be: no ned for a crypto plugin, so off my list. Yahoo! Groups Sponsor ~-- $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM

[power-pro] VDesk.SwitchMenu doesn't, quite

2004-10-17 Thread entropyreduction
Hi, If I pick a window in the menu thrown up by VDesk.SwitchMenu, I'm switched to the correct VDesk, but not the correct window on that desk. Anyone else have same behaviour? W2K sp4, powerpro 4.1. Yahoo! Groups Sponsor ~-- Make a clean

[power-pro] crypto plugins

2004-10-17 Thread entropyreduction
Hi, Two plugins that do the same work. You can encrypt and decrypt a string (e.g. an entry in an ini file). You chan get MD5 and SHA-1 hashes of strings and files. One(cryptow)uses the native win crypto API. Offers a choice of crypto algorithms. Mockey can't get it to work on his bog

[power-pro] Bruce: is powerpro compiled with

2004-10-24 Thread entropyreduction
Hi Bruce, Debugging some problems I'm having with net plugin spawning a thread. Is powerpro compiled with /MD switch, i.e. against the multithreaded DLL C runtime library (MSVCRTxx.DLL)? Yahoo! Groups Sponsor ~-- Make a clean sweep of

[power-pro] Re: Bruce: is powerpro compiled with

2004-10-26 Thread entropyreduction
Hi Bruce, --- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: Is powerpro compiled with /MD switch, i.e. against the multithreaded DLL C runtime library (MSVCRTxx.DLL)? No. But doesn't each dll get its own version of the library unless it dynamically links with one (which

[power-pro] Re: Bruce: is powerpro compiled with

2004-10-26 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: file.runcallback(9, [EMAIL PROTECTED], notepad.exe) Quit @callback ;file.unload win.debug(got here) Quit I think this is a bug in file plugin: it

[power-pro] vec.exists problem

2004-11-02 Thread entropyreduction
Hi Bruce, vec.exists() seems to require the variable, rather than a string containing the name of a variable: vec.exists(sqll_data) instead of vec.exists(sqll_data). If the vector does not exist, and no variable exists of that name, you get Variable used before being declared error if

[power-pro] Re: vec.exists problem

2004-11-02 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: If the vector does not exist, and no variable exists of that name, you get Variable used before being declared error if Variables must be declared before using option is checked. Error surely not approprriate? Error is

[power-pro] Re: vec.exists problem

2004-11-02 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: But that makes vec.exists unusable if Variables must be declared before using is checked: I need to know if the vector exists without triggering error if it doesn't. How do I do that? Gloval v=0 vec.exists(v)

[power-pro] Re: vec.exists problem

2004-11-02 Thread entropyreduction
--- In [EMAIL PROTECTED], Alex Peters [EMAIL PROTECTED] wrote: --- Alan wrote: Could you not just check for the existence of aVector in AllGlobals or simply check that the value of aGlobal is neither of 0 or ? Nope, user might have declared locals or statics. My plugin only declares

[power-pro] Re: Sqlite

2004-11-04 Thread entropyreduction
--- In [EMAIL PROTECTED], Steve Fisher [EMAIL PROTECTED] wrote: Outstanding Alan, have downloaded all the files and am reading through the instructions. Do you have any example scripts?? There's a sample script in the zip file: sqllPluginTest.powerpro.

[power-pro] Re: Stop USB drive (slightly OT)

2004-11-06 Thread entropyreduction
--- In [EMAIL PROTECTED], jevisick [EMAIL PROTECTED] wrote: Does anyone know a Win2K command-line command that does the equivalent of clicking the unplug icon in the system tray and stopping a USB device so that it can be unplugged? Try devcon referred to on

[power-pro] ODBC plugin

2004-11-11 Thread entropyreduction
Hi, This one lets you query and (to a limited extent) update ODBC data sources. You have to have ODBC on your machine. I thik it comes built in on W2K and XP. Not sure about W9x. Someone let me know? On my system I tested Excel, Access, CVS text, and dBase drivers. There's sample data

[power-pro] Bruce: function to determine if var declared possible?

2004-11-15 Thread entropyreduction
Hi Bruce, Repeat request, last one might have got lost inside a thread about new PP version. Sorry if I missed a reply. Would a function that would check whether a var had ben declared (local, static or global) e.g. var_exists(var name) (returns 0/1) be possible? Would make calls

[power-pro] save/restore variables: require maps/vectors to be created before restore?

2004-11-15 Thread entropyreduction
Still thinking about how to save and restore vars in a procedure. Would anyone find it overly restrictive if I not only required all variables that were to be restored be declared (local, static, global) before restore, but also required all maps and vectors to be created before restore?

[power-pro] Bruce: fucntion to return names of labeled statement called?

2004-11-15 Thread entropyreduction
Hi Bruce, Also, unlikely you can do this, but how about a function/keyword like scriptname that would tell you the labelled block of code you were in assuming you got there by a [EMAIL PROTECTED] or [EMAIL PROTECTED] (which just after you called them keyword would return myLabel. I realise

[power-pro] ppsv-GetVarAddr(allglobals) crashes Powerpro.

2004-11-16 Thread entropyreduction
Hi Bruce, ppsv-GetVarAddr(allglobals)crashes Powerpro. CHAR szResult[PP_VAR_SIZE]; m_ppsv-EvalExpr(allglobals, szResult); works okay. Any way I can get at allglobals or allstatics if there are lots of globals/statics (and therefore more than 531 chars in the keywords?)

[power-pro] what takes precedence: global, static, or local?

2004-11-17 Thread entropyreduction
Hi, With this script: @varTypesRunner global sTest sTest = in global [EMAIL PROTECTED] win.debug(in global context: ++ sTest2) quit @varTypes static sTest sTest = setting inside function win.debug(in local context: ++ sTest) Quit output is in global context:

[power-pro] static and local collide

2004-11-17 Thread entropyreduction
Rule I Statics are defined per script-file. All callable labels in the file see the same set of statics. Rule 2 a variable cannot be declared local and static in the same context Result: So you can not do this in one file @proc1 static sVar ... quit @proc1 local sVar ... quit

[power-pro] Re: Pcrei.com files updated

2004-11-24 Thread entropyreduction
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I've updated files at http://powerpro.pcrei.com and ftp://powerpro.dyndns.org : Pplugins.zip PPMLA_Complete.zip PPbA_Complete.zip You've been busy. To current. If anyone knows of any missing plugins, or not-updated plugins in the

[power-pro] Re: more on save/restore variables

2004-11-29 Thread entropyreduction
--- In [EMAIL PROTECTED], sgp acs322000 [EMAIL PROTECTED] wrote: You've thought of everything! I wish. entropyreduction wrote: Want a pre-release copy of plugin to play with in a week or so? yes, please. Where do I send it? Is it possible to save global maps and vectors on a per

[power-pro] Re: Bruce: declaring vars from within plugin?

2004-11-29 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: After adding a runcmd service to win plugin which does as your above call on ppsv, I ran the following script and got the expected result for allstatics and allglobals. In your tests, is the check on allstatics happening in

[power-pro] Re: Bruce: declaring vars from within plugin?

2004-11-30 Thread entropyreduction
--- In [EMAIL PROTECTED], brucexs [EMAIL PROTECTED] wrote: Hi Bruce, My error. My defensive coding protected me from myself. Sorry to trouble you. From a plugin I'm doing stuff like ppsz-RunCmd(static myVar); SetVar(myVar, something); Yahoo!

[power-pro] Bruce: pickstring multiple selection possilbe?

2004-12-06 Thread entropyreduction
Hi Bruce, Something that would be handy for save_vars (now evlolved into vars.save) would be a parameter on pickstring that would allow selection of multiple items in the listbox. I vaguely remember that's quite easy to implement, maybe a listbox property bit set? _pickedline_ would of course

[power-pro] registry plugin dead

2004-12-06 Thread entropyreduction
Hi, All 13 people who responded to poll about registry (combined reg/ini) vs newer, separate reg and ini indicated they're using the separate plugins. So I'm killing off the combined one. Yahoo! Groups Sponsor ~-- Make a clean sweep of pop-up

[power-pro] SGP: Re: more on save/restore variables

2004-12-06 Thread entropyreduction
--- In [EMAIL PROTECTED], sgp acs322000 [EMAIL PROTECTED] wrote: entropyreduction wrote: Where do I send it? my yahoo email address, please Snt a test message to that address. Did you get it? Yahoo! Groups Sponsor ~-- Make a clean sweep

[power-pro] vars plugin: save and restore variables to an ini file

2004-12-09 Thread entropyreduction
Hi, With this guy, you can save variables to an in file: the ini file dictates which variables are to be saved. With appropriate parameters vars.save can be used to gnenerate a skeleton ini file (the section names are kinda weird). Maps and vecs can be saves. vars.restore brings back saved

[power-pro] supress window updating

2004-12-10 Thread entropyreduction
Hi, On PP startup I distribute windows to various vdesks, which requires switching vdesks alot. Result is an entertaining but rather overwhelming flashing of screens as windows get moved hither and thither. Do I vaguely remember there's a way to suppress screen updates,so although you flick

[power-pro] Re: Icon for other powerpro UI windows

2004-12-10 Thread entropyreduction
--- In [EMAIL PROTECTED], Alan Martin [EMAIL PROTECTED] wrote: Alan Campbell (entropyreduction) wrote: ?? Q (for question)? Any ideas for an appropriate symbol? Maybe the checkmark icon, which is included in the current collection of .icl files, but is not being used by PowerPro

[power-pro] Re: Icon for other powerpro UI windows

2004-12-11 Thread entropyreduction
--- In [EMAIL PROTECTED], Alan Martin [EMAIL PROTECTED] wrote: Alan Campbell (entropyreduction) wrote: AC How about an icon or icons in powerpro.icl for the dialogs AC thrown up by: Sounds like a good idea. Currently all the user dialogs you mention show the main powerpro icon. Any

[power-pro] Bruce: Powerpro and OLE

2004-12-20 Thread entropyreduction
Hi Bruce, Does Powerpro call OleInitialize()/OleUninitialize()? I'm trying to use it in a plugin and getting slightly odd results. I see a dependencies of powerpro.exe on oleaut32.dll and ole.dll but not ole2.dll. Stuff I'm trying to do requires the latter. Dunno if that's gonna be a

[power-pro] aspell plugin: interface to aSpell spelling package

2005-01-02 Thread entropyreduction
Hi, Interface to aSpell. You need to download GNU Aspell 0.50.3 (not 0.60.x: that's still beta-ish), and whatever dictionaries you need from http://aspell.net/win32/ You'll probably have to mess with the aspell configuration file (aspell.conf): see Section 9.2 of my docs. Be aware

[power-pro] Bruce: PPROSERVICES* ppsv invalide across porcess boundaries?

2005-01-06 Thread entropyreduction
Hi Bruce, Been tinkering with my automation server for PP, a standalone exe that acts as a COM front end to PP. I had the brilliant idea that I could extend it, letting it get PPROSERVICES* ppsv by SendMessage(g_hwndPowerPro, WM_USER+501, 0,0), then e.g. ppsv-EvalExpr. But, now that I

[power-pro] Re: Bruce: PPROSERVICES* ppsv invalide across porcess boundaries?

2005-01-09 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: Yes you will need to create someway of calling a routine and passing data across process boundaries. YOu could use the COM stuff, I guess: I don't know much about this. Nor I. Will go away and study. You could

[power-pro] Re: Bruce: PPROSERVICES* ppsv invalid across process boundaries?

2005-01-10 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: I'd like to give external user access to anting you can get from EvalExpr, so it's gonna be COM or DDE or something of that sort. If the external user is on a different machine, then you definitely need something that

[power-pro] Bruce: sendmessage with message id wm_copydata?

2005-01-27 Thread entropyreduction
Hi Bruce, Any chance you could add to windows.SendMessage or plugin win.sendmessage to allow message id wm_copydata? windows.SendMessage(wm_copydata, 0, data to send, c=targetClass) win.SendMessage(aHandle, wm_copydata, 0, data to send) Can't just use msg id 0x004A, cause you'd have to

[power-pro] communicate via pipes

2005-01-30 Thread entropyreduction
Hi Pipe plugin allows communication via pipes. It probably doesn't work (at least on client side) on Win9x machines. Should be okay on NT4/W2K/XP. Using plugin Powerpro on one machine on your LAN can communicate with Powerpro on another. You can also communicate with programs that interface

[power-pro] Re: communicate via pipes

2005-02-01 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: entropyreduction wrote: yes, I had changed the default authorization to my machine name. The sendtoself and sendto and listento scripts were working fine among themselves. listento failed when I started using

[power-pro] Re: communicate via pipes

2005-02-05 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: entropyreduction wrote: Okay, first problem: pipe plugin creates pipe using flavour PIPE_TYPE_MESSAGE, not PIPE_TYPE_BYTE. If it's needed I may be able to add a parameter to the listen_on service to make

[power-pro] Re: communicate via pipes

2005-02-12 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: Why do you want to use WriteNamedPipe? If you want to communicate with powerpro, ppBang and powerpro.exe command to send will do the job. Is there some reason you want yet another means to send to PP? I realize I

[power-pro] Re: Autoitx (au.dll) updated

2005-02-16 Thread entropyreduction
--- In power-pro@yahoogroups.com, [EMAIL PROTECTED] wrote: Looks like the autoitx .dll code has been final-released for version 3, I'm wondering if someone knows how we can update the powerpro au.dll can be updated with the new code. I did au3 plugin v 0.2 some time ago (27 July 2004).

[power-pro] Re: communicate via pipes

2005-02-16 Thread entropyreduction
Hi, Pipes are probably most appropriate for communication across a LAN, either between Powerpro installations on those machines or between PP and another remote app. I havn't done the tests, but I should think pipes are very inefficient compared to e.g. SendMessage, which is how ppBang and

[power-pro] ppCOMserver: revised automation server to allow scripts to talk to PowerPro

2005-02-16 Thread entropyreduction
This one succeeds ppAutoSendMsg. LIke that exe, you can use this in languages that can do COM objects (vbs, vba, tcl, perl, js, Visual Basic) to send a command to Powerpro. Unlike ppAutoSendMsg, you can also ask Powerpro to evaluate a Powerpro expression and return a result. For the

[power-pro] Re: communicate via pipes

2005-02-20 Thread entropyreduction
Sorry, catching up on old post... --- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: I was under the impression - probably wrong at this point - that pipe plugin could listen on multiple pipes, in which case I'd create a script that spawns a ppro event that

[power-pro] cause script to run when hidden bar shows?

2005-03-19 Thread entropyreduction
Hi, I want to run a script very occasionally. It checks stuff on my network which takes a bit of overhead. I don't want to run it on a timer, because 90% of the time it's irrelevant. The only time it's relevant is when I'm about to use some menus on a hidden bar, The menus have Format

[power-pro] new version of vars plugin

2005-04-08 Thread entropyreduction
Added save_var and restore_var services; instead of saving./restoring all variables defined in an ini file, you can save/restore just one variable at a time. And fixed a few bugs Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links * To visit your group

[power-pro] Bruce: script label function?

2005-04-11 Thread entropyreduction
Hi Bruce, Any chance that in addition to scriptname function there could be scriptlabel, corresponding to the last label used to invoke script via e.g. [EMAIL PROTECTED] If it's possible, should probably be null if invocation was labelless. Would be handy (but not essential) for vars

[power-pro] vars plugin update (0.63)

2005-04-11 Thread entropyreduction
New vars plugin -- fixed storage type detection for save_vars -- improved docs, maybe Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ * To unsubscribe from this

[power-pro] Re: ATTN Bruce: Detecting whether a desktop is locked

2005-04-16 Thread entropyreduction
Is this helpful? detect workstation is locked? http://www.codeguru.com/forum/archive/index.php/t-138544.html Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ * To

[power-pro] Re: Bar.Format problem: 4.2.08

2005-05-06 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: --- In power-pro@yahoogroups.com, Ed Brownstein [EMAIL PROTECTED] wrote: I suggest avoiding bar.format and using cl.sethideafter. Thanks. Now that I've started to explore glories of cl. services, why does

[power-pro] unixdate still in help for 4.2.09

2005-05-15 Thread entropyreduction
unixdate is still in help but appears to be invalid function. I know I can use timesec instead. Just a fix to help required? Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links * To visit your group on the web, go to:

[power-pro] Bruce: string storage

2005-05-17 Thread entropyreduction
HI Bruce, I'm toying with a unicode plugin. I'm starting by editing your clip.c. Strings will be saved back to Powerpro using (ppsv-ReturnString)(szRes, szargs) I'm just gonna have to coerce a WCHAR* to a LPSTR. Powerpro will think it's getting a batch of chars, whereas it will really be

[power-pro] Re: COM: plugin to allow direct access to COM objects

2005-05-17 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: I never expected to see anything like this. I have to admit I have not tried it, but congratulations on getting something like this to work. Thanks. It was a serious bitch of code, mostly due to lack od documentation.

[power-pro] Re: COM: plugin to allow direct access to COM objects

2005-05-17 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: I haven't downloaded your plugin yet, but do you know if it supports scripting Outlook 2003 objects (Outlook object model)? TIA No, not specifically. Generally, if you can use a server in e.g. vbScript with something

[power-pro] Re: Bruce: string storage

2005-05-18 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: But: that batch of WCHARS will be full of x00s. Lots of unicode byte pairs include x00. You have to return handles (which will iley just be pointers to allocated memory) instead of actual strings and then write

[power-pro] Re: Bruce: string storage

2005-05-18 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: So I can't use ppsv-ReturnString(pszAllocTemp, szargs), presumably because it uses strcpy. Yes, now that I think of it, you have to return a handle, not a pointer, as a pointer could contain embedded zero bytes which would

[power-pro] Re: COM: plugin to allow direct access to COM objects

2005-05-18 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: I haven't downloaded your plugin yet, but do you know if it supports scripting Outlook 2003 objects (Outlook object model)? TIA Just had a quick look around re Outlook and COM (Quickest way I've found to check out a

[power-pro] Bruce: unicode in Powerpro lists?

2005-05-19 Thread entropyreduction
Hi Bruce, Would cl.SetUnicodeTooltip(handle to unicode string) cl.SetUnicodeLabel(handle to unicode string) be doable? Way it would work, is I export _declspec(dllexport) getUnicodeString(LPSTR pszHandle, LPWSTR* szwResult); from unicode

[power-pro] Re: Bruce: unicode in Powerpro lists?

2005-05-20 Thread entropyreduction
--- In power-pro@yahoogroups.com, brucexs [EMAIL PROTECTED] wrote: --- In power-pro@yahoogroups.com, entropyreduction [EMAIL PROTECTED] Sorry, no, none of PowerPro can or will be able to handle unicode. So it goes. Rather limits usefulness of unicode plugin, but I'll persist

[power-pro] setting env vars (was: Re: patience please ; ) run PP from USB drive?)

2005-06-08 Thread entropyreduction
--- In power-pro@yahoogroups.com, [EMAIL PROTECTED] wrote: Or, you can set env vars by writing to the registry: chnage varname to your env var below: User env: reg.set_string(?HKCU\Environment\varname, new_value) System env: (watch line wrap)

[power-pro] modified plugin docs: now chm help files included

2005-06-12 Thread entropyreduction
Hi, I've updated help for all my plugins that use RTF docs. Behaviour of the plugins themselves will be unaltered. No need to update your plugin unless you desperately I'm too lazy to add serious additional content to any of the docs, so instead I've run docs through a vba script and generated

[power-pro] Re: Pipe plugin: weird behaviour

2005-06-13 Thread entropyreduction
Hi Alex, --- In power-pro@yahoogroups.com, Alex Peters [EMAIL PROTECTED] wrote: Alan, is there something wrong with the syntax that I have used? Sorry, missed message til today. I gotta go refresh memory on pipe plugin. Meanwhile, can I see your pipe.ini, or releavnt section of lugins.ini,

[power-pro] Re: Pipe plugin: weird behaviour

2005-06-13 Thread entropyreduction
--- In power-pro@yahoogroups.com, Alex Peters [EMAIL PROTECTED] wrote: Hi Alex, Would anyone who has Alan Campbell's Pipe plugin be kind enough to run this script code and see how it works for them? — pipe.unload() local pipeResponse = pipe.listen_on(?MessageMan, 0) local command = Debug

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-13 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: entropyreduction wrote: ini:: I upgraded from version 1.37 following this link, but now powerpro refuses to load the plugin saying cannot load plugin ini, even after rebooting my pc. I have downgraded back to 1.37

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-14 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: standard ini.ini exists in plugin folder, I didn't change a single line Goes in the pproconf folder, not plugins folder; see docs 10.1 if I remember without looking up. maybe 9.1. But shouldn't matter, would be simply

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-14 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: Goes in the pproconf folder, not plugins folder there it went but still can't load plugin If you run test script with distro, does it work ok? nope, same error can't load plugin Weird. Does this work?

[power-pro] Re: Pipe plugin: weird behaviour

2005-06-14 Thread entropyreduction
--- In power-pro@yahoogroups.com, Alex Peters [EMAIL PROTECTED] wrote: -- sgp wrote: I modified my test script to do the following: ...snip... pipe.unload() wait.for(250) local pipeResponse = pipe.listen_on() local command = Debug So far, so good. wait.for(250) local response =

[power-pro] Re: Pipe plugin: weird behaviour

2005-06-17 Thread entropyreduction
--- In power-pro@yahoogroups.com, Alex Peters [EMAIL PROTECTED] wrote: pipePluginTestScriptToSelf.PowerPro executes without error if nothing is modified. ...snip... Running it again after this results in 'hello' and then PowerPro becomesunresponsive. What's your experience if you

[power-pro] Bruce: funny thing with pipes, and req for new PPROSERVICES* function

2005-06-17 Thread entropyreduction
Hi Bruce, Just a query to try to understand some odd behaviour. This works: : local sRes = pipe.listen_on(powerpro, 0) sRes = pipe.send_to(?#win.debug(hello)#, sMyMachine, , 0) win.debug(pipe.send_to returns ++ sRes) sRes = pipe.listen_off pipe.unload pipe.send_to in this form

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-17 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: sgp acs322000 wrote: more tests: win2k sp4 on pc1 - fail to load plugin winxp sp1 on pc1 - fail to load plugin winxp sp1 on pc2 - ok since pc1 and pc2 are almost clones (as far as powerpro is concerned) I don't

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-17 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: sgp acs322000 wrote: Just checked dll dependencies for 1.50 ini.dll. They're same as for 1.37, i.e. MSVCRT.DLL, user32.dll, kernel32.dll. So no real help there then. more tests: win2k sp4 on pc1 - fail to load

[power-pro] Re: modified plugin docs: now chm help files included

2005-06-18 Thread entropyreduction
--- In power-pro@yahoogroups.com, sgp acs322000 [EMAIL PROTECTED] wrote: entropyreduction wrote: On the contrary, the recompiled dll fixed the problem. And it's 32K, the one I downloaded from the files section was 107KB. All fixed now, thanks! My error, I must have packaged up the debug

[power-pro] new version ini plugin archive

2005-06-18 Thread entropyreduction
updated ini plugin, as I put wrong dll in the zip archive. There is no change in code between this version and previous (1.3 something); the point of the new archive was and is to deliver new chm documentation.

  1   2   3   4   5   6   7   8   9   10   >