AutoHotkey Community

It is currently May 26th, 2012, 4:11 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 31  Next
Author Message
 Post subject:
PostPosted: April 14th, 2009, 5:09 am 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
OK, if anyone out there can help me with this one, I will be forever grateful!

I have 2 GUIs... #1 is on top. # 2 is not hidden, but it's not showing because it's behind GUI 1 and has the same X/Y and W/H dimensions as GUI 1.

How can I set the value (ControlSetText) of an edit control (Edit1) on GUI 2 - without actually switching to GUI 2?

I've tried ControlSetText, Gui2:Edit1
I've tried referencing the control's vVarName
Obviously, I can't use GuiControl (not supported in AHKCE)
I can get the window hwnd - but not the control hwnd (or can I?)

I even thought about using a whole different GUI as a "wait GUI" (i.e. just a big GUI with no buttons, etc. and the text "Please wait..." while I do stuff in the background (then destroy the "wait GUI") - but still, I can't set the text for Edit1 without showing GUI 2, so that defeats the whole purpose of that.

PLEASE tell me there's SOME way to do this!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: I FOUND A WAY!!!
PostPosted: April 14th, 2009, 6:17 am 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
WOOT! I found a way!

I'm showing Gui 2, but I'm using
Code:
Gui, 2:Show, x-100 y-100 w10 h10, WinTitle
ControlSetText, Edit1,, WinTitle

I'm using this in conjunction with my aforementioned "Wait GUI". It's a hack and a kludge, but it looks and works very well, so I'm happy!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 14th, 2009, 6:56 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
werD420 wrote:
Great Job man!
No luck on compression yet. UPX4PPC seems to break the executables. It would've been nice though
....
Does anyone else know any other exe compression tools for ppc to try?


Nevertheless, thank you for trying it
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 14th, 2009, 8:57 pm 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
Hi everybody!

I have a problem with ahkCE. I start the program, he ask me if I want a sample script, I choose yes and... nothing.
I try to run the sample and my mobile tells me "... is not associated with a program..."

Can you help me please!

PS: I have a Samsung Player Addict (Omnia/i900)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 14th, 2009, 9:20 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
TomXIII wrote:
Hi everybody!
I have a problem with ahkCE. I start the program, he ask me if I want a sample script, I choose yes and... nothing.
I try to run the sample and my mobile tells me "... is not associated with a program..."

Can you help me please!

PS: I have a Samsung Player Addict (Omnia/i900)


Hi, please read the first post. Use the script mentioned to assisiate the ahk extension with autohotkeyce.exe
Create a file with the same name "autohotkeyCE.ahk" and that script wil be startet automatically
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 15th, 2009, 12:11 pm 
Offline

Joined: April 14th, 2009, 10:40 am
Posts: 182
Yyeeessss, it works!!!
I'm so sorry to havn't read enough the first post!

A great THANKS for you MICHA!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 15th, 2009, 6:16 pm 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Quote:
(v20) menu + menu, tray: since (AFAIK) there's no "right mouse click" on a PDA, I'm using just the left click.
Micha, could you (or someone) post a working code example for creating a menu? I don't seem to be able to get it to work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 15th, 2009, 6:41 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Donny Bahama wrote:
Quote:
(v20) menu + menu, tray: since (AFAIK) there's no "right mouse click" on a PDA, I'm using just the left click.
Micha, could you (or someone) post a working code example for creating a menu? I don't seem to be able to get it to work.

Image
Code:
 #Persistent
/*  Menu, test, add, Test1, MenuHandler
  Menu, test, add, Test2, MenuHandler
  Menu, test, add, Test3, MenuHandler
  Menu, test, add, Test4, MenuHandler
  Menu, test, add, Test5, MenuHandler
  Menu, test, Show 
*/ 
  Menu, tray, add  ; Creates a separator line.
  Menu, tray, add, Item1, MenuHandler  ; Creates a new menu item. 
}
return
MenuHandler:
MsgBox You selected %A_ThisMenuItem% from menu %A_ThisMenu%.
return

Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject: ACK! BUG!
PostPosted: April 16th, 2009, 12:30 am 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Micha,

I found a bug (probably in the GUI, Submit code.) It works fine on the desktop version, but fails to retain edits made in a GUI, Edit control on Submit.

There's too much code to post here; there's 3 files (two flat-file database files and a large script) along with a bit of descriptive/how-to text. (It's not as bad as it sounds. Once you have the files and run them, you'll see the problem in less than a minute. I can point you to the exact (numbered) debug message, as well as point out some "no, it's not that" things. ;) ) I guess we can't attach files here, so if you don't mind, please PM me your email and I'll send them. Otherwise, I can post them to my http/ftp space.

If you can spare a little time, I'd really appreciate your attention on this. I have an app that's very nearly ready for a 1.0 beta release - except for the impact of this bug.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 16th, 2009, 11:36 am 
Offline

Joined: January 11th, 2008, 7:42 pm
Posts: 20
Location: Russia
AutoHotKeyCE ver. 21 cab file for Windows Mobile
After install file type *.ahk associated with program.

http://www.zshare.net/download/58724988bfb1d68e/


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 16th, 2009, 6:45 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
sergeich wrote:
AutoHotKeyCE ver. 21 cab file for Windows Mobile
After install file type *.ahk associated with program.

http://www.zshare.net/download/58724988bfb1d68e/

Hi sergeich,
thank you for that !!
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Love it!
PostPosted: April 17th, 2009, 9:05 am 
I love this implementation!! Even the compiler does its job!
Though, the Gui, add, picture does not function.
That's a pity, since I would love to make a 'skinned' window.

Any change the picture will be added?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 6:23 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
Can you try to get UrlDownloadToFile and RegExMatch working? Those are two of the most useful commands/functions on a mobile phone. Theres endless uses for them that become even more useful when your not at home. Like making apps for weather, movies, stocks, ebay, myspace, facebook, youtube downloaders etc.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 7:54 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Frankie wrote:
Can you try to get UrlDownloadToFile and RegExMatch working? Those are two of the most useful commands/functions on a mobile phone. Theres endless uses for them that become even more useful when your not at home. Like making apps for weather, movies, stocks, ebay, myspace, facebook, youtube downloaders etc.

Hi Frankie,
it's on the todo list.
Currently I'm migrating to ahk build 1.48.0
The listcontrol is my next aim.
Then I'll have a look at regexmatch
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2009, 1:56 am 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
Thanks.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group