Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-clips · The NoteTab Clips List

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 16566 - 16595 of 23787   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#16566 From: "paulmaser" <paul@...>
Date: Tue May 29, 2007 6:25 pm
Subject: GetFileFirst
paulmaser
Send Email Send Email
 
^$GetFileFirst(FilePath;FileSpecs[;SortingOrder])$

I've been using this command in a script for several years using
REVNAME for the sorting order. Recently, it doesn't reverse the sorting
order but gives back the same result as using NAME for the sort order.
Here is the line from the script:

^!Set %LastFilePath%=
^$GetFileFirst(D:\web\nuraste\;nn1*.htm;REVNAME)$

Does anyone see a reason it might not like what I am doing?

Thanks.

#16567 From: "Corl DeLuna" <corl@...>
Date: Tue May 29, 2007 11:00 pm
Subject: Deleting Data Starting with Second Comma
corl_deluna
Send Email Send Email
 
Hi,

I've tons of info on single lines, and all I need to see is the info before
the second comma for what I'm doing with it right now. I'm deleting it by
hand, line by line, but thought there might be a better way to do this with
a clip when I highlight selected data.

Sample Data:

Allegro Dance Academy, Kent, (Classes), Children, Ballet, Hip Hop, Jazz,
Lyrical, Pointe, Tap, Allegro Precision Dance Company
American Dance Institute, Seattle, adult/child/teen classes, Toddler-adult,
Pre-Ballet, Hip-Hop and Jazz, Creative Dance, Ballet
Auburn Dance Academy, Auburn, (Classes), children and young adults. tap,
jazz, ballet, lyrical, hip-hop and pointe

Sample Results:

Allegro Dance Academy, Kent
American Dance Institute, Seattle
Auburn Dance Academy, Auburn

Any ideas will be greatly appreciated.

Thanks,
Corl


[Non-text portions of this message have been removed]

#16568 From: "Alex Plantema" <alex.plantema@...>
Date: Tue May 29, 2007 11:18 pm
Subject: Re: [Clip] Deleting Data Starting with Second Comma
aplantema
Send Email Send Email
 
Op woensdag 30 mei 2007 01:00 schreef Corl DeLuna:

> I've tons of info on single lines, and all I need to see is the info
> before the second comma for what I'm doing with it right now. I'm
> deleting it by hand, line by line, but thought there might be a
> better way to do this with a clip when I highlight selected data.

This should work with version 4:
^!Replace "{[^,]*},{[^,]*},.*" >> "\1,\2" RSWA
which may look in version 5 like:
^!Replace "([^,]*),([^,]*),.*" >> "$1,$2" RSWA
though I didn't try that.

Alex.

#16569 From: Hugo Paulissen <hugopaulissen@...>
Date: Tue May 29, 2007 11:33 pm
Subject: Re: [Clip] Deleting Data Starting with Second Comma
hpaulissen
Send Email Send Email
 
Hi Corl,

It's been a while since I've been using regular expressions, but you can do this
with replace. (A simple clip can be built easily).

In your Find box, type:
^([^,]+,[^,]+).+
and in the Replace box type:
$1

Check Regular Expression in the Find dialog and hit Replace All.

Before doing this you are advised to make a backup of your original document.

Hugo


----- Original Message ----
From: Corl DeLuna <corl@...>
To: ntb-clips@yahoogroups.com
Sent: Wednesday, May 30, 2007 1:00:51 AM
Subject: [Clip] Deleting Data Starting with Second Comma

Hi,

I've tons of info on single lines, and all I need to see is the info before
the second comma for what I'm doing with it right now. I'm deleting it by
hand, line by line, but thought there might be a better way to do this with
a clip when I highlight selected data.

Sample Data:

Allegro Dance Academy, Kent, (Classes), Children, Ballet, Hip Hop, Jazz,
Lyrical, Pointe, Tap, Allegro Precision Dance Company
American Dance Institute, Seattle, adult/child/ teen classes, Toddler-adult,
Pre-Ballet, Hip-Hop and Jazz, Creative Dance, Ballet
Auburn Dance Academy, Auburn, (Classes), children and young adults. tap,
jazz, ballet, lyrical, hip-hop and pointe

Sample Results:

Allegro Dance Academy, Kent
American Dance Institute, Seattle
Auburn Dance Academy, Auburn

Any ideas will be greatly appreciated.

Thanks,
Corl

[Non-text portions of this message have been removed]






________________________________________________________________________________\
____Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

[Non-text portions of this message have been removed]

#16570 From: "Corl DeLuna" <corl@...>
Date: Tue May 29, 2007 11:39 pm
Subject: RE: [Clip] Deleting Data Starting with Second Comma
corl_deluna
Send Email Send Email
 
Hi Alex,

That is brilliant! It works like a charm, I just replaced RSWA with IRHAS0,
so it just transforms selected text instead of the whole file in one bold
and daring move.

^!Replace "([^,]*),([^,]*),.*" >> "$1,$2" IRHAS0

Thanks so very much,
Corl

   _____

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
Of Alex Plantema
Sent: Tuesday, May 29, 2007 4:18 PM
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Deleting Data Starting with Second Comma



