Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


help for list link

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
LADY BLACK
Newbie cheater
Reputation: 0

Joined: 22 Oct 2015
Posts: 13

PostPosted: Tue May 17, 2016 7:43 am    Post subject: help for list link Reply with quote

hi, I would like to include in the trainer a list of links (that lead pages) but I do not know where I'm wrong, I tried using the combobox, I put on the list the links, but even if I select them, does nothing, does not report me to the link seleziono..sicuramente that I have something wrong as usual .. my idea was to create a list of clickable links, like that of the process list, but I do not know how to write the script, can you help me please? Embarassed
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Tue May 17, 2016 8:38 am    Post subject: Reply with quote

Use shellExecute. Example:
Code:
exampleF = createForm()
exampleF.Width = 300
exampleF.Height = 200
exampleF.BorderStyle = bsSizeable

local label1 = createLabel(exampleF)
label1.AnchorSideTop.Control = exampleF
label1.AnchorSideTop.Side = asrCenter
label1.AnchorSideLeft.Control = exampleF
label1.AnchorSideLeft.Side = asrCenter
label1.Anchors = "[akTop,akLeft]"
label1.Caption = "My Link"
label1.Font.Color = 0x00EE0000
label1.Font.Style = "[fsUnderline]"
label1.Cursor = -21  -- crHandPoint
label1.OnClick = function(sender)
  shellExecute("http://www.google.com")
end

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
LADY BLACK
Newbie cheater
Reputation: 0

Joined: 22 Oct 2015
Posts: 13

PostPosted: Tue May 17, 2016 10:19 am    Post subject: Reply with quote

thank you but I have to put four links
example my idea



Cattura.JPG
 Description:
 Filesize:  18.75 KB
 Viewed:  2910 Time(s)

Cattura.JPG


Back to top
View user's profile Send private message
Fluffer_Nutter
Advanced Cheater
Reputation: 0

Joined: 26 Feb 2015
Posts: 67

PostPosted: Tue May 17, 2016 11:10 am    Post subject: Reply with quote

If you would like to use the UDF (Form Designer) then here is an example. This has a pull-down with a button, pull-down no button, and right click.


Links Example.CT
 Description:

Download
 Filename:  Links Example.CT
 Filesize:  1.39 KB
 Downloaded:  360 Time(s)

Back to top
View user's profile Send private message
LADY BLACK
Newbie cheater
Reputation: 0

Joined: 22 Oct 2015
Posts: 13

PostPosted: Tue May 17, 2016 11:14 am    Post subject: Reply with quote

thank you Fluffer_Nutter and thank you ParkourPenguin ... if it does not work ... back here Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites