Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all 1024 articles
Browse latest View live

Function GetClipboardText losing formatting

$
0
0

@webguy22 wrote:

For example, if I do a toolbar Copy and manually paste into a email, it formats fine:

1976 Cleveland Indians At 1976 Oakland Athletics 4/8/1976
Indians......... 0 0 1 0 0 0 0 0 0 - 1 7 0
Athletics....... 1 0 1 0 0 1 0 0 x - 3 6 0

But if I do a GetClipboardText to store into a variable and call the email client, the clipboard formatting is lost:

1976 Cleveland Indians At 1976 Oakland Athletics 4/8/1976 Indians......... 0 0 1 0 0 0 0 0 0 - 1 7 0Athletics....... 1 0 1 0 0 1 0 0 x - 3 6 0

procedure AutoSendMail;
Var
B: String;
S: String;
M: String;
begin
NavigateCommand(4); // Select All
NavigateCommand(3); // Copy
S := "mailto:?body=";
B := GetClipboardText();
M := S+B;
OpenFile(M, "", SW_SHOWNORMAL);
end;

Posts: 1

Participants: 1

Read full topic


Keyboard Shortcut Toolbar Control Action

$
0
0

@webguy22 wrote:

Is there a way to have the selected keyboard shortcut actually do the action instead of just highlighting the action on the toolbar?

My toolbar is set up for keyboard shortcuts. Example C for Copy. Now, if you hit C on the keyboard, the Copy toolbar control is highlighted. Then the user still has to hit Enter, or click the mouse, to execute the action. I would like the action to execute when the user hits the keyboard shortcut.

Thanks

Posts: 1

Participants: 1

Read full topic

How To Implement a Progress Bar

$
0
0

@webguy22 wrote:

Forum post https://www.gdgsoft.info/t/progress-bar-status-changing/709 talks about how to set up a progress bar. It said:

Note that in ExeOutput 2, this will be easier. Something like:

exo_runhescriptblock("main.jauge.Value := 40;");

Question. Is it now exo_runhescriptcom instead of exo_runhescriptblock?

And what's the proper way to code this in a php script?

I searched and found the following for requesting a folder:

Function AskFolder: String;
Begin
Result := SelectDirectory("Choose a folder", "");
End

And I placed this in my PHP script:

$dir = exo_return_hescriptcom("UserMain.AskFolder", "Error");

It works great. But sometimes it can take more than 10-15 seconds to complete for a large directory of files. So I would like a progress bar to display during the wait. But I'm not sure where to place in the PHP script. Before the AskFolder like this:

exo_runhescriptcom("main.jauge.Value := 40;");
$dir = exo_return_hescriptcom("UserMain.AskFolder", "Error");

which, BTW, does not work. Or do something else?

Posts: 8

Participants: 2

Read full topic

Exe Version number

Empty About Dialog Box

$
0
0

@jrusin wrote:

Dear GDG
On my project the About Dialog Box magically appears but is not filled with any text (only X on the top left grey bar).
I've tried to copy all from working one even reset dialog --> but still no text in the dialog.
Any suggestion?
Rg
Jacek

Posts: 1

Participants: 1

Read full topic

HTML5 Push Notifications

How to set spell checking in Exeoutput (Chromium viewer)?

$
0
0

@martin_hankovec wrote:

Hello,
I need to add Czech language spellchecking in Exeoutput application.
I have rewritten CEFRuntime/locales/en-GB.pak with cs.pak and then context menu, file input button etc. are in Czech language OK, but when I input some word in textarea, it's underscored with red wave. Where can I download appropriate .bdic file and how to add it to Exeoutput?
Thanks a lot
Martin

Posts: 4

Participants: 2

Read full topic

Google Push Notification In Exeoutput

$
0
0

@rajeshkumarsir wrote:

Is there any way to show google push notification in compiled app EXEOut?

IF so, how to implement within the software and would appreciate little more info please.

Thanks!

Posts: 1

Participants: 1

Read full topic


Menu on dual monitors

$
0
0

@oldteacher wrote:

My setup:

  • EXEOut 2.1
  • Using Ribbon setup
  • Dual monitors

When using dual monitors, main display (monitor 1) on left and using compiled app on monitor 2, the dropdown menu appears on monitor 1 when app is fullscreen.

Not a huge issue but thought was not working until spotting dropdown menu on other monitor.

Tried to get a screenshot but did not work out.

Posts: 1

Participants: 1

Read full topic

Sqlite3 FrameWork

PHP Warning: shell_exec(): Unable to execute 'dir c:'

$
0
0

@dibyam wrote:

PHP Error: PHP Warning: shell_exec(): Unable to execute 'dir c:' in C:\Users\dibya\Desktop\bio1\Data\register.php

Posts: 1

Participants: 1

Read full topic

Alert when closing app

$
0
0

@oldteacher wrote:

Had to update an older app compiled with 1.7. Had setup to alert user when they closed app and had used this in 1.7 scripting:

function OnWindowCloseQuery (WindowName: String): Boolean;
begin
 // Ask user if they really wish to close window
 Result := True;
 if MessageBox("Exit Software?"#13#10#13#10"Did You Save Your Work? Click Yes if So!"#13#10#13#10"Choose No to Cancel & Then Save...",
 "Exit Confirmation", MB_YESNO+MB_ICONWARNING) = IDNO then Result := False;