Op woensdag 30 mei 2007 01:00 schreef Corl DeLuna:

> I've tons of info on single lines, and all I need to see is the info
> before the second comma for what I'm doing with it right now. I'm
> deleting it by hand, line by line, but thought there might be a
> better way to do this with a clip when I highlight selected data.

This should work with version 4:
^!Replace "{[^,]*},{[^,]*},.*" >> "\1,\2" RSWA
which may look in version 5 like:
^!Replace "([^,]*),([^,]*),.*" >> "$1,$2" RSWA
though I didn't try that.

Alex.






[Non-text portions of this message have been removed]

#16571 From: Axel Berger <Axel-Berger@...>
Date: Tue May 29, 2007 8:46 pm
Subject: Re: [Clip] GetFileFirst
absalom_nemini
Send Email Send Email
 
paulmaser wrote:
> ^$GetFileFirst(D:\web\nuraste\;nn1*.htm;REVNAME)$
> Does anyone see a reason it might not like what I am doing?

When I used that function I needed to place the path and spec in quotes
for it to work right. No idea if this might help you too.
^!Set %varFIL%=^$GetFileFirst("^%varPTH%";"^%varPAT%")$

Axel

#16572 From: "Corl DeLuna" <corl@...>
Date: Tue May 29, 2007 11:52 pm
Subject: RE: [Clip] Deleting Data Starting with Second Comma
corl_deluna
Send Email Send Email
 
Hi Hugo,

Alex Plantema had come up with a clip with the fundamentals your solution
has. Thank you so very much for your input as well.

> Before doing this you are advised to make a backup of your original
document.

Oh yeah! A must always. But, thanks for the reminder.

Best,
Corl

   _____

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
Of Hugo Paulissen
Sent: Tuesday, May 29, 2007 4:34 PM
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Deleting Data Starting with Second Comma



Hi Corl,

It's been a while since I've been using regular expressions, but you can do
this with replace. (A simple clip can be built easily).

In your Find box, type:
^([^,]+,[^,]+).+
and in the Replace box type:
$1

Check Regular Expression in the Find dialog and hit Replace All.

Before doing this you are advised to make a backup of your original
document.

Hugo


Recent Activity

*

	  1
	 New
<http://groups.yahoo.com/group/ntb-clips/members;_ylc=X3oDMTJmMTM2ZTE4BF9TAz
k3MzU5NzE0BGdycElkAzEwNDk2NDYEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwN2dGwEc2xrA3ZtYn
JzBHN0aW1lAzExODA0ODE3NjA-> Members

Visit
<http://groups.yahoo.com/group/ntb-clips;_ylc=X3oDMTJlNGxxODg2BF9TAzk3MzU5Nz
E0BGdycElkAzEwNDk2NDYEZ3Jwc3BJZAMxNzA1MDA3Mzg5BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbW
UDMTE4MDQ4MTc2MA--> Your Group
SPONSORED LINKS

* Preventative
<http://groups.yahoo.com/gads;_ylc=X3oDMTJjcGNpM3J2BF9TAzk3MzU5NzE0BF9wAzEEZ
3JwSWQDMTA0OTY0NgRncnBzcElkAzE3MDUwMDczODkEc2VjA3NsbW9kBHN0aW1lAzExODA0ODE3N
jA-?t=ms&k=Preventative+maintenance+software+program&w1=Preventative+mainten
ance+software+program&w2=Preventative+maintenance+program+software&w3=Comput
er+software+program&w4=Help+desk+software+program&w5=Scheduling+program+soft
ware&c=5&s=190&g=2&.sig=kdQwL6FowZJG48nfb9nd1g> maintenance software program


* Preventative
<http://groups.yahoo.com/gads;_ylc=X3oDMTJjcDkzZWU5BF9TAzk3MzU5NzE0BF9wAzIEZ
3JwSWQDMTA0OTY0NgRncnBzcElkAzE3MDUwMDczODkEc2VjA3NsbW9kBHN0aW1lAzExODA0ODE3N
jA-?t=ms&k=Preventative+maintenance+program+software&w1=Preventative+mainten
ance+software+program&w2=Preventative+maintenance+program+software&w3=Comput
er+software+program&w4=Help+desk+software+program&w5=Scheduling+program+soft
ware&c=5&s=190&g=2&.sig=1JFSWbS8gT_f41IvEF1dZg> maintenance program software


* Computer
<http://groups.yahoo.com/gads;_ylc=X3oDMTJjdWliMzBtBF9TAzk3MzU5NzE0BF9wAzMEZ
3JwSWQDMTA0OTY0NgRncnBzcElkAzE3MDUwMDczODkEc2VjA3NsbW9kBHN0aW1lAzExODA0ODE3N
jA-?t=ms&k=Computer+software+program&w1=Preventative+maintenance+software+pr
ogram&w2=Preventative+maintenance+program+software&w3=Computer+software+prog
ram&w4=Help+desk+software+program&w5=Scheduling+program+software&c=5&s=190&g
=2&.sig=Z6p6dVzrr10BbJkERDY_ew> software program

