Archive for the ‘Programming’ Category

Amplify Sikuli

Wednesday, February 10th, 2010



amplify.sikuli

(Download this script)


user = input("user")
mail = input("mail")
passw = input("passw")

nigger = 1265809965330 Amplify Sikuli
line = 1265809907165 Amplify Sikuli

click(line),type("http://amplify.com/" + Key.ENTER)
wait(nigger,100000)
click(1265810065260 Amplify Sikuli)
wait(1265810118481 Amplify Sikuli,100000)

click (1265810118481 Amplify Sikuli)
wait(1265810324549 Amplify Sikuli,1000)
click(1265810378996 Amplify Sikuli)
type(user)
click(1265810409473 Amplify Sikuli)

type (user)
click (1265810431903 Amplify Sikuli)
type (mail)
click(1265810482756 Amplify Sikuli)
type (passw)
click(1265810534274 Amplify Sikuli)

type(input("Key"))

click(1265810574815 Amplify Sikuli)


Sikuli – My opinion

Wednesday, February 10th, 2010

“Sikuli is a visual technology to search and automate graphical user interfaces (GUI) using images (screenshots). ”

That is how Sikuli is described in there homepage.

An idea of this system is grate, but I feel disappointed, because it has very limited functions.

Sikuli uses Python, but seems it is old version of Python, what makes many functions hard to program something useful. First thing I didn’t like very much – Sikuli Python doesn’t support goto function. It would be nothing special, if only it would not have problems with “IF / FOR” and own maid functions.

These functions must be written in one line only (don’t know Python much, but haven’t heard about this problem in regular version of Python).

Second thing – in functions I could not add any additional variable, only “self”. It sent me an Error message, when I tried to add picture directly in For function, and it doesn’t.

Next thing I tried – integrate some information source from outside. Only thing I could include was txt files. Tried to read them by line, what was successful , but thing I could not do was SPLIT, because it did split by chars. Had an idea, that it could automatic read, but could not do it, because as I said – For function didn’t work right.

All I said was bit chaos , but hope got the Idea. I’ll publish some of the scripts I started.

New problems with MSSQL EXPRESS

Sunday, January 3rd, 2010

Had some new problems with MSSQL EXPRESS

As I installed thios database to other pc just tempolary, because it is really slow, I had to install it back to main pc.
And then my problems started.

As I’m bit old stylish and I really hate (that is the real word) Windows vista, and I have some problems using Windows XP SP3, I’ve installed windows XP SP2.

And then started interesting thing – I could not install MSSQL EXPRESS 2005, because it had to have “MSXML6″

t.i. I had error
“Setup is missing prerequisites:
- MSXML6

Go to http://go.microsoft.com/fwlink/?LinkId=54583

Well first of all – this link was wrong, and the real one was here /found out TNX to MS Forum and blog comments
But there was an other grate thing. This Install still didn’t work after I installed MSXML6. It took me two hours to find links listed above this line, and still some 5 minutes to find this blog

Well after all this I’m really p**** and had some ideas how to delete some MS developers. But good things are those things, witch ends good :P

Hope this will help you :D

About Plugins

Tuesday, December 29th, 2009

There are lot of people that think Twitter is Grate.
Well – i think it is the best. I have added to many of my clients too…

About Twitter tools

Tuesday, December 29th, 2009

Most of tools are not for free – there still can find good old AutoTweeter v0.4beta – there were it is, it is for free. PHP scripts are grate – I really fell that tool with automatic DM will be useful for me. Because many has that, but I don’t.

Almost done

Monday, December 28th, 2009

Yes, it has been almost done. MSSQL restore has been done, but the name of the Server was too long. Tomorrow I’ll do it till the end. I hope, because time I have spent pretty much :P

Help Me with MSSQL

Sunday, December 27th, 2009

Have a problem like:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword ‘from’.
Msg 319, Level 15, State 1, Line 1
Incorrect syntax near the keyword ‘with’. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.

when I tried to restore database using these tips :(

Plug In for Twitter

Saturday, December 5th, 2009

gateway Plug In for Twitter

Well – to make plug in work as I need, I maid some changes in Original:

Changes I maid in file twitter-tools.php line 498 (or 500).

Can’t show original, but my included code looks like this:

if (!$data) {
return;
}
//Setting for Twii
$data['post_content'] = str_replace (’nofollow’,”,$data['post_content']);
$data['post_content'] = “Text Before” . $data['post_content'] . “<br/> <br/> <br/> <strong> This is my Message from Twitter! </strong>”;
$data['post_title'] = “I Twitt – “. date(”H.i”);
//

What I did was

  • I took out No-follow;
  • I changed title to my own, but didn’t find the best way to make it dynamic
  • I added extra text (you may put in Variables too) after and before Tweet.

That’s all , hope this will be useful for you :)