end;

This is what I used in 2.1. Issue having is clicking "No" button also closes the app:

procedure OnCloseWindow(WindowName: String);
begin
 // When a window is closed by the user.
  // Ask user if they really wish to close window
 Result := True;
 if MessageBox("Exit Software?"#13#10#13#10"Did You Save Your Work? Click Yes if So!"#13#10#13#10"Choose No to Cancel & Then Save...",
 "Exit Confirmation", MB_YESNO+MB_ICONWARNING) = IDNO then Result := False;
end;

Please help me get the above working in 2.1.

Thanks

Posts: 1

Participants: 1

Read full topic

Make Exe Faster

Access webcam from exeoutput

$
0
0

@rajeshkumarsir wrote:

is there any way to access webcam from phpexe, I tried flash plugin but unable to access camera, while it is working fine from within browser.

Any help would be highly appreciated. Thanks

Posts: 1

Participants: 1

Read full topic

Multiple processes running for one compiled exe

$
0
0

@webguy22 wrote:

Curious, but why is that? Have one compiled ExeOutput exe yet I see four processes running in Windows Task Manager when I execute the compiled program. All four do go away when I quit the exe.

Posts: 1

Participants: 1

Read full topic


Conflict with Wamp server

$
0
0

@Gilmichel wrote:

Hi,

I just discover than when Wamp is started (Windows 10) then when I run a project with ExeOutPut 2.1 it shows the following:
No input file specified
Then when I stop Wamp server it works again normally.

Any conflict between servers ?

Thank-you,
Gilbert

Posts: 1

Participants: 1

Read full topic

SetMenuProp() not working anymore

$
0
0

@orionmetrics wrote:

Hi got an issue I cannot seem to get around, nor can I find any documentation for it, but on the new exeoutput v2.1 these Hscript functions no longer work to disable and enable a menu item (used to work on v1.7).

procedure DisableMenu(menu: string);
begin
SetMenuProp("muser_"+menu, "Enabled", "FALSE");
end;

procedure EnableMenu(menu: string);
begin
SetMenuProp("muser_"+menu, "Enabled", "TRUE");
end;

Could someone tell me what the equivalent would by for version 2.1 of exeoutput ?

Thanks.

Posts: 1

Participants: 1

Read full topic

Setting menu bar items in v2.1

$
0
0

@orionmetrics wrote:

Hi only recently started to move over from version 1.7 to version 2.1 of exeoutput, but hit a problem, do you have any documentation on how to add or edit menu items ? Wanted to add new items to File, and a new menu called 'options'.. but cannot figure out how to do it. easy on version 1.7, but the documentation only seems to go into the toolbar not the menubar.

Also how do you hide the toolbar.. I don't see any toolbar properties anywhere on version 2.1..

Many thanks for any help.

ian

Posts: 2

Participants: 1

Read full topic

Is there a step by step process to install a code signing certificate?

$
0
0

@webguy22 wrote:

I received my user.crt file from Comodo. In ExeOutput, under Security -> Code Signing, there's a drop down with three choices: PFX File, Certificate Subject Name, and Certificate Thumbprint. Which one do I use? I don't have a PFX File.

Here's what I did and the compiler result...

Opened user.crt.
clicked Install Certificate. Chose Place all certificates in the following store. I chose Personal. Import was successful.
Ran mmc from command line. Add/Remove Snap-in..., etc.
I see the cert under Personal -> Certificates.
Double clicked it. In Details tab, selected the Thumbprint hex code data. Removed the spaces.
In ExeOutput, chose Certificate Thumbprint, entered hex data. SHA-256. Saved, Compiled.

Signing the application .exe file...
SHA-256 signature used
GSignCode 2.1 -- simple code signing utility
Copyright G.D.G. Software 2011-2016. All rights reserved.
Certificate Subject Name: CN=...(I blanked out this data for this post)
Issuer: CN=COMODO RSA Code Signing CA, O=COMODO CA Limited, L=Salford, S=Greater Manchester, C=GB
Serial Number: ... (I blanked out this data for this post)
Signing C:... (I blanked out this data for this post)
SIGNING ERROR:
Signing Error - Code 0x80092006
Warning: code signing failed, an error occurred.

I'm using the latest ExeOuput release, using Windows 7.

FYI, Exporting to a PFX file was not an option (grayed out).

Posts: 2

Participants: 1

Read full topic

GetGlobalVariable not working in JavaScript

$
0
0

@webguy22 wrote:

var dirs = exeoutput.GetGlobalVariable( 'directories', "");
alert(dirs);

always returns undefined.

exeoutput.SetGlobalVariable works fine in JS. Example:

exeoutput.SetGlobalVariable( 'directories', "", true );

Saw this post: https://www.gdgsoft.info/t/exeoutput-setglobalvariable-problem/22

where user said "exeoutput.SetGlobalVariable works in Javascript, but exeoutput.GetGlobalVariable does not work in Javascript

Is this true?

Posts: 1

Participants: 1

Read full topic

Viewing all 1024 articles
Browse latest View live