* Help
<http://groups.yahoo.com/gads;_ylc=X3oDMTJjZjdsNWZkBF9TAzk3MzU5NzE0BF9wAzQEZ
3JwSWQDMTA0OTY0NgRncnBzcElkAzE3MDUwMDczODkEc2VjA3NsbW9kBHN0aW1lAzExODA0ODE3N
jA-?t=ms&k=Help+desk+software+program&w1=Preventative+maintenance+software+p
rogram&w2=Preventative+maintenance+program+software&w3=Computer+software+pro
gram&w4=Help+desk+software+program&w5=Scheduling+program+software&c=5&s=190&
g=2&.sig=3hXzZm7qfLrs8Ylma5V4rQ> desk software program

* Scheduling
<http://groups.yahoo.com/gads;_ylc=X3oDMTJjNnAyNm0zBF9TAzk3MzU5NzE0BF9wAzUEZ
3JwSWQDMTA0OTY0NgRncnBzcElkAzE3MDUwMDczODkEc2VjA3NsbW9kBHN0aW1lAzExODA0ODE3N
jA-?t=ms&k=Scheduling+program+software&w1=Preventative+maintenance+software+
program&w2=Preventative+maintenance+program+software&w3=Computer+software+pr
ogram&w4=Help+desk+software+program&w5=Scheduling+program+software&c=5&s=190
&g=2&.sig=oCbPNACLC1n5b4hdcswrHw> program software

Yahoo! Finance

