EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: WWW Open  (Read 2296 times)

frequency

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 102.0 Firefox 102.0
    • View Profile
WWW Open
« on: 05 July 2022, 22:57 »

Hey Roman, 

Long time!  Hope all is well and glad to see you're still at it.  Great program and will never switch.  My question is about WWW Open in the Scanner window.  According to the old documentation found at https://mamedev.emulab.it/clrmamepro/docs/index.htm, %R and %S statements were supported.  Is this no longer true?  I tried using and I'm not having very much success.  Seems when I try using then the context menu options are empty.  Any help will be appreciated.

Also, are https sites not allowed?  I just noticed on the "Hints and Tricks" topic that it wasn't listed.
« Last Edit: 06 July 2022, 07:32 by frequency »
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 103.0.5060.66 Chrome 103.0.5060.66
    • View Profile
Re: WWW Open
« Reply #1 on: 06 July 2022, 08:09 »

If I remember correclty, www open doesn't allow variables at all...you can only specify a pre and post url string in your urls.ini file. https is of course supported.

So if you add e.g. the following to urls.ini before you start cmpro:

Google; https://www.google.com/search?q=; .zip

You can use WWW Open -> Set Url to "Google" and then www open shows you options to open for example "pacman" at the given url:
https://www.google.com/search?q=pacman.zip
Logged

frequency

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 102.0 Firefox 102.0
    • View Profile
Re: WWW Open
« Reply #2 on: 06 July 2022, 08:16 »

Thanks for the quick response!  I found an alternative way but of course hate having to use other software when yours is already capable.  LOL.

Ok.  Testing some https sites are working for me but some are not.  The open @ and to clipboard works on a certain link and files are being downloaded but the zips are corrupt and all 2k.  Probably the site?  Any suggestions?  IM if you need more details for testing as I don't wanna post any links.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 103.0.5060.66 Chrome 103.0.5060.66
    • View Profile
Re: WWW Open
« Reply #3 on: 06 July 2022, 08:22 »

A download link somewhere might not directly lead to the binary you may want to download....most likely the 2k you've downloaded are simply html code...

for example:
https://github.com/mamedev/mame/blob/master/src/tools/chdman.cpp

is not the chdman.cpp file itself but a html page...

so....if you open your 2k file in a texteditor I bet it's just html code......
Logged

frequency

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 102.0 Firefox 102.0
    • View Profile
Re: WWW Open
« Reply #4 on: 06 July 2022, 08:33 »

Ahhhh yes!  You are correct.  I guess I'll just use the alternative I came up with.  Thanks Roman!  With this particular site the link I'm using is the only one that I can find with all my knowledge of obtaining the link (i.e. hovering over link, copy link location, and also inspecting window. 

Reading the HTML code gave me all the info I needed to why I'm having that issue.  LOL.  Thanks.

So the old documentation about variables were incorrect?  I question because i have a site that links are generated with pacman\pacman.zip  so using variables would have helped me there.
« Last Edit: 06 July 2022, 08:41 by frequency »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 103.0.5060.66 Chrome 103.0.5060.66
    • View Profile
Re: WWW Open
« Reply #5 on: 06 July 2022, 09:49 »

I think variables were used in other places (set selection, export, setinformation, etc) but not in urls.ini.....but actually I can't rememeber and have to look that up.
Logged

frequency

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 102.0 Firefox 102.0
    • View Profile
Re: WWW Open
« Reply #6 on: 06 July 2022, 15:28 »

Ok.  Mentioned again in the old documentation which is why I was asking.  I linked it above in my original question on in the Advanced Hints section.  Have a great day Roman!  Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.117 seconds with 20 queries.

anything