Could someone compile me 3 lines in 9ver, because in 8ver...

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
chutch
Newbie
Posts: 5
Joined: Wed Jan 03, 2007 10:45 pm

Could someone compile me 3 lines in 9ver, because in 8ver...

Post by chutch » Thu Jan 04, 2007 1:59 pm

.. the same script gives me diffrent result. When I compile script in macro scheduler 8, the site, where i'm sendig request to, doesn't see my post variable. Maybe the site script is construated wrong, but when I compile the script in macro scheduler 9 eval everything is ok. The problem is, that exe compiled file (eval version) will be used in some combination. So the appearing message bother and crash everything.

My request is: please, could someone compile for me just three lines of code?

I'm a polish student, i don't have enough money to buy a program, moreover: whatfor?-to compile three lines? my uncle allowed me to use his 8ver,

[email protected]

Code: Select all

HTTPRequest>http://www.pimpmyparty.pl/login.php,,POST,login=1203718,response
MidStr>response,5203,6,short
PutClipBoard>short
[/code]

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jan 04, 2007 2:21 pm

This works fine in v8! None of the commands used in this script have changed between v8 and v9.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

chutch
Newbie
Posts: 5
Joined: Wed Jan 03, 2007 10:45 pm

Post by chutch » Thu Jan 04, 2007 2:34 pm

Let's make a test:

version 9 eval site returns
-"Następne logowanie z tego komputera będzie moÅ¥liwe po..." what means "next logging will be allowed after..."
or
-"WÃ…‚aÃ…›nie zwiÄ™kszyÃ…‚eÃ…› szanse swojej klasy na wygranie!" what means "You had just increased chances for your class..."

version 8 returns
-"Klasa o podanym loginie nie istnieje" which means "Class with that login doesn't exist"

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jan 04, 2007 2:41 pm

I got exactly the same results from both.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

chutch
Newbie
Posts: 5
Joined: Wed Jan 03, 2007 10:45 pm

Post by chutch » Thu Jan 04, 2007 2:42 pm

which result was it? :shock: maybe i'm doing something wrong ;/

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jan 04, 2007 2:49 pm

Last time I tested it they both returned "szanse". However, just now they returned "ie ist". Then "o komp". Looks like the website is not always returning the same value. Therefore you may get different results. So nothing to do with the Macro Scheduler version, just that the results aren't consistent in the first place.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Jan 04, 2007 3:00 pm

Version 9

I have stepped through the script without compiling it.

Sometimes I get 404 error connecting message.
Sometimes I get szanse

Sometimes I get a full web page with this content:
Następne logowanie z tego komputera będzie możliwe po:

---------------------------
I don't believe there is anything wrong with the script. It sounds like you need to be able to respond to different login problems created by the web page design.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

chutch
Newbie
Posts: 5
Joined: Wed Jan 03, 2007 10:45 pm

Post by chutch » Thu Jan 04, 2007 3:36 pm

I'm not so stupid. The program can return only 3 things to clipboard.

If it will be "o komp" or "szanse" - variable was accepted.

If it will be "ie ist" - site doesn't get variable

404 error could be caused by the location of the site, polish server

If I compile with 8 i always get "ie ist"

If I compile with 9 everything is ok. I never got any other variable. Site code will never change.

I'm still thinking that something is wrong in 8ver. I got even proof, always when i change IP and run on ver9 i got point on the website, when i use ver8 i got nothing!!! you must believe me,

i've even reinstaleed both versions

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jan 04, 2007 4:05 pm

Look. As you can see this is with 8.1:

Image

Note the values of short and msched_ver in the watch list.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts