KHTMFile πŸ’Ύ
1.27K subscribers
1.18K photos
341 videos
386 files
465 links
Subscribe PSD AI CDR
Download Telegram
Forwarded from Group - Soft IT168 πŸ’Œ
❀1
Media is too big
VIEW IN TELEGRAM
αž˜αž€αžŠαžΉαž„αž’αŸ†αž–αžΈαž€αžΆαžšαž”αž·αž‘αž•αŸ’αž‘αžΆαŸ†αž„ Coreldraw has found multiple Auto-Backup file​2024
Kbach CNC
System Invoice
៑.αž”αž„αŸ‹αžšαž½αž…
្.αž‡αŸ†αž–αžΆαž€αŸ‹αžαŸ’αž˜αžΈαŸ—
៣.αž‡αŸ†αž–αžΆαž€αŸ‹αž™αžΌαžšαžαŸ‚
αžœαžΆαž“αžΉαž„αž˜αžΆαž“αž…αž›αž“αžΆαž’αž€αŸ’αžŸαžšαžšαžαŸ‹αžαžΆαž„αž›αžΎπŸ˜±πŸ˜±πŸ˜±
ៀ.αž‚αŸ’αžšαž”αŸ‹αž‚αŸ’αžšαž„αžœαž·αž€αŸ’αž€αž™αž”αžαŸ’αžš
αŸ₯.........
❀2πŸ‘1
αžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž”αž„αŸ—αžαŸ’αžšαžΌαžœαž€αžΆαžšαž†αžΆαžαž˜αž€αž”αžΆαž“αžαŸ’αžšαžΉαž˜αž€αžΆαž αŸ’αžœαŸ
Forwarded from αž”αŸŠαž»αž“ αž’αžΈαž˜
Sub FastPasteCE_Optimized()
    ' αž”αž·αž‘αž€αžΆαžš Refresh αž’αŸαž€αŸ’αžšαž„αŸ‹αž‡αžΆαž”αžŽαŸ’αžαŸ„αŸ‡αž’αžΆαžŸαž“αŸ’αž“αžŠαžΎαž˜αŸ’αž”αžΈαž±αŸ’αž™αž€αžΌαžŠαžšαžαŸ‹αž›αžΏαž“αž‡αžΆαž„αž˜αž»αž“
    Optimization = True
    
    Dim sCurve As Shape, sBmp As Shape, sNew As Shape
    
    If ActiveSelection.Shapes.Count < 2 Then 
        MsgBox "αžŸαžΌαž˜αž‡αŸ’αžšαžΎαžŸαžšαžΎαžŸ Curve αž˜αž½αž™ αž“αž·αž„ Bitmap αž•αŸ’αžŸαŸαž„αŸ—αž‘αŸ€αž!"
        Exit Sub
    End If

    Set sCurve = ActiveSelection.Shapes(1)
    
    For Each sBmp In ActiveSelection.Shapes
        If sBmp.StaticID <> sCurve.StaticID Then
            Set sNew = sCurve.Duplicate
            ' C αž“αž·αž„ E (Center alignment)
            sNew.CenterX = sBmp.CenterX
            sNew.CenterY = sBmp.CenterY
            sNew.OrderToFront
        End If
    Next sBmp
    
    ' αž”αžΎαž€αž€αžΆαžš Refresh αžœαž·αž‰αž“αŸ…αž–αŸαž›αž…αž”αŸ‹αž€αžΆαžšαž„αžΆαžš
    Optimization = False
    ActiveWindow.Refresh
End Sub
Sub FastPasteCE_AutoRotate()
' Disable screen updates to increase execution speed
Optimization = True

Dim sCurve As Shape, sBmp As Shape, sNew As Shape
Dim isCurveHorizontal As Boolean

' Check if at least two objects are selected
If ActiveSelection.Shapes.Count < 2 Then
MsgBox "Please select one Curve first, then select your Bitmaps!"
Optimization = False
Exit Sub
End If

' Set the first selected object as the Master Curve
Set sCurve = ActiveSelection.Shapes(1)

' Determine if the Master Curve is Horizontal or Vertical
isCurveHorizontal = (sCurve.SizeWidth > sCurve.SizeHeight)

For Each sBmp In ActiveSelection.Shapes
' Avoid duplicating the master curve onto itself
If sBmp.StaticID <> sCurve.StaticID Then
Set sNew = sCurve.Duplicate

' Check Bitmap orientation: If it differs from the Curve, rotate 90 degrees
If (sBmp.SizeWidth > sBmp.SizeHeight) <> isCurveHorizontal Then
sNew.Rotate 90
End If

' C and E: Align center horizontally and vertically
sNew.CenterX = sBmp.CenterX
sNew.CenterY = sBmp.CenterY

' Bring the new curve to the front layer
sNew.OrderToFront
End If
Next sBmp

' Re-enable optimization and refresh the screen immediately
Optimization = False
ActiveWindow.Refresh
Application.Refresh ' <--- This is the command you asked for
End Sub
αž˜αžΎαž›αžœαžΎαžŸαž·αž“ αžαžΌαžšαŸαž›αžŠαŸ’αžš 2026 αž˜αŸ’αžŠαž„αžαžΆαž”αŸ‰αž»αž“αŸ’αž˜αžΆαž“αžŠαŸ‚αžš
αž—αžΆαž–αž†αŸ’αž›αžΆαžαžœαŸƒαž“αŸƒαžαžΌαžšαŸαž›αžŠαŸ’αžšαŸ’αŸ αŸ’αŸ¦ αž‘αžΆαž‰αž™αž€αž“αŸ…αž‘αžΈαž“αŸαŸ‡
This media is not supported in your browser
VIEW IN TELEGRAM
αžαžΌαžšαŸαž›αžŠαŸ’αžš ្០្៦ αžœαžΎαžŸαž·αž“ ្៧ αž˜αŸ’αž™αŸ‰αžΆαž„αžŠαŸ‚αžš αž”αŸ‰αž»αž“αŸ’αžŠαŸ‚αžαŸ’αž‰αž»αŸ†αž”αžΆαž“αž…αžΆαž”αŸ‹αž’αžΆαžšαž˜αŸ’αž˜αžŽαŸαžαžΆ αžœαžΆαžŠαžΎαžšαžŸαŸ’αžšαž½αž›αžŸαŸ’αžšαžΆαž›αž‡αžΆαž˜αž»αž“

' Place this at the top of the module to store the curve in memory
Public GlobalCurve As Shape

Sub SmartCurvePaste()
Dim sld As ShapeRange
Dim target As Shape, sNew As Shape

' Get the current selection
Set sld = ActiveSelectionRange

' STEP 1: If only 1 object is selected, treat it as the Master Curve to be copied
If sld.Count = 1 Then
Set GlobalCurve = sld.Shapes(1)
MsgBox "Curve stored in memory! Now select your target Bitmaps or Groups and run this macro again.", vbInformation
Exit Sub
End If

' STEP 2: If multiple objects are selected, perform the paste and align logic
If GlobalCurve Is Nothing Then
MsgBox "Please select a single Master Curve first to store it!", vbExclamation
Exit Sub
End If

' Optimization: Disable screen refresh for faster execution
Optimization = True

For Each target In sld
' Avoid duplicating the Master Curve onto itself if it's part of the selection
If target.StaticID <> GlobalCurve.StaticID Then
' Create a duplicate of the stored curve
Set sNew = GlobalCurve.Duplicate

' C and E: Align to the exact center of the target (Works for Groups too)
sNew.CenterX = target.CenterX
sNew.CenterY = target.CenterY

' Match Rotation: Matches the target's angle (e.g., 0.5Β°, 45Β°, or 90Β°)
sNew.RotationAngle = target.RotationAngle

' Move to the front of the stacking order
sNew.OrderToFront
End If
Next target

' Re-enable optimization and force an immediate screen redraw
Optimization = False
ActiveWindow.Refresh
Application.Refresh
End Sub
Media is too big
VIEW IN TELEGRAM
αžšαž”αŸ€αž”αžŠαžΆαž€αŸ‹ Curve αž’αŸ„αž™αž‘αŸ… Bitmap or Group File αž€αŸ’αž“αž»αž„αž€αž˜αŸ’αž˜αžœαž·αž’αžΈ αžαžΌαžšαŸαž›αžŠαŸ’αžš πŸ§‹
αž‘αžΆαž‰αž™αž€αž”αžΆαž“αž“αžΌαžœαž‘αžΈαž“αŸαŸ‡