AutoHotkey Community

It is currently May 26th, 2012, 8:40 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 31  Next
Author Message
 Post subject: Problem
PostPosted: May 23rd, 2008, 7:24 pm 
When I try to run the v20 exe, it creates AutohotkeyCE but can't open the file. I am using Windows Mobile (lastest version) and there seems to be no way to edit the AHK file.

I run autohotkeyCE20.exe and i go to the edit menu selection in AHK and it says "Can't open file".

Does anyone have any advice? :(


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2008, 11:50 am 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
lingoist wrote:
ladiko_not_logged_in wrote:
all the same and all compiled for wm5. use the latest version.


Thanks a lot! What name should I use for this file?

AutohotkeyCE20.exe
OR
AutohotkeyCE.exe


Thanks again!


Hi, the correct name is
autohotkeyce.exe
ciao
micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 25th, 2008, 6:17 pm 
Offline

Joined: January 24th, 2005, 3:37 pm
Posts: 36
Any word on the compiler?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 26th, 2008, 7:41 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Hedonist wrote:
Any word on the compiler?

I'm absolutly busy at the moment. I have a big job after my common job and 0 spare time. The compiler still isn't working. I have to rewrite a closed source dll while guessing what the dll does.
Sorry, but it can last a little bit (about 2-3 month)
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject: DDL
PostPosted: June 5th, 2008, 3:57 am 
Offline

Joined: October 5th, 2004, 5:03 pm
Posts: 121
Location: Brasília, Brazil
Hi Micha,

I need DDL variables to work. How could I help you to improve ahkce? I didn't found the source code...

Thanks,
Lingoist


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 14th, 2008, 3:26 pm 
Offline

Joined: October 5th, 2004, 5:03 pm
Posts: 121
Location: Brasília, Brazil
Variables such as my_ddl does not work...

Code:
Gui, Add, DDL, Vmy_ddl, option 1||option 2|option 3
Gui, Submit
MsgBox, %my_ddl%
ExitApp


Micha, do you know what is the problem?

Thanks,
Lingoist


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 19th, 2008, 11:32 am 
Offline

Joined: October 5th, 2004, 5:03 pm
Posts: 121
Location: Brasília, Brazil
Has anyone had the same problem with DropDownList?

Micha, do you think that ComboBox would be work properly?

Thanks again!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 22nd, 2008, 2:11 am 
Offline

Joined: October 5th, 2004, 5:03 pm
Posts: 121
Location: Brasília, Brazil
Combobox is working better that DropDownList, but still with some problems.

Code:
Gui, Add, ComboBox, Vmy_combo, option 1||option 2|option 3
Gui, Submit
MsgBox, %my_combo%
ExitApp


My variable "my_combo" only shows the first letter, which happens to be "o"...

Would anyone know what's the problem?

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 2nd, 2008, 8:46 pm 
Offline

Joined: May 21st, 2008, 10:02 pm
Posts: 13
sergeich wrote:
halweg wrote:
But a Window Spy is much more comfortable.


This is my script WinSpy for AHKCE. Information getting from active window.
http://www.zshare.net/download/7218241437a839/



'File Not Found'. Any way you can post this script or shoot me a pm.. posting it for everyone preferred


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Needs some help.
PostPosted: July 8th, 2008, 12:39 am 
Offline

Joined: January 24th, 2005, 3:37 pm
Posts: 36
I am trying to make a little inventory program for a hand held scanner in order to track servers in my data center. The program works fine in Windows XP, but I get some strange results in CE.

Here's a little info about the device.
Manufacture: Datalogic
Model: Memor
Operating system: Microsoft Windows CE 5.0
Here is a link to the device web site.
http://memor.datalogic.com/

Here is the program I wrote.
Code:
;
; AutoHotkey Version: 1.0.47.06
; Language:       English
; Platform:       WinXP
; Author:         
;
; Script Function:
;   Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoTrayIcon  ; Disables the showing of a tray icon.
#SingleInstance ,Force ; Determines whether a script is allowed to run again when it is already running.
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Gui, 9:Add, Text, cblue center x6 y10 w200 h75,Data Center Inventory Program V1.0`n`nCreated by: Jay Curcillo
Gui, 9:Show,,DC Inventory
sleep, 2000

winclose, DC Inventory

winwaitclose, DC Inventory

Time:
FormatTime, timestamp,,yyyyMMdd

Gosub , DataCenter
Return

DataCenter:
Gui, 1:Add, Text,x6 y7 w200 ,Is this inventory being taken in the North or South Data Center?
Gui, 1:Add, Button,x6 y50 w200 h70 gNorth default, North
Gui, 1:Add, Button,x6 y130 w200 h70 gSouth, South
Gui, 1:Show,, Data Center?
Return

1GuiEscape:
ExitApp


North:
Gui, 1:Submit, NoHide
Gui, 1:Destroy
location=north
   goto, NorthInventory

South:
Gui, 1:Submit, NoHide
Gui, 1:Destroy
location=south
   goto, SouthInventory

;North Inventory-----------------------------------------

NorthInventory:
NorthFile:
IfExist,North Inventory %timestamp%.csv
{
   MsgBox,3,North Inventory File Exists,An Inventory file already exists for today's date. Would you like to continue this inventory? (Yes) to continue. (No) to delete file and create a new inventory. (Cancel) to exit program.
   IfMsgBox Yes
      FileAppend,,North Inventory %timestamp%.csv
   IfMsgBox No
      {
      FileDelete,North Inventory %timestamp%.csv
         FileAppend,
         (
         Server,Location,
         ),North Inventory %timestamp%.csv
      }
   IfMsgBox Cancel
      Exitapp
}
else
{
   FileAppend,
   (
   Server,Location,
   ),North Inventory %timestamp%.csv
}

Gosub , GUIGridNorth
Gosub , GuiRackNorth
Return

GuiGridNorth:
Gui, 2:Add, Button, x6 y100 w130 h70 gEnter2 default, Enter
Gui, 2:Add, Button, x146 y100 w80 h70 gCancel2, Cancel
Gui, 2:Add, Text, x6 y7 w220, Scan or type grid location.`nExample: AB38
Gui, 2:Add, Edit, x6 y70 h20 w130 vGrid,
Gui, 2:Show, , North Grid Location?
GuiControl, 2:focus, Edit1
Return

2GuiEscape:
ExitApp

Cancel2:
ExitApp

Enter2:
Gui, 2:Submit, NoHide
Gui, 2:Destroy
if grid =
   {
   MsgBox,,Invalid Grid Location, You have not entered a grid location. Please try again.
   goto, guigridNorth
   }
else
   {
   goto,guirackNorth
   }

GuiRacknorth:
WinWaitClose ,North Grid Location?
Gui, 3:Add, Edit, x6 y62 w220 h117
Gui, 3:Add, Button, x21 y190 w190 h70 gNextRack3, Next Rack
Gui, 3:Add, Button, x6 y7 w130 h30 gSavenExit3, Save and Exit
Gui, 3:Add, Button, x166 y7 w60 h20 gHelp3, Help
Gui, 3:Add, Text, x6 y43 w200, Scan inventory at grid %grid%.
Gui, 3:Show,, North Inventory %timestamp%
GuiControl, 3:focus, Edit1
Return

3GuiEscape:
msgbox,4,Save Data?,Would you like to save before exiting the program?
   ifmsgbox yes
      {
      goto SavenExit3
      }
   else
      {
      ExitApp
      }

3GuiClose:
msgbox,4,Save Data?,Would you like to save before exiting the program?
   ifmsgbox yes
      {
      goto SavenExit3
      }
   else
      {
      ExitApp
      }

NextRack3:
GuiControlGet,servers,,Edit1,
loop, parse, servers, `n, `r
{
  ifequal,a_loopfield,, continue
  newservers .= (( A_Index = 1 ) ? "" : "`n" ) a_loopfield "," grid
}
FileAppend,
   (
   `n%newservers%
   ),North Inventory %timestamp%.csv
servers =
newservers =
gui, 3:destroy
goto,guigridnorth

SavenExit3:
GuiControlGet,servers,,Edit1,
loop, parse, servers, `n, `r
{
  ifequal,a_loopfield,, continue
  newservers .= (( A_Index = 1 ) ? "" : "`n" ) a_loopfield "," grid
}
FileAppend,
   (
   `n%newservers%
   ),North Inventory %timestamp%.csv
ExitApp

Help3:
Gui, 7:Add,edit,ReadOnly Center w200,Data Center Inventory Progam V1.0`n`nCreated by `nWriten in AutoHotkey Version: 1.0.47.06`nRuns through AutoHotkeyCE 20`nDesigned to run on Datalogic Memor with Windows CE 5.0 operating system.`n`nInventory files are stored on root of Mobile Device.`n`nFor additional help contact `n`nPress ESC to exit Help.
Gui, 7:Show,,Help
return

7GuiClose:
7guiescape:
gui, 7:destroy
   winwaitclose,Help
   goto,guiracknorth

;South Inventory----------------------------------------------

SouthInventory:
SouthFile:
IfExist,South Inventory %timestamp%.csv
{
   MsgBox,3,South Inventory File Exists,An Inventory file already exists for today's date. Would you like to continue this inventory? (Yes) to continue. (No) to delete file and create a new inventory. (Cancel) to exit program.
   IfMsgBox Yes
      FileAppend,,South Inventory %timestamp%.csv
   IfMsgBox No
      {
      FileDelete,South Inventory %timestamp%.csv
         FileAppend,
         (
         Server,Location,
         ),South Inventory %timestamp%.csv
      }
   IfMsgBox Cancel
      Exitapp
}
else
{
   FileAppend,
   (
   Server,Location,
   ),South Inventory %timestamp%.csv
}

Gosub , GUIGridSouth
Gosub , GuiRackSouth
Return

GuiGridSouth:
Gui, 4:Add, Button, x6 y100 w130 h70 gEnter4 default, Enter
Gui, 4:Add, Button, x146 y100 w80 h70 gCancel4, Cancel
Gui, 4:Add, Text, x6 y7 w220, Scan or type grid location.`nFloor=6`nGrid=AB38`nExample: 6AB38
Gui, 4:Add, Edit, x6 y70 h20 w130 vGrid,
Gui, 4:Show, , South Grid Location?
GuiControl, 4:focus, Edit1
Return

4GuiEscape:
ExitApp

Cancel4:
ExitApp

Enter4:
Gui, 4:Submit, NoHide
Gui, 4:Destroy
if grid =
   {
   MsgBox,,Invalid Grid Location, You have not entered a grid location. Please try again.
   goto, guigridSouth
   }
else
   {
   goto,guirackSouth
   }

GuiRackSouth:
WinWaitClose ,South Grid Location?
Gui, 5:Add, Edit, x6 y62 w220 h117
Gui, 5:Add, Button, x21 y190 w190 h70 gNextRack5, Next Rack
Gui, 5:Add, Button, x6 y7 w130 h30 gSavenExit5, Save and Exit
Gui, 5:Add, Button, x166 y7 w60 h20 gHelp5, Help
Gui, 5:Add, Text, x6 y43 w200, Scan inventory at grid %grid%.
Gui, 5:Show,, South Inventory %timestamp%
GuiControl, 5:focus, Edit1
Return

5GuiEscape:
msgbox,4,Save Data?,Would you like to save before exiting the program?
   ifmsgbox yes
      {
      goto SavenExit5
      }
   else
      {
      ExitApp
      }

5GuiClose:
msgbox,4,Save Data?,Would you like to save before exiting the program?
   ifmsgbox yes
      {
      goto SavenExit5
      }
   else
      {
      ExitApp
      }

NextRack5:
GuiControlGet,servers,,Edit1,
loop, parse, servers, `n, `r
{
  ifequal,a_loopfield,, continue
  newservers .= (( A_Index = 1 ) ? "" : "`n" ) a_loopfield "," grid
}
FileAppend,
   (
   `n%newservers%
   ),South Inventory %timestamp%.csv
servers =
newservers =
gui, 5:destroy
goto,guigridSouth

SavenExit5:
GuiControlGet,servers,,Edit1,
loop, parse, servers, `n, `r
{
  ifequal,a_loopfield,, continue
  newservers .= (( A_Index = 1 ) ? "" : "`n" ) a_loopfield "," grid
}
FileAppend,
   (
   `n%newservers%
   ),South Inventory %timestamp%.csv
ExitApp

Help5:
Gui, 8:Add,edit,ReadOnly Center w200,Data Center Inventory Progam V1.0`n`nCreated by `nWriten in AutoHotkey Version: 1.0.47.06`nRuns through AutoHotkeyCE 20`nDesigned to run on Datalogic Memor with Windows CE 5.0 operating system.`n`nInventory files are stored on root of Mobile Device.`n`nFor additional help contact `n`nPress ESC to exit Help.
Gui, 8:Show,,Help
return

8GuiClose:
8guiescape:
gui, 8:destroy
   winwaitclose,Help
   goto,guirackSouth


My finished file should look like this. And it does in Windows XP.
    Server,Location,
    RONTGEN,6AB81
    MILLIKAN,6AB82
    LUPINE,6AB82
    KOMBI,6AB86
    MICROBUS,6AB87
    TSROBK,6AB90
    WESROBK,6AB90
    NYROBK,6AB90
    NEEDLE,6AB90
    CLASS HA,6AB90
    SEROBK,6AB90
    PENNROBK,6AB90
    NONSTOPS,6U105
    AAW27600,6U106
    AAW27601,6U106
    AAW27602,6U106
    AAW27603,6U106
    AAW27604,6U106
    AAW27605,6U106
    AAW27606,6U106
    AAW27607,6U106

But this is what I get in Windows CE.
    Server,Location,
    RONTGEN,6AB81
    MILLIKAN,6AB82
    LUPINE,6AB82
    KOMBI,6AB86
    N,6AB86
    LUPINE,6AB86

    MICROBUS,6AB87
    PINE,6AB87
    TSROBK,6AB90
    WESROBK,6AB90
    NYROBK,6AB90
    NEEDLE,6AB90
    CLASS HA,6AB90
    SEROBK,6AB90
    PENNROBK,6AB90
    NONSTOPS,6U105
    ROBK,6U105
    NYROBK,6U105
    NEEDLE,6U105
    CLASS HA,6U105
    SEROBK,6U105
    PENNROBK,6U105

    AAW27600,6U106
    AAW27601,6U106
    AAW27602,6U106
    AAW27603,6U106
    AAW27604,6U106
    AAW27605,6U106
    AAW27606,6U106
    AAW27607,6U106
    =,6U106


I don't know where all of the extra data comes from. Please help!


Last edited by Hedonist on July 29th, 2008, 12:42 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2008, 4:35 pm 
Offline

Joined: January 24th, 2005, 3:37 pm
Posts: 36
Ok.. I narrowed it down. The extra data is coming from the edit box. Not from the GuiControlGet or even the loop, parse. Even when I do a ControlSetText to set the edit box to blank it still retains some old info in the next group. If I didn't need to use a editbox I would just use a listview.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 28th, 2008, 9:34 pm 
Offline

Joined: May 21st, 2008, 10:02 pm
Posts: 13
So.. How can I get involved. Is there a repo out there? I understand your busy Micha, but I could really use a compiler, and would be happy to throw in my 10cents

DrewG, MCSD


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2008, 11:37 am 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
lingoist wrote:
My variable "my_combo" only shows the first letter, which happens to be "o"...
Would anyone know what's the problem?
Thanks!

Hi,
still an easy open problem.
Text is unicode.
hallo (dec) = 104 97 108 108 111
unicode (i.e) 104 00 97 00 108 00 108 00 111
So C thinks the string is at its end at the first 00.
I have just to convert unicode string to normal string and the value isn't truncated any more.
I will do this for the next release
thank for reporting
ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2008, 11:41 am 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
werD420 wrote:
So.. How can I get involved. Is there a repo out there? I understand your busy Micha, but I could really use a compiler, and would be happy to throw in my 10cents

DrewG, MCSD

Hi, I'll upload the unfinished source.
We need to understand the function of a closed source dll and rewrite it to make the compiler work. If you can do this, everybody will be very glad :-)
This is just one of dozent problems. including my favorite "stack overflow"
ciao
micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2008, 5:31 pm 
Offline

Joined: May 21st, 2008, 10:02 pm
Posts: 13
Sounds fun, I'm willing to donate some time and effort to this.

On a whim I sent Chris a pm asking if he'd be willing to donate some code(or time) as well. It seems it would be advantageous to AHK to have a CE version available right from the download section. A few of us would even settle for a flag to compile for CE on the pc for now/


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 ... 6, 7, 8, 9, 10, 11, 12 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], fusion1920, Google Feedfetcher, MSN [Bot], SKAN, Stigg and 17 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:
cron
Powered by phpBB® Forum Software © phpBB Group