It's
<http://us.ard.yahoo.com/SIG=12j003tck/M=493064.10729649.11333340.8674578/D=
groups/S=1705007389:NC/Y=YAHOO/EXP=1180488960/A=4507179/R=0/SIG=12de4rskk/*h
ttp://us.rd.yahoo.com/evt=50284/*http://finance.yahoo.com/personal-finance>
Now Personal

Guides, news,

advice & more.

Yahoo! TV

Get
<http://us.ard.yahoo.com/SIG=12jlijhqa/M=493064.10729663.11333354.8674578/D=
groups/S=1705007389:NC/Y=YAHOO/EXP=1180488960/A=4458832/R=0/SIG=11eabp7a0/*h
ttp://tv.yahoo.com/american-idol/show/34934> American Idol

recaps, pics and

much more!

Drive Sales

Connect
<http://us.ard.yahoo.com/SIG=12jfgoo2c/M=493064.10729657.11333348.8674578/D=
groups/S=1705007389:NC/Y=YAHOO/EXP=1180488960/A=4025370/R=0/SIG=12jnci1fd/*h
ttp://us.rd.yahoo.com/evt=44092/*http://searchmarketing.yahoo.com/srch/index
.php>  with

customers who are

searching for you.

.

<http://geo.yahoo.com/serv?s=97359714/grpId=1049646/grpspId=1705007389/msgId
=16569/stime=1180481760/nc1=4507179/nc2=4458832/nc3=4025370>



[Non-text portions of this message have been removed]

#16573 From: "paulmaser" <paul@...>
Date: Wed May 30, 2007 12:53 am
Subject: Re: [Clip] GetFileFirst
paulmaser
Send Email Send Email
 
Thanks, I put all three parameters in quotes and it still refuses to
reverse sort. I will play with it this weekend and see if the REV works
on the other selections. It may be a bug in version5.

--- In ntb-clips@yahoogroups.com, Axel Berger <Axel-Berger@...> wrote:
>
> paulmaser wrote:
> > ^$GetFileFirst(D:\web\nuraste\;nn1*.htm;REVNAME)$
> > Does anyone see a reason it might not like what I am doing?
>
> When I used that function I needed to place the path and spec in
quotes
> for it to work right. No idea if this might help you too.
> ^!Set %varFIL%=^$GetFileFirst("^%varPTH%";"^%varPAT%")$
>
> Axel
>

#16574 From: "anothercrusty" <alec@...>
Date: Wed May 30, 2007 1:17 pm
Subject: Run external programme
anothercrusty
Send Email Send Email
 
Hi,

I want to run a PHP file in, say,  Netscape and the following seems
to work.

run netscape
^!c:/program files/netscape/netscape/netscp.exe
http://localhost/mesh4us/htdocs/sheffield/main.php?page1

It would be good to replace the filename (main.php) with a variable
that would insert the name of the file I currently have open and thus
make the clip more universally usable. Searched for days in
the 'help' but can't even find a list of usable variables.

HELP PLEASE!

It would be even more useful if I could attach the clip to a Shortcut
key.  Are either possible.

Regards
alec@...

#16575 From: Jeff Scism <Scismgenie@...>
Date: Wed May 30, 2007 3:03 pm
Subject: Re: [Clip] Run external programme
scismgenie
Send Email Send Email
 
The open file doesn't execute when you use Ctrl+T ?

jeff

#16576 From: buralex@...
Date: Wed May 30, 2007 4:07 pm
Subject: Re: [Clip] Run external programme
alecb3ca
Send Email Send Email
 
"anothercrusty" <alec@...> said on 05/30/2007 9:17:15 AM -0400
> Hi,
>
> I want to run a PHP file in, say,  Netscape and the following seems
> to work.
>
> run netscape
> ^!c:/program files/netscape/netscape/netscp.exe
> http://localhost/mesh4us/htdocs/sheffield/main.php?page1
>
> It would be good to replace the filename (main.php) with a variable
> that would insert the name of the file I currently have open and thus
> make the clip more universally usable.
>
> HELP PLEASE!
>
> It would be even more useful if I could attach the clip to a Shortcut
> key.  Are either possible.
>
> Regards
> alec@...
>
I think this is what you want:

     ^$GetDocName$

     ^$GetDocName(Index)$ (added in v4.52)

     Returns the active document name, if no index is specified, or the
     document name at specified index position. An invalid index number
     returns an empty string. The first document is at index 1.

so your example would be:

^!c:/program files/netscape/netscape/netscp.exe
http://localhost/mesh4us/htdocs/sheffield/^$GetDocName$?page1

> Searched for days in
> the 'help' but can't even find a list of usable variables.
Have a look at the !$Get ....$ functions - these are what could
alternatively have been implemented as the "variables" you were looking for.

btw: nice to see another "Alec" on the list :-)    (I use "buralex" in
my email address so my FFox filter which is set to pick up all emails
with my name in it doesn't fire when news lists etc. contain my email
address.

Regards ... Alec -- buralex-gmail
--



[Non-text portions of this message have been removed]

#16577 From: Alec Hall <alec@...>
Date: Wed May 30, 2007 4:29 pm
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Hi Jeff,

When I press control 'T', the file opens in 'PSPad' which I've been
playing with in desperation to see if that can be made to do what I
want.

Tried desperately to find a list of Variables in Notepad but the search
has failed.

Tried using the line below in the Shortcut.dat file. Seems you can't do
that.

Help please.
Regards
alec


>The open file doesn't execute when you use Ctrl+T ?
>jeff
>

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16578 From: Axel Berger <Axel-Berger@...>
Date: Wed May 30, 2007 4:47 pm
Subject: Re: [Clip] Run external programme
absalom_nemini
Send Email Send Email
 
Alec Hall wrote:
> Tried desperately to find a list of Variables

It would be easy to define a variable yourself, but if I have it right,
you don't want to view any old file, but the one you're currently
working on. For that I have the following clips in my HTML.clb:

H="Netscape"
^!Url [Netscape] ^**

H="Firefox"
^!Url [Firefox] ^**

H="IExplorer"
^!Url [IExplore] ^**

H="Opera"
^!Url [Opera] ^**

N.B: That "^**" seems not to be menationioed anywhere in the files. I
got it from this very list myself. You might need to adjust your
Browsers.dat. The following works for me:

[IExplore]
Command=iexplore.exe -nohome
UseDDE=1
Application=IExplore
DdeCommand=
DdeExec="%1",,-1,0,,,,
Topic=WWW_OpenURL
Application_New=
DdeExec_New=
Topic_New=

[Opera]
Command=Opera.exe
UseDDE=0
Application=Opera
DdeCommand=
DdeExec="%1",,-1,0,,,,
Topic=WWW_OpenURL
Application_New=
DdeExec_New=
Topic_New=

[Firefox]
Command=firefox.exe
UseDDE=0
Application=Mozilla
DdeCommand=
DdeExec="%1",,-1,0,,,,
Topic=WWW_OpenURL
Application_New=
DdeExec_New=
Topic_New=

[Netscape]
Command=netscape.exe
UseDDE=1
Application=Netscape
DdeCommand=
DdeExec="%1",,-1,0,,,,
Topic=WWW_OpenURL
Application_New=
DdeExec_New=
Topic_New=

And lastly you need to make sure that the paths to all your installed
browsers are listed in the Registry under
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths]

IIRC I had to add one of my four manually.

Axel

#16579 From: Jeff Scism <Scismgenie@...>
Date: Wed May 30, 2007 4:54 pm
Subject: Re: [Clip] Run external programme
scismgenie
Send Email Send Email
 
Have you tried going into the options in Windows and reassigning the
file type?

#16580 From: Alec Hall <alec@...>
Date: Wed May 30, 2007 4:38 pm
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Dear Alec,

Unfortunately, ^$GetDocName seems to return the complete address string
(C:\wamp etc..) so that Netscape reports

You don't have permission to access
/mesh4us/htdocs/sheffield/C:\wamp\www\Mesh4Us\Htdocs\SHEFFIELD\main.php
on this server.

More help please :-)
alec

>"anothercrusty" <alec@...> said on 05/30/2007 9:17:15 AM
>-0400
>> Hi,
>>
>> I want to run a PHP file in, say, Netscape and the following seems
>> to work.
>>
>> run netscape
>> ^!c:/program files/netscape/netscape/netscp.exe
>> http://localhost/mesh4us/htdocs/sheffield/main.php?page1
>>
>> It would be good to replace the filename (main.php) with a variable
>> that would insert the name of the file I currently have open and thus
>> make the clip more universally usable.
>>
>> HELP PLEASE!
>>
>> It would be even more useful if I could attach the clip to a Shortcut
>> key. Are either possible.
>>
>> Regards
>> alec@...
>>
>I think this is what you want:
>
>^$GetDocName$
>
>^$GetDocName(Index)$ (added in v4.52)
>
>Returns the active document name, if no index is specified, or the
>document name at specified index position. An invalid index number
>returns an empty string. The first document is at index 1.
>
>so your example would be:
>
>^!c:/program files/netscape/netscape/netscp.exe
>http://localhost/mesh4us/htdocs/sheffield/^$GetDocName$?page1
>
>> Searched for days in
>> the 'help' but can't even find a list of usable variables.
>Have a look at the !$Get ....$ functions - these are what could
>alternatively have been implemented as the "variables" you were looking
>for.
>
>btw: nice to see another "Alec" on the list :-) (I use "buralex" in
>my email address so my FFox filter which is set to pick up all emails
>with my name in it doesn't fire when news lists etc. contain my email
>address.
>
>Regards ... Alec -- buralex-gmail

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16581 From: Alec Hall <alec@...>
Date: Wed May 30, 2007 5:25 pm
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Dear Axel,

I don't seem to have explained myself very well.  I've tried ^** but
that returns the full path name of the file and that wont work at all.
Running PHP files in any browser requires that a WAMP server is loaded.
Once that is done (for me at machine start-up), the file HAS to be
addressed

http://localhost/part of file address/filename.php

In one case for me it becomes..
http://localhost/mesh4us/htdocs/sheffield/main.php?page1

The PHP interpreter then runs in any browser on my machine just as it
would on a PHP enabled web host.

So I thought I'd try
^$StrReplace("C:\wamp\www\";"http://localhost/";$GetDocName$;)$

to replace the offending 'c:\wamp\www' returned by $GetDocName$ function
but I'm too dim to understand the correct syntax.

Please don't give up on an old crusty.
Alec


>Alec Hall wrote:
>> Tried desperately to find a list of Variables
>
>It would be easy to define a variable yourself, but if I have it right,
>you don't want to view any old file, but the one you're currently
>working on. For that I have the following clips in my HTML.clb:
>
>H="Netscape"
>^!Url [Netscape] ^**
>
>H="Firefox"
>^!Url [Firefox] ^**
>
>H="IExplorer"
>^!Url [IExplore] ^**
>
>H="Opera"
>^!Url [Opera] ^**
>
>N.B: That "^**" seems not to be menationioed anywhere in the files. I
>got it from this very list myself. You might need to adjust your
>Browsers.dat. The following works for me:
>
>[IExplore]
>Command=iexplore.exe -nohome
>UseDDE=1
>Application=IExplore
>DdeCommand=
>DdeExec="%1",,-1,0,,,,
>Topic=WWW_OpenURL
>Application_New=
>DdeExec_New=
>Topic_New=
>
>[Opera]
>Command=Opera.exe
>UseDDE=0
>Application=Opera
>DdeCommand=
>DdeExec="%1",,-1,0,,,,
>Topic=WWW_OpenURL
>Application_New=
>DdeExec_New=
>Topic_New=
>
>[Firefox]
>Command=firefox.exe
>UseDDE=0
>Application=Mozilla
>DdeCommand=
>DdeExec="%1",,-1,0,,,,
>Topic=WWW_OpenURL
>Application_New=
>DdeExec_New=
>Topic_New=
>
>[Netscape]
>Command=netscape.exe
>UseDDE=1
>Application=Netscape
>DdeCommand=
>DdeExec="%1",,-1,0,,,,
>Topic=WWW_OpenURL
>Application_New=
>DdeExec_New=
>Topic_New=
>
>And lastly you need to make sure that the paths to all your installed
>browsers are listed in the Registry under
>[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentV
>ersion\App Paths]
>
>IIRC I had to add one of my four manually.
>
>Axel
>
>

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16582 From: Alec Hall <alec@...>
Date: Wed May 30, 2007 5:26 pm
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Dear Jeff,

I'm not explaining myself very well.
Running PHP files requires that a WAMP server is loaded. Once that is
done (for me at machine start-up), the file HAS to be addressed

http://localhost/part of file address/filename.php

In one case for me it becomes..
http://localhost/mesh4us/htdocs/sheffield/main.php?page1

The PHP interpreter then runs in any browser on my machine just as it
would on a PHP enabled web host.

So I thought I'd try
^$StrReplace("C:\wamp\www\";"http://localhost/";$GetDocName$;)$

to replace the offending 'c:\wamp\www' returned by $GetDocName$ function
but I'm too dim to understand the correct syntax.

Please don't give up on an old crusty.
Alec

>Have you tried going into the options in Windows and reassigning the
>file type?
>

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16583 From: Axel Berger <Axel-Berger@...>
Date: Wed May 30, 2007 5:44 pm
Subject: Re: [Clip] Run external programme
absalom_nemini
Send Email Send Email
 
Alec Hall wrote:
> but
> that returns the full path name of the file and that wont work at all.

Ah, now I'm with you.

> So I thought I'd try
> ^$StrReplace("C:\wamp\www\";"http://localhost/";$GetDocName$;)$

Yes, that's not quite right. If you have your full path in a variable, I
tend to call those %varFIL% (recurrent patterns help legibility) then
your command should read:

^!Set %varFIL%=^$FileToUrl("^$GetDocName$")$
^!Set
%varFIL%=^$StrReplace("C:/wamp/www\";"http://localhost/";"^%varFIL";FALSE;FALSE)\
$

You need to look at %varFIL% after the first !Set. There will be
something like file:// in front of the C and IIRC the colon is changed
to something else, so you need to adjust your search string.

Axel

#16584 From: "mblattyh" <yahoo@...>
Date: Wed May 30, 2007 7:58 pm
Subject: Re: [Clip] Run external programme
mblattyh
Send Email Send Email
 
Alec,

If I understand your circumstance here, what has worked for me is to
embed the ^$GetDocName$ function inside the ^$GetName$ function like
this: ^$GetName(^$GetDocName$)$

This returns only the file name, not the path or extension.

BTW, there's also a ^$GetPath$ function if all you need is the path,
and a ^$GetExt$ if you need the extension.  I have also used some of
the string functions (e.g., ^$StrCopyLeft$) to pull parts of the
path or filename from the $GetDocName$ function.


--- In ntb-clips@yahoogroups.com, Alec Hall <alec@...> wrote:
>
> Dear Alec,
>
> Unfortunately, ^$GetDocName seems to return the complete address
string
> (C:\wamp etc..) so that Netscape reports
>
> You don't have permission to access
> /mesh4us/htdocs/sheffield/C:\wamp\www\Mesh4Us\Htdocs\SHEFFIELD\main
.php
> on this server.

#16585 From: Hugo Paulissen <hugopaulissen@...>
Date: Wed May 30, 2007 9:10 pm
Subject: Re: [Clip] Run external programme
hpaulissen
Send Email Send Email
 
Hi,

I may be way off topic here, didn't really pay attention to this thread, but if
you need to launch a webfile from a specific serverpath you may have a look at
the HTML files tab in Options (Preview Server Side).

From help:

Server Name and Physical Path: These fields enable previewing of Web pages, such
as ASP and Cold Fusion, through a local Web server (e.g. MS Personal Web
Server). The relevant fields are "Server Name" (e.g. localhost) and "Physical
Path" (e.g. c:\inetpub\wwwroot\html). When these fields are set, any file under
the Physical Path will be displayed through the local Web server. Based on the
example values, the following file name:
c:\inetpub\wwwroot\html\index.asp
is converted to:
http://localhost/index.asp
when sent for previewing to the browser.

Hugo


----- Original Message ----
From: mblattyh <yahoo@...>
To: ntb-clips@yahoogroups.com
Sent: Wednesday, May 30, 2007 9:58:07 PM
Subject: Re: [Clip] Run external programme

Alec,

If I understand your circumstance here, what has worked for me is to
embed the ^$GetDocName$ function inside the ^$GetName$ function like
this: ^$GetName(^$ GetDocName$ )$

This returns only the file name, not the path or extension.

BTW, there's also a ^$GetPath$ function if all you need is the path,
and a ^$GetExt$ if you need the extension. I have also used some of
the string functions (e.g., ^$StrCopyLeft$ ) to pull parts of the
path or filename from the $GetDocName$ function.

--- In ntb-clips@yahoogrou ps.com, Alec Hall <alec@...> wrote:
>
> Dear Alec,
>
> Unfortunately, ^$GetDocName seems to return the complete address
string
> (C:\wamp etc..) so that Netscape reports
>
> You don't have permission to access
> /mesh4us/htdocs/ sheffield/ C:\wamp\www\ Mesh4Us\Htdocs\ SHEFFIELD\ main
.php
> on this server.






________________________________________________________________________________\
____Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/

[Non-text portions of this message have been removed]

#16586 From: Alec Hall <alec@...>
Date: Wed May 30, 2007 9:19 pm
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Dear Axel,

Thanks a lot. Modified as follows it WORKS!

^!Set %varFIL%=^$GetDocName$

^!Set
%varFIL%=^$StrReplace("C:\wamp\www\";"http://localhost/";"^%varFIL";FALSE
;FALSE)$

^!Set %varFIL%=^$StrReplace("\";"/";"^%varFIL";FALSE;FALSE)$

^!c:/program files/netscape/netscape/netscp.exe ^%varFIL%

One last question and I'll get out of your hair.
Is it possible to attach this clip to a shortcut key.  I've tried just
adding it to a key in shortcut.dat but that doesn't work of course.

Thanks again and regards
alec


>Alec Hall wrote:
>> but
>> that returns the full path name of the file and that wont work at all.
>
>Ah, now I'm with you.
>
>> So I thought I'd try
>> ^$StrReplace("C:\wamp\www\";"http://localhost/";$GetDocName$;)$
>
>Yes, that's not quite right. If you have your full path in a variable, I
>tend to call those %varFIL% (recurrent patterns help legibility) then
>your command should read:
>
>^!Set %varFIL%=^$FileToUrl("^$GetDocName$")$
>^!Set
>%varFIL%=^$StrReplace("C:/wamp/www\";"http://localhost/";"^%varFIL"
>;FALSE;FALSE)$
>
>You need to look at %varFIL% after the first !Set. There will be
>something like file:// in front of the C and IIRC the colon is changed
>to something else, so you need to adjust your search string.
>
>Axel
>
>

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16587 From: Axel Berger <Axel-Berger@...>
Date: Wed May 30, 2007 9:27 pm
Subject: Re: [Clip] Run external programme
absalom_nemini
Send Email Send Email
 
Alec Hall wrote:
> Is it possible to attach this clip to a shortcut key.

As far as I'm aware, no. I have added my clips of this ilk to the
configurable Clipbar. OTOH there are only so many shortcuts I can
remember and more than just two or three programs I use, so, much as I
dislike saying it, sometimes the mouse is not such a bad idea after all.

Axel

#16588 From: Larry Hamilton <lmh@...>
Date: Wed May 30, 2007 11:22 pm
Subject: Re: [Clip] Run external programme
lm_hamilton
Send Email Send Email
 
Alec,

Just to make sure, have you gone to View > Options then the HTML Files tab?

There is a place on the middle right portion of the screen called
"Preview server-side".

It allows you to specify the Server name and the Physical Path. F1 Help
will give explicit directions on this.

Setting these allow you to see php, cgi, ruby, whatever pages in
whichever web browser you direct them to.

This should avoid some of the code-wrangling you are using now.

Larry Hamilton
Kairos Computer Solutions
http://www.kairoscomputers.com/
Sales Affiliate for Grisoft Anti-Virus


Alec Hall wrote:
> Dear Axel,
>
> I don't seem to have explained myself very well.  I've tried ^** but
> that returns the full path name of the file and that wont work at all.
> Running PHP files in any browser requires that a WAMP server is loaded.
> Once that is done (for me at machine start-up), the file HAS to be
> addressed
>
> http://localhost/part of file address/filename.php
>
> In one case for me it becomes..
> http://localhost/mesh4us/htdocs/sheffield/main.php?page1
>
> The PHP interpreter then runs in any browser on my machine just as it
> would on a PHP enabled web host.

#16589 From: buralex@...
Date: Thu May 31, 2007 1:08 am
Subject: OFFLIST - FWD: [Clip] Run external programme
alecb3ca
Send Email Send Email
 
Sheri - did you ever "release" your Custom clipkeys? I was looking for
it in the yahoo group clips list and it doesn't appear to be there. (I
guess because it relies on PowerPro?)

I guess getting Eric to implement it "natively" in Notetab isn't quite
as simple as a Debug LOG file option :-)

>  Alec Hall <alec@...> said on 05/30/2007 5:19:53 PM -0400
> One last question and I'll get out of your hair.
> Is it possible to attach this clip to a shortcut key. I've tried just
> adding it to a key in shortcut.dat but that doesn't work of course.
>
> Thanks again and regards
> alec
>
> >Alec Hall wrote:

Regards ... Alec -- buralex-gmail
--

#16590 From: Alec Hall <alec@...>
Date: Thu May 31, 2007 11:09 am
Subject: Re: [Clip] Run external programme
anothercrusty
Send Email Send Email
 
Thanks everyone for your help.
Axel gave me the answer and the following works well.
-----
^!Set %varFIL%=^$GetDocName$
^!Set
%varFIL%=^$StrReplace("C:\wamp\www\";"http://localhost/";"^%varFIL";FALSE
;FALSE)$
^!Set %varFIL%=^$StrReplace("\";"/";"^%varFIL";FALSE;FALSE)$
^!c:/program files/netscape/netscape/netscp.exe ^%varFIL%
-----
It would be good to assign the clip to a shortcut key but I can find no
lead to how that can be done. Maybe it's not possible.
Thanks again.
Alec

>
>Alec,
>
>Just to make sure, have you gone to View > Options then the HTML Files
>tab?
>
>There is a place on the middle right portion of the screen called
>"Preview server-side".
>
>It allows you to specify the Server name and the Physical Path. F1 Help
>will give explicit directions on this.
>
>Setting these allow you to see php, cgi, ruby, whatever pages in
>whichever web browser you direct them to.
>
>This should avoid some of the code-wrangling you are using now.
>
>Larry Hamilton
>Kairos Computer Solutions
>http://www.kairoscomputers.com/
>Sales Affiliate for Grisoft Anti-Virus
>
>Alec Hall wrote:
>> Dear Axel,
>>
>> I don't seem to have explained myself very well. I've tried ^** but
>> that returns the full path name of the file and that wont work at all.
>> Running PHP files in any browser requires that a WAMP server is
>loaded.
>> Once that is done (for me at machine start-up), the file HAS to be
>> addressed
>>
>> http://localhost/part of file address/filename.php
>>
>> In one case for me it becomes..
>> http://localhost/mesh4us/htdocs/sheffield/main.php?page1
>>
>> The PHP interpreter then runs in any browser on my machine just as it
>> would on a PHP enabled web host.
>
>

--
email:alec@...
http://www.philbrick-lodge.org.uk
http://www.southchurch-masonic.org.uk
Alec Hall. Often known as crusty. "nil illegitimum carborundum"

#16591 From: Axel Berger <Axel-Berger@...>
Date: Thu May 31, 2007 2:04 pm
Subject: FTP-Upload
absalom_nemini
Send Email Send Email
 
I have found the FTP template and I do know how to use the commandline
version of FTP, but I still need help here.

All pages on my sites carry the "valid HTML" icon and the easiest way to
verify changes is to load the page and click that. Unfortunately this
makes checking alterations a three step process
1) Save file
2) Upload using Totalcommander
3) Open or reload in Browser
Does anyone have a clip that uploads the current file that I could
modify to meet my setup? Adding a browser call for that file would be
trivial, but I have no idea how to go about the FTP bit.

Danke
	 Axel

#16592 From: "lm_hamilton" <lmh@...>
Date: Thu May 31, 2007 7:12 pm
Subject: Re: FTP-Upload
lm_hamilton
Send Email Send Email
 
Axel,

I put together a lot of information I found online about command line
FTP a several years ago.

I have an outline file on my NoteTab page:
http://www.kairoscomputers.com/notetab/

See the link "FTP Notes (Not just for NoteTab)".

You can either download the outline file, or browse from the FTP Note
page. http://www.kairoscomputers.com/notetab/FTP_Notes.php

The nice thing about ftp.exe is that it is scriptable. The outline
includes examples of batch files.

The FTP clip library included with NoteTab uses the Windows ftp.exe.
The FTP Server Setup clip allows you to specify a directory to use by
default. I see that the Upload script may have an issue. I do not have
time to troubleshoot it right now.

I thought for sure I had a clip to do FTP like you want, but cannot
find it at the moment. I will post it when/if I find it, or re-write it.

I believe that Jody may have had one on his site. I know he had one
for use with WSFtp.

Larry Hamilton

--- In ntb-clips@yahoogroups.com, Axel Berger <Axel-Berger@...> wrote:
>
> I have found the FTP template and I do know how to use the commandline
> version of FTP, but I still need help here.
>
> All pages on my sites carry the "valid HTML" icon and the easiest way to
> verify changes is to load the page and click that. Unfortunately this
> makes checking alterations a three step process
> 1) Save file
> 2) Upload using Totalcommander
> 3) Open or reload in Browser
> Does anyone have a clip that uploads the current file that I could
> modify to meet my setup? Adding a browser call for that file would be
> trivial, but I have no idea how to go about the FTP bit.
>
> Danke
>  Axel

#16593 From: Axel Berger <Axel-Berger@...>
Date: Thu May 31, 2007 7:33 pm
Subject: Re: [Clip] Re: FTP-Upload
absalom_nemini
Send Email Send Email
 
lm_hamilton wrote:
> I put together a lot of information I found online about
> command line FTP a several years ago.
> http://www.kairoscomputers.com/notetab/FTP_Notes.php

Yes thanks, a well-done manual. But as I said, I do know how to use
ftp.exe manually - not good at it by any means but able to accomplish
the basics. What I'm looking for is a sample clip doing an upload. I
have never yet tried to run (as opposed to just call) external programs
through clips and no idea how to go about it.

Axel

#16594 From: hsavage <hsavage@...>
Date: Thu May 31, 2007 11:06 pm
Subject: Re: [Clip] Re: FTP-Upload
hrs62930
Send Email Send Email
 
Axel Berger wrote:
  > lm_hamilton wrote:
  >> I put together a lot of information I found online
  >> about command line FTP a several years ago.
  >> http://www.kairoscomputers.com/notetab/FTP_Notes.php
  >
  > Yes thanks, a well-done manual. But as I said, I do
  > know how to use ftp.exe manually - not good at it by
  > any means but able to accomplish the basics. What I'm
  > looking for is a sample clip doing an upload. I have
  > never yet tried to run (as opposed to just call) external programs
through clips and no idea how to go about it.
  >
  > Axel

Axel,

If you look into your NoteTab Libraries folder you should find an
'FTP.clb' file.  It appears to assist you in using Windows Ftp program
and creating scripts for uploading and/or downloading.

I believe this library is part of the NoteTab installation.  With a
little experimentation it may fill your requirements.

  ºvº SL-5-246 -created- 2007.05.31 - 17.11.02

"What makes men chase women they have no intention of marrying?"
"The same urge that makes dogs chase cars they have no intention of
driving."
  ¤ ø ¤ hrs ø hsavage@...

#16595 From: "duke_nukem_time" <duke_nukem_time@...>
Date: Thu May 31, 2007 11:49 pm
Subject: Stuck on this clip
duke_nukem_time
Send Email Send Email
 
I have been trying to find a way to take the height and width of an
image and scale them down by a reduction factor of 1-5. For ex: a
1600x1400 picture becomes 800x700 if I used a reduction factor of 2. I
am a noob at a lot of this clipping stuff. Can someone help me out?
[:(]



[Non-text portions of this message have been removed]

Messages 16566 - 16595 of 23787